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.00127/0.00127, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 194.9 kB / 16.53 MB, free: 6.391 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.341/1.341, allocations: 222.9 MB / 240.2 MB, free: 4.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002477/0.002477, allocations: 283 kB / 290.7 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.014/1.014, allocations: 178.6 MB / 0.5073 GB, free: 4.574 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002693/0.002693, allocations: 99.44 kB / 0.6065 GB, free: 24.69 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1443, allocations: 89.14 MB / 0.6936 GB, free: 4.238 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirDerivativeCheck): time 0.002302/0.1467, allocations: 1.32 MB / 0.6949 GB, free: 2.914 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3923/0.539, allocations: 148.1 MB / 0.8395 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.425e-05/0.5391, allocations: 0 / 0.8395 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.474e-05/0.5391, allocations: 7.922 kB / 0.8395 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 8.488e-05/0.5392, allocations: 10.55 kB / 0.8395 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009302/0.5402, allocations: 325.7 kB / 0.8398 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.464e-05/0.5403, allocations: 68.88 kB / 0.8399 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.221e-05/0.5403, allocations: 2.281 kB / 0.8399 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.39e-05/0.5404, allocations: 31.41 kB / 0.8399 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 8.544e-05/0.5404, allocations: 37.36 kB / 0.84 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.5405, allocations: 2.156 kB / 0.84 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007973/0.5413, allocations: 405.6 kB / 0.8404 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.88e-05/0.5413, allocations: 20.94 kB / 0.8404 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.437e-05/0.5414, allocations: 31.64 kB / 0.8404 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003035/0.5417, allocations: 162.2 kB / 0.8406 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.5417, allocations: 0 / 0.8406 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.072e-06/0.5417, allocations: 0 / 0.8406 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.5417, allocations: 0 / 0.8406 GB, free: 11.77 MB / 0.5762 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.0004492/0.5422, allocations: 397.7 kB / 0.8409 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.109e-05/0.5422, allocations: 9.344 kB / 0.8409 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.947e-05/0.5423, allocations: 38.03 kB / 0.841 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000389/0.5427, allocations: 34.62 kB / 0.841 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.5428, allocations: 166 kB / 0.8412 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.5428, allocations: 14.12 kB / 0.8412 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.141e-05/0.5428, allocations: 16.06 kB / 0.8412 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.543, allocations: 67.81 kB / 0.8413 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.543, allocations: 3.984 kB / 0.8413 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.543, allocations: 6.719 kB / 0.8413 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/0.543, allocations: 3.984 kB / 0.8413 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.357e-05/0.5431, allocations: 43.38 kB / 0.8413 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002098/0.5434, allocations: 193.6 kB / 0.8415 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001688/0.5435, allocations: 93.06 kB / 0.8416 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.353e-05/0.5436, allocations: 30.33 kB / 0.8416 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002426/0.5438, allocations: 180.8 kB / 0.8418 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.333e-05/0.5439, allocations: 40 kB / 0.8418 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=12): time 1.172e-06/0.5439, allocations: 3.938 kB / 0.8418 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of matching and sorting (n=19): time 0.001272/0.5452, allocations: 0.545 MB / 0.8424 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.5452, allocations: 56.84 kB / 0.8424 GB, free: 10 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.328e-05/0.5453, allocations: 96.39 kB / 0.8425 GB, free: 9.898 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.88e-05/0.5453, allocations: 31.92 kB / 0.8425 GB, free: 9.863 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.525e-05/0.5454, allocations: 86.11 kB / 0.8426 GB, free: 9.777 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.255e-05/0.5454, allocations: 70.7 kB / 0.8427 GB, free: 9.715 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.018e-05/0.5455, allocations: 43.52 kB / 0.8427 GB, free: 9.68 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.5456, allocations: 316 kB / 0.843 GB, free: 9.363 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.427e-05/0.5457, allocations: 37.78 kB / 0.8431 GB, free: 9.348 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.686e-05/0.5458, allocations: 80.72 kB / 0.8432 GB, free: 9.285 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001502/0.546, allocations: 112 kB / 0.8433 GB, free: 9.215 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.546, allocations: 1.156 kB / 0.8433 GB, free: 9.215 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002194/0.5462, allocations: 155.1 kB / 0.8434 GB, free: 9.129 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.5462, allocations: 6.406 kB / 0.8434 GB, free: 9.129 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.5462, allocations: 0 / 0.8434 GB, free: 9.129 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.5462, allocations: 5.594 kB / 0.8434 GB, free: 9.125 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001701/0.5464, allocations: 44.05 kB / 0.8435 GB, free: 9.113 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.5464, allocations: 1.344 kB / 0.8435 GB, free: 9.113 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.026e-05/0.5465, allocations: 10.59 kB / 0.8435 GB, free: 9.105 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.5465, allocations: 7.062 kB / 0.8435 GB, free: 9.105 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 9.676e-05/0.5466, allocations: 126.5 kB / 0.8436 GB, free: 8.977 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.038e-05/0.5466, allocations: 5.5 kB / 0.8436 GB, free: 8.977 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.459e-05/0.5467, allocations: 16.44 kB / 0.8436 GB, free: 8.965 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.5467, allocations: 4.688 kB / 0.8436 GB, free: 8.965 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.5467, allocations: 4 kB / 0.8436 GB, free: 8.961 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.87e-06/0.5467, allocations: 3.938 kB / 0.8436 GB, free: 8.957 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001714/0.5469, allocations: 188.9 kB / 0.8438 GB, free: 8.742 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.5469, allocations: 1.375 kB / 0.8438 GB, free: 8.742 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001845/0.5471, allocations: 42.17 kB / 0.8439 GB, free: 8.73 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/0.5471, allocations: 1.375 kB / 0.8439 GB, free: 8.73 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.5471, allocations: 1.375 kB / 0.8439 GB, free: 8.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/0.5471, allocations: 3.984 kB / 0.8439 GB, free: 8.727 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.5471, allocations: 5.312 kB / 0.8439 GB, free: 8.723 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002962/0.5474, allocations: 212.8 kB / 0.8441 GB, free: 8.582 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.314e-05/0.5475, allocations: 86.59 kB / 0.8442 GB, free: 8.484 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.329e-05/0.5475, allocations: 5.438 kB / 0.8442 GB, free: 8.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001256/0.5477, allocations: 14.23 kB / 0.8442 GB, free: 8.473 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.697e-05/0.5477, allocations: 13.42 kB / 0.8442 GB, free: 8.465 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.5477, allocations: 4.125 kB / 0.8442 GB, free: 8.465 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.851e-05/0.5478, allocations: 82.03 kB / 0.8443 GB, free: 8.387 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.873e-06/0.5478, allocations: 96 / 0.8443 GB, free: 8.387 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002143/0.548, allocations: 37.88 kB / 0.8443 GB, free: 8.371 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.0005823/0.5486, allocations: 0.7433 MB / 0.845 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002148/0.5488, allocations: 116.9 kB / 0.8451 GB, free: 7.656 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.5488, allocations: 5.125 kB / 0.8451 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 7.601e-05/0.5489, allocations: 58 kB / 0.8452 GB, free: 7.629 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002386/0.5491, allocations: 20.08 kB / 0.8452 GB, free: 7.617 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001916/0.5511, allocations: 1.818 MB / 0.847 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/0.5514, allocations: 0.7006 MB / 0.8477 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001277/0.5515, allocations: 27.5 kB / 0.8477 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.578e-05/0.5516, allocations: 23.69 kB / 0.8477 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of SimCode: time 2.3e-07/0.5516, allocations: 0 / 0.8477 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02547/0.5771, allocations: 2.389 MB / 0.8501 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.392/8.969, allocations: 10.81 kB / 0.8501 GB, free: 4.016 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)