Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Media.Examples.AirDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.AirDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_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.001145/0.001145, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001141/0.001141, allocations: 190.5 kB / 16.25 MB, free: 6.582 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.206/1.206, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001916/0.001915, allocations: 282.8 kB / 290.3 MB, free: 2.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8543/0.8543, allocations: 169.2 MB / 0.4978 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001593/0.001593, allocations: 88.58 kB / 0.5948 GB, free: 28.28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1258, allocations: 86.99 MB / 0.6797 GB, free: 0.9609 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirDerivativeCheck): time 0.00215/0.128, allocations: 1.38 MB / 0.6811 GB, free: 15.58 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3692/0.4972, allocations: 145.9 MB / 0.8236 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.407e-05/0.4973, allocations: 0 / 0.8236 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.224e-05/0.4973, allocations: 10.59 kB / 0.8236 GB, free: 0.5156 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.807e-05/0.4975, allocations: 14.3 kB / 0.8236 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001021/0.4985, allocations: 303 kB / 0.8239 GB, free: 464 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001165/0.4986, allocations: 66 kB / 0.824 GB, free: 456 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.553e-05/0.4987, allocations: 2.312 kB / 0.824 GB, free: 456 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.466e-05/0.4987, allocations: 31.27 kB / 0.824 GB, free: 452 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.566e-05/0.4988, allocations: 39.44 kB / 0.824 GB, free: 444 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.288e-05/0.4988, allocations: 2.969 kB / 0.824 GB, free: 444 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008995/0.4997, allocations: 443.7 kB / 0.8245 GB, free: 380 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.503e-05/0.4998, allocations: 18.34 kB / 0.8245 GB, free: 380 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.34e-05/0.4998, allocations: 27.69 kB / 0.8245 GB, free: 372 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003394/0.5002, allocations: 192 kB / 0.8247 GB, free: 344 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.5002, allocations: 0 / 0.8247 GB, free: 344 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.102e-06/0.5002, allocations: 0 / 0.8247 GB, free: 344 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.5002, allocations: 0 / 0.8247 GB, free: 344 kB / 0.5606 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.000389/0.5006, allocations: 384.1 kB / 0.8251 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.5007, allocations: 13.06 kB / 0.8251 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.68e-05/0.5007, allocations: 33.97 kB / 0.8251 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000369/0.5011, allocations: 42.19 kB / 0.8251 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.5012, allocations: 165.3 kB / 0.8253 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.5012, allocations: 9.688 kB / 0.8253 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.461e-05/0.5013, allocations: 13.56 kB / 0.8253 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.5014, allocations: 82.05 kB / 0.8254 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.5014, allocations: 4.469 kB / 0.8254 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.5014, allocations: 4.5 kB / 0.8254 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.5015, allocations: 6.094 kB / 0.8254 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.067e-05/0.5015, allocations: 45.11 kB / 0.8255 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001976/0.5017, allocations: 185.9 kB / 0.8256 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/0.5019, allocations: 90.98 kB / 0.8257 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.475e-05/0.5019, allocations: 33.05 kB / 0.8257 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002002/0.5022, allocations: 180 kB / 0.8259 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/0.5022, allocations: 33.25 kB / 0.826 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=12): time 1.122e-06/0.5022, allocations: 0 / 0.826 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of matching and sorting (n=19): time 0.001127/0.5033, allocations: 0.5439 MB / 0.8265 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.411e-05/0.5034, allocations: 53.62 kB / 0.8265 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.989e-05/0.5034, allocations: 97.39 kB / 0.8266 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.5034, allocations: 33.67 kB / 0.8267 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.887e-05/0.5035, allocations: 87.67 kB / 0.8267 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.027e-05/0.5035, allocations: 67.77 kB / 0.8268 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.706e-05/0.5036, allocations: 36 kB / 0.8268 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.5038, allocations: 323.5 kB / 0.8271 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.473e-05/0.5038, allocations: 37.98 kB / 0.8272 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.434e-05/0.5039, allocations: 68.58 kB / 0.8273 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002243/0.5041, allocations: 118.2 kB / 0.8274 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.5041, allocations: 3.938 kB / 0.8274 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001867/0.5043, allocations: 149.8 kB / 0.8275 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.5044, allocations: 11 kB / 0.8275 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.5044, allocations: 1.062 kB / 0.8275 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.5044, allocations: 4.938 kB / 0.8275 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/0.5045, allocations: 42.42 kB / 0.8276 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.5046, allocations: 2.156 kB / 0.8276 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.217e-05/0.5046, allocations: 9.938 kB / 0.8276 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.789e-06/0.5046, allocations: 5.438 kB / 0.8276 GB, free: 14.16 MB / 0.5762 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 7.619e-05/0.5047, allocations: 123.7 kB / 0.8277 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.99e-05/0.5047, allocations: 8.156 kB / 0.8277 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.759e-05/0.5048, allocations: 23.34 kB / 0.8277 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.5048, allocations: 2.438 kB / 0.8277 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.5048, allocations: 0 / 0.8277 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.5048, allocations: 5.062 kB / 0.8277 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001482/0.5049, allocations: 192 kB / 0.8279 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.505, allocations: 3.875 kB / 0.8279 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001773/0.5051, allocations: 36.52 kB / 0.828 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.5051, allocations: 1 kB / 0.828 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.5052, allocations: 1.312 kB / 0.828 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.5052, allocations: 3.047 kB / 0.828 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.5052, allocations: 11.88 kB / 0.828 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002594/0.5054, allocations: 216.4 kB / 0.8282 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.286e-05/0.5055, allocations: 92.44 kB / 0.8283 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.5055, allocations: 4.656 kB / 0.8283 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.5057, allocations: 9.297 kB / 0.8283 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.198e-05/0.5057, allocations: 12.17 kB / 0.8283 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.5057, allocations: 8.031 kB / 0.8283 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 2.952e-05/0.5057, allocations: 83.8 kB / 0.8284 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.5057, allocations: 0 / 0.8284 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002018/0.5059, allocations: 28.16 kB / 0.8284 GB, free: 13.57 MB / 0.5762 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.0004909/0.5064, allocations: 0.7524 MB / 0.8291 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00019/0.5066, allocations: 119.2 kB / 0.8293 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.5067, allocations: 1.125 kB / 0.8293 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 6.405e-05/0.5067, allocations: 52.16 kB / 0.8293 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002267/0.507, allocations: 18.41 kB / 0.8293 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001688/0.5087, allocations: 1.848 MB / 0.8311 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000244/0.5089, allocations: 0.7013 MB / 0.8318 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001212/0.509, allocations: 21.09 kB / 0.8318 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.973e-05/0.5091, allocations: 27.02 kB / 0.8319 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of SimCode: time 2.2e-07/0.5091, allocations: 1.031 kB / 0.8319 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2671/0.7762, allocations: 2.316 MB / 0.8341 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000242/0.7765, allocations: 203.1 kB / 0.8343 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.971/2.748, allocations: 0 / 0.8343 GB, free: 10.23 MB / 0.5762 GB (rm -f BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_AirDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Media_Examples_AirDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe 2>&1)