Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 112.1 kB / 17.54 MB, free: 4.738 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 186.7 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.315/1.315, allocations: 225.6 MB / 249.3 MB, free: 3.184 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9775/0.9775, allocations: 175.7 MB / 480.1 MB, free: 2.824 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.AirDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00181/0.00181, allocations: 63.41 kB / 0.6677 GB, free: 11 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.1588, allocations: 94.53 MB / 0.76 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.002115/0.1609, allocations: 1.33 MB / 0.7613 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4881/0.6491, allocations: 148.6 MB / 0.9064 GB, free: 7.027 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.904e-05/0.6491, allocations: 0 / 0.9064 GB, free: 7.027 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.91e-05/0.6492, allocations: 7.75 kB / 0.9064 GB, free: 7.023 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.000113/0.6493, allocations: 12.27 kB / 0.9064 GB, free: 7.016 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009441/0.6502, allocations: 336.6 kB / 0.9068 GB, free: 6.895 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001157/0.6503, allocations: 69.89 kB / 0.9068 GB, free: 6.879 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.196e-05/0.6504, allocations: 5.469 kB / 0.9068 GB, free: 6.879 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 5.104e-05/0.6504, allocations: 31.59 kB / 0.9069 GB, free: 6.871 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.6505, allocations: 43.16 kB / 0.9069 GB, free: 6.855 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.6506, allocations: 2.562 kB / 0.9069 GB, free: 6.855 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00086/0.6514, allocations: 430.7 kB / 0.9073 GB, free: 6.746 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.753e-05/0.6515, allocations: 20.69 kB / 0.9073 GB, free: 6.738 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.544e-05/0.6515, allocations: 30.38 kB / 0.9074 GB, free: 6.73 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003099/0.6518, allocations: 167.2 kB / 0.9075 GB, free: 6.695 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.6518, allocations: 0 / 0.9075 GB, free: 6.695 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.232e-06/0.6518, allocations: 0 / 0.9075 GB, free: 6.695 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.6518, allocations: 1.25 kB / 0.9075 GB, free: 6.695 MB / 0.6544 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.0004665/0.6523, allocations: 388.6 kB / 0.9079 GB, free: 6.316 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.6523, allocations: 10.5 kB / 0.9079 GB, free: 6.316 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.141e-05/0.6524, allocations: 38.69 kB / 0.9079 GB, free: 6.277 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003632/0.6527, allocations: 38.81 kB / 0.908 GB, free: 6.273 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.6529, allocations: 167.1 kB / 0.9081 GB, free: 6.074 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.6529, allocations: 11 kB / 0.9081 GB, free: 6.07 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.858e-05/0.6529, allocations: 8.688 kB / 0.9082 GB, free: 6.07 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.6531, allocations: 82 kB / 0.9082 GB, free: 6.031 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.585e-06/0.6531, allocations: 4 kB / 0.9082 GB, free: 6.027 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.6531, allocations: 1.344 kB / 0.9082 GB, free: 6.027 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.6531, allocations: 1.375 kB / 0.9082 GB, free: 6.027 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.347e-05/0.6532, allocations: 53.48 kB / 0.9083 GB, free: 6.023 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002027/0.6534, allocations: 184.3 kB / 0.9085 GB, free: 5.828 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001679/0.6535, allocations: 85.62 kB / 0.9086 GB, free: 5.801 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.985e-05/0.6536, allocations: 37.42 kB / 0.9086 GB, free: 5.785 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002267/0.6538, allocations: 181 kB / 0.9088 GB, free: 5.594 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.434e-05/0.6538, allocations: 30.56 kB / 0.9088 GB, free: 5.555 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=12): time 1.122e-06/0.6538, allocations: 2.156 kB / 0.9088 GB, free: 5.555 MB / 0.6544 GB Notification: Performance of matching and sorting (n=19): time 0.001198/0.655, allocations: 0.5399 MB / 0.9093 GB, free: 5.277 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.074e-05/0.6551, allocations: 58.09 kB / 0.9094 GB, free: 5.211 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.727e-05/0.6552, allocations: 98.42 kB / 0.9095 GB, free: 5.109 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.6552, allocations: 30.77 kB / 0.9095 GB, free: 5.078 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.671e-05/0.6552, allocations: 85.08 kB / 0.9096 GB, free: 4.996 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.844e-05/0.6553, allocations: 79.97 kB / 0.9097 GB, free: 4.941 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.134e-05/0.6553, allocations: 37.12 kB / 0.9097 GB, free: 4.926 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.6555, allocations: 320.3 kB / 0.91 GB, free: 4.613 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.75e-05/0.6555, allocations: 34.94 kB / 0.91 GB, free: 4.613 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.904e-05/0.6556, allocations: 73.84 kB / 0.9101 GB, free: 4.578 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001397/0.6557, allocations: 124.5 kB / 0.9102 GB, free: 4.539 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.6557, allocations: 0 / 0.9102 GB, free: 4.539 MB / 0.6544 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001951/0.6559, allocations: 156 kB / 0.9104 GB, free: 4.496 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.6559, allocations: 11 kB / 0.9104 GB, free: 4.492 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.656, allocations: 0 / 0.9104 GB, free: 4.492 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.656, allocations: 2.75 kB / 0.9104 GB, free: 4.492 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001568/0.6561, allocations: 39.59 kB / 0.9104 GB, free: 4.488 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.6561, allocations: 4 kB / 0.9104 GB, free: 4.488 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.363e-05/0.6562, allocations: 8.875 kB / 0.9104 GB, free: 4.484 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.6562, allocations: 5.5 kB / 0.9104 GB, free: 4.484 MB / 0.6544 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.731e-05/0.6563, allocations: 126.2 kB / 0.9106 GB, free: 4.363 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.283e-05/0.6563, allocations: 8.078 kB / 0.9106 GB, free: 4.359 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.332e-05/0.6564, allocations: 19.56 kB / 0.9106 GB, free: 4.355 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.6564, allocations: 3.812 kB / 0.9106 GB, free: 4.355 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.6564, allocations: 1.375 kB / 0.9106 GB, free: 4.355 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.6564, allocations: 3.938 kB / 0.9106 GB, free: 4.352 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001787/0.6565, allocations: 190 kB / 0.9108 GB, free: 4.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.6565, allocations: 0 / 0.9108 GB, free: 4.16 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001925/0.6567, allocations: 45.5 kB / 0.9108 GB, free: 4.156 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.6567, allocations: 5.375 kB / 0.9108 GB, free: 4.152 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.6568, allocations: 1.375 kB / 0.9108 GB, free: 4.152 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.6568, allocations: 0 / 0.9108 GB, free: 4.152 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.6568, allocations: 1.375 kB / 0.9108 GB, free: 4.152 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002705/0.657, allocations: 209.4 kB / 0.911 GB, free: 4.078 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.529e-05/0.6571, allocations: 91.61 kB / 0.9111 GB, free: 3.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.73e-05/0.6571, allocations: 11.81 kB / 0.9111 GB, free: 3.977 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/0.6572, allocations: 8.062 kB / 0.9111 GB, free: 3.977 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.471e-05/0.6573, allocations: 16.06 kB / 0.9111 GB, free: 3.969 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.495e-05/0.6573, allocations: 14.17 kB / 0.9112 GB, free: 3.965 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.403e-05/0.6573, allocations: 77.56 kB / 0.9112 GB, free: 3.891 MB / 0.6544 GB Notification: Performance of sort global known variables: time 8e-08/0.6573, allocations: 0 / 0.9112 GB, free: 3.891 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002032/0.6575, allocations: 25.28 kB / 0.9113 GB, free: 3.891 MB / 0.6544 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.0005687/0.6581, allocations: 0.7502 MB / 0.912 GB, free: 3.281 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001775/0.6583, allocations: 102.6 kB / 0.9121 GB, free: 3.273 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.6583, allocations: 0 / 0.9121 GB, free: 3.273 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 6.413e-05/0.6583, allocations: 50.98 kB / 0.9121 GB, free: 3.27 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002203/0.6586, allocations: 20.12 kB / 0.9122 GB, free: 3.266 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001817/0.6604, allocations: 1.826 MB / 0.9139 GB, free: 1.855 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003094/0.6607, allocations: 0.7029 MB / 0.9146 GB, free: 1.156 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 9.146e-05/0.6608, allocations: 25.62 kB / 0.9146 GB, free: 1.148 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.809e-05/0.6608, allocations: 24.94 kB / 0.9147 GB, free: 1.141 MB / 0.6544 GB Notification: Performance of SimCode: time 3.1e-07/0.6608, allocations: 0 / 0.9147 GB, free: 1.141 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0264/0.6872, allocations: 2.427 MB / 0.917 GB, free: 15.89 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.113/7.8, allocations: 10.5 kB / 0.9171 GB, free: 15.89 MB / 0.67 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_AirDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Media_Examples_AirDerivativeCheck.fmu > IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.190751636007917]