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.006104/0.006105, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001558/0.001558, allocations: 188.9 kB / 16.67 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.378/1.378, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.738/0.738, allocations: 132.2 MB / 422.7 MB, free: 1.738 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001235, allocations: 71.02 kB / 0.5808 GB, free: 1.137 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1769/0.1782, allocations: 80.2 MB / 0.6592 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.002297/0.1805, allocations: 1.338 MB / 0.6605 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1645/0.345, allocations: 148.1 MB / 0.8051 GB, free: 7.984 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.44e-05/0.3452, allocations: 4 kB / 0.8051 GB, free: 7.98 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 5.837e-05/0.3452, allocations: 0 / 0.8051 GB, free: 7.98 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0001457/0.3454, allocations: 15.86 kB / 0.8051 GB, free: 7.965 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00118/0.3466, allocations: 322.6 kB / 0.8054 GB, free: 7.648 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001289/0.3468, allocations: 67.75 kB / 0.8055 GB, free: 7.582 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 4.659e-05/0.3468, allocations: 4 kB / 0.8055 GB, free: 7.578 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 4.792e-05/0.3469, allocations: 31.91 kB / 0.8055 GB, free: 7.547 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001071/0.347, allocations: 39.83 kB / 0.8056 GB, free: 7.508 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.314e-05/0.347, allocations: 3.938 kB / 0.8056 GB, free: 7.504 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008324/0.3478, allocations: 406.8 kB / 0.806 GB, free: 7.105 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 5.873e-05/0.3479, allocations: 15.97 kB / 0.806 GB, free: 7.09 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 4.999e-05/0.348, allocations: 27.86 kB / 0.806 GB, free: 7.062 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0003343/0.3483, allocations: 159.4 kB / 0.8061 GB, free: 6.91 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.3483, allocations: 4 kB / 0.8061 GB, free: 6.906 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3483, allocations: 0 / 0.8061 GB, free: 6.906 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.181e-06/0.3483, allocations: 0 / 0.8061 GB, free: 6.906 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.0005609/0.3489, allocations: 391.3 kB / 0.8065 GB, free: 6.477 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.349, allocations: 8.031 kB / 0.8065 GB, free: 6.469 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.588e-05/0.349, allocations: 42.69 kB / 0.8066 GB, free: 6.418 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004091/0.3494, allocations: 36.89 kB / 0.8066 GB, free: 6.383 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.3495, allocations: 176.1 kB / 0.8068 GB, free: 6.172 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.3496, allocations: 0 / 0.8068 GB, free: 6.172 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.385e-05/0.3496, allocations: 15.91 kB / 0.8068 GB, free: 6.156 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001683/0.3498, allocations: 77.64 kB / 0.8069 GB, free: 6.074 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.3498, allocations: 0 / 0.8069 GB, free: 6.074 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.638e-05/0.3498, allocations: 4 kB / 0.8069 GB, free: 6.07 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.3498, allocations: 4 kB / 0.8069 GB, free: 6.066 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.752e-05/0.3499, allocations: 43.89 kB / 0.8069 GB, free: 6.023 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002063/0.3501, allocations: 185.6 kB / 0.8071 GB, free: 5.793 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001956/0.3503, allocations: 94.73 kB / 0.8072 GB, free: 5.691 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.488e-05/0.3504, allocations: 32.84 kB / 0.8072 GB, free: 5.656 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002656/0.3507, allocations: 178.2 kB / 0.8074 GB, free: 5.445 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.3507, allocations: 34.5 kB / 0.8074 GB, free: 5.402 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=12): time 1.393e-06/0.3507, allocations: 4 kB / 0.8074 GB, free: 5.398 MB / 0.6387 GB Notification: Performance of matching and sorting (n=19): time 0.001435/0.3522, allocations: 0.5491 MB / 0.808 GB, free: 4.801 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.67e-05/0.3522, allocations: 59.41 kB / 0.808 GB, free: 4.73 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.182e-05/0.3523, allocations: 97.8 kB / 0.8081 GB, free: 4.625 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.485e-05/0.3523, allocations: 33.7 kB / 0.8081 GB, free: 4.586 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 4.644e-05/0.3524, allocations: 80.52 kB / 0.8082 GB, free: 4.504 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 6.858e-05/0.3525, allocations: 71 kB / 0.8083 GB, free: 4.434 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.93e-05/0.3525, allocations: 37.7 kB / 0.8083 GB, free: 4.391 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000166/0.3527, allocations: 318.8 kB / 0.8086 GB, free: 4.07 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.608e-05/0.3528, allocations: 35.97 kB / 0.8087 GB, free: 4.035 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.807e-05/0.3529, allocations: 75.47 kB / 0.8087 GB, free: 3.949 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001753/0.3531, allocations: 115.4 kB / 0.8088 GB, free: 3.824 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.3531, allocations: 0 / 0.8088 GB, free: 3.824 MB / 0.6387 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002234/0.3533, allocations: 157.5 kB / 0.809 GB, free: 3.664 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.3533, allocations: 4 kB / 0.809 GB, free: 3.66 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.3534, allocations: 0 / 0.809 GB, free: 3.66 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.3534, allocations: 7.938 kB / 0.809 GB, free: 3.652 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001839/0.3536, allocations: 39.92 kB / 0.809 GB, free: 3.613 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.3536, allocations: 7.938 kB / 0.809 GB, free: 3.605 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.521e-05/0.3536, allocations: 8 kB / 0.8091 GB, free: 3.598 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.528e-05/0.3537, allocations: 8 kB / 0.8091 GB, free: 3.59 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 9.717e-05/0.3538, allocations: 122.4 kB / 0.8092 GB, free: 3.461 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.292e-05/0.3538, allocations: 7.906 kB / 0.8092 GB, free: 3.453 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.212e-05/0.3539, allocations: 20.44 kB / 0.8092 GB, free: 3.43 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.3539, allocations: 0 / 0.8092 GB, free: 3.43 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.3539, allocations: 3.938 kB / 0.8092 GB, free: 3.426 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.3539, allocations: 0 / 0.8092 GB, free: 3.426 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001791/0.3541, allocations: 197.6 kB / 0.8094 GB, free: 3.184 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.3541, allocations: 0 / 0.8094 GB, free: 3.184 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001972/0.3543, allocations: 35.98 kB / 0.8094 GB, free: 3.148 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.3543, allocations: 0 / 0.8094 GB, free: 3.148 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.3543, allocations: 15.92 kB / 0.8094 GB, free: 3.133 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3543, allocations: 0 / 0.8094 GB, free: 3.133 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.3543, allocations: 3.938 kB / 0.8094 GB, free: 3.129 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003027/0.3546, allocations: 204.9 kB / 0.8096 GB, free: 2.91 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 7.669e-05/0.3547, allocations: 97 kB / 0.8097 GB, free: 2.797 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.158e-05/0.3547, allocations: 4.062 kB / 0.8097 GB, free: 2.793 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/0.3549, allocations: 7.984 kB / 0.8097 GB, free: 2.785 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.978e-05/0.3549, allocations: 15.92 kB / 0.8098 GB, free: 2.77 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.3549, allocations: 4 kB / 0.8098 GB, free: 2.766 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 4.219e-05/0.355, allocations: 79.28 kB / 0.8098 GB, free: 2.688 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.355, allocations: 0 / 0.8098 GB, free: 2.688 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002318/0.3552, allocations: 28 kB / 0.8099 GB, free: 2.66 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.000568/0.3558, allocations: 0.7517 MB / 0.8106 GB, free: 1.879 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0002/0.356, allocations: 104.2 kB / 0.8107 GB, free: 1.777 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.356, allocations: 4 kB / 0.8107 GB, free: 1.773 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 7.783e-05/0.3561, allocations: 55.91 kB / 0.8108 GB, free: 1.719 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002871/0.3564, allocations: 20.09 kB / 0.8108 GB, free: 1.699 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3373/0.6937, allocations: 1.815 MB / 0.8126 GB, free: 156.2 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001765/0.6939, allocations: 0.7015 MB / 0.8132 GB, free: 155.5 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001519/0.6941, allocations: 22.8 kB / 0.8133 GB, free: 155.4 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.921e-05/0.6942, allocations: 25.8 kB / 0.8133 GB, free: 155.4 MB / 0.6387 GB Notification: Performance of SimCode: time 8.51e-07/0.6942, allocations: 0 / 0.8133 GB, free: 155.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02025/0.7144, allocations: 2.438 MB / 0.8157 GB, free: 155.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.698/8.413, allocations: 8.438 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_AirDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Media_Examples_AirDerivativeCheck.fmu > IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.pipe 2>&1)