Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Media.Examples.AirDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.AirDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007463/0.007463, allocations: 95.77 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001778/0.001778, allocations: 198.8 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7736/0.7736, allocations: 132.2 MB / 422.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 62.44 kB / 0.5808 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1508, allocations: 80.21 MB / 0.6592 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.002242/0.1531, allocations: 1.33 MB / 0.6605 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.146/0.2991, allocations: 148.1 MB / 0.8051 GB, free: 7.891 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.587e-05/0.2992, allocations: 0 / 0.8051 GB, free: 7.891 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 3.567e-05/0.2993, allocations: 3.938 kB / 0.8051 GB, free: 7.887 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 8.459e-05/0.2994, allocations: 15.91 kB / 0.8051 GB, free: 7.871 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009519/0.3004, allocations: 342.6 kB / 0.8054 GB, free: 7.535 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 9.853e-05/0.3005, allocations: 59.83 kB / 0.8055 GB, free: 7.477 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 3.037e-05/0.3005, allocations: 0 / 0.8055 GB, free: 7.477 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 3.888e-05/0.3006, allocations: 27.92 kB / 0.8055 GB, free: 7.449 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 9.443e-05/0.3007, allocations: 35.83 kB / 0.8056 GB, free: 7.414 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.059e-05/0.3007, allocations: 11.94 kB / 0.8056 GB, free: 7.402 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007538/0.3014, allocations: 407.2 kB / 0.806 GB, free: 7.004 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 4.541e-05/0.3015, allocations: 15.97 kB / 0.806 GB, free: 6.988 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 4.156e-05/0.3015, allocations: 35.84 kB / 0.806 GB, free: 6.953 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0003007/0.3019, allocations: 155.5 kB / 0.8062 GB, free: 6.801 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.3019, allocations: 0 / 0.8062 GB, free: 6.801 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3019, allocations: 0 / 0.8062 GB, free: 6.801 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.399e-06/0.3019, allocations: 0 / 0.8062 GB, free: 6.801 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004139/0.3023, allocations: 403 kB / 0.8065 GB, free: 6.359 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.3023, allocations: 8.031 kB / 0.8065 GB, free: 6.352 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.516e-05/0.3024, allocations: 34.75 kB / 0.8066 GB, free: 6.309 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003722/0.3028, allocations: 44.83 kB / 0.8066 GB, free: 6.266 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.697e-05/0.3029, allocations: 172.1 kB / 0.8068 GB, free: 6.059 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.3029, allocations: 7.938 kB / 0.8068 GB, free: 6.051 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.394e-05/0.3029, allocations: 8 kB / 0.8068 GB, free: 6.043 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/0.3031, allocations: 77.64 kB / 0.8069 GB, free: 5.961 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.3031, allocations: 4 kB / 0.8069 GB, free: 5.957 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.3031, allocations: 4 kB / 0.8069 GB, free: 5.953 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.3031, allocations: 4 kB / 0.8069 GB, free: 5.949 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.695e-05/0.3032, allocations: 47.89 kB / 0.8069 GB, free: 5.902 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001771/0.3034, allocations: 185.5 kB / 0.8071 GB, free: 5.672 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001606/0.3036, allocations: 97.41 kB / 0.8072 GB, free: 5.57 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.006e-05/0.3036, allocations: 28.84 kB / 0.8072 GB, free: 5.539 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002056/0.3038, allocations: 182.2 kB / 0.8074 GB, free: 5.324 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.3039, allocations: 30.56 kB / 0.8074 GB, free: 5.285 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=12): time 1.243e-06/0.3039, allocations: 0 / 0.8074 GB, free: 5.285 MB / 0.6387 GB Notification: Performance of matching and sorting (n=19): time 0.001192/0.3051, allocations: 0.5553 MB / 0.808 GB, free: 4.68 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.212e-05/0.3051, allocations: 55.41 kB / 0.808 GB, free: 4.613 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.502e-05/0.3052, allocations: 93.8 kB / 0.8081 GB, free: 4.512 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.3052, allocations: 33.7 kB / 0.8082 GB, free: 4.473 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 2.559e-05/0.3052, allocations: 80.52 kB / 0.8082 GB, free: 4.391 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 5.368e-05/0.3053, allocations: 75.38 kB / 0.8083 GB, free: 4.316 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.329e-05/0.3053, allocations: 41.83 kB / 0.8083 GB, free: 4.27 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.06e-05/0.3054, allocations: 318.8 kB / 0.8086 GB, free: 3.949 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.257e-05/0.3055, allocations: 35.97 kB / 0.8087 GB, free: 3.914 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.962e-05/0.3056, allocations: 71.41 kB / 0.8087 GB, free: 3.832 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/0.3057, allocations: 119.3 kB / 0.8089 GB, free: 3.703 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.3058, allocations: 4 kB / 0.8089 GB, free: 3.699 MB / 0.6387 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002151/0.306, allocations: 149.5 kB / 0.809 GB, free: 3.547 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.306, allocations: 4 kB / 0.809 GB, free: 3.543 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.306, allocations: 0 / 0.809 GB, free: 3.543 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.306, allocations: 4 kB / 0.809 GB, free: 3.539 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001607/0.3062, allocations: 43.92 kB / 0.8091 GB, free: 3.496 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.812e-06/0.3062, allocations: 3.938 kB / 0.8091 GB, free: 3.492 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.338e-05/0.3063, allocations: 7.984 kB / 0.8091 GB, free: 3.484 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.405e-05/0.3063, allocations: 11.98 kB / 0.8091 GB, free: 3.473 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.477e-05/0.3064, allocations: 126.4 kB / 0.8092 GB, free: 3.34 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.971e-05/0.3064, allocations: 7.953 kB / 0.8092 GB, free: 3.332 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.078e-05/0.3065, allocations: 20.44 kB / 0.8092 GB, free: 3.309 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.3065, allocations: 0 / 0.8092 GB, free: 3.309 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.3065, allocations: 3.938 kB / 0.8092 GB, free: 3.305 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.3065, allocations: 0 / 0.8092 GB, free: 3.305 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001403/0.3066, allocations: 189.6 kB / 0.8094 GB, free: 3.07 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3066, allocations: 0 / 0.8094 GB, free: 3.07 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001952/0.3068, allocations: 52.03 kB / 0.8095 GB, free: 3.02 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.3068, allocations: 0 / 0.8095 GB, free: 3.02 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.3069, allocations: 7.938 kB / 0.8095 GB, free: 3.012 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.3069, allocations: 4 kB / 0.8095 GB, free: 3.008 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.3069, allocations: 3.938 kB / 0.8095 GB, free: 3.004 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002771/0.3072, allocations: 205 kB / 0.8097 GB, free: 2.785 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 6.425e-05/0.3072, allocations: 89.05 kB / 0.8098 GB, free: 2.68 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.271e-05/0.3073, allocations: 15.98 kB / 0.8098 GB, free: 2.664 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.3074, allocations: 4 kB / 0.8098 GB, free: 2.66 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.512e-05/0.3074, allocations: 15.92 kB / 0.8098 GB, free: 2.645 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.3074, allocations: 8 kB / 0.8098 GB, free: 2.637 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 3.009e-05/0.3075, allocations: 79.28 kB / 0.8099 GB, free: 2.559 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3075, allocations: 3.938 kB / 0.8099 GB, free: 2.555 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002157/0.3077, allocations: 28 kB / 0.8099 GB, free: 2.527 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005205/0.3082, allocations: 0.7437 MB / 0.8106 GB, free: 1.754 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00019/0.3084, allocations: 108.2 kB / 0.8107 GB, free: 1.648 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.3084, allocations: 4 kB / 0.8107 GB, free: 1.645 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 6.927e-05/0.3085, allocations: 51.91 kB / 0.8108 GB, free: 1.594 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002226/0.3087, allocations: 23.14 kB / 0.8108 GB, free: 1.574 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3117/0.6205, allocations: 1.813 MB / 0.8126 GB, free: 156.1 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001507/0.6207, allocations: 0.6977 MB / 0.8133 GB, free: 155.4 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.000193/0.6209, allocations: 22.72 kB / 0.8133 GB, free: 155.4 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.388e-05/0.621, allocations: 25.42 kB / 0.8133 GB, free: 155.4 MB / 0.6387 GB Notification: Performance of SimCode: time 9.22e-07/0.621, allocations: 3.625 kB / 0.8133 GB, free: 155.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02577/0.6468, allocations: 2.416 MB / 0.8157 GB, free: 155.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.325/7.972, allocations: 7.219 kB / 0.8157 GB, free: 155.1 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Media.Examples.AirDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Media_Examples_AirDerivativeCheck.fmu > IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.pipe 2>&1)