Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Examples.AirDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.442/1.442, allocations: 288.4 MB / 303.6 MB, free: 8.117 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009087/0.0009088, allocations: 164.6 kB / 372.2 MB, free: 10.12 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.263/1.263, allocations: 205.4 MB / 0.631 GB, free: 9.895 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000736/0.0007358, allocations: 102.3 kB / 0.7444 GB, free: 5.793 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003938/0.0003939, allocations: 10.84 kB / 0.8675 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.1699, allocations: 115.3 MB / 0.9802 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.001055/0.171, allocations: 1.045 MB / 0.9812 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.4765/0.6475, allocations: 134.5 MB / 1.113 GB, free: 2.734 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.839e-05/0.6476, allocations: 0 / 1.113 GB, free: 2.734 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 3.491e-05/0.6476, allocations: 7.062 kB / 1.113 GB, free: 2.73 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 8.719e-05/0.6477, allocations: 14.47 kB / 1.113 GB, free: 2.727 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006865/0.6484, allocations: 285.6 kB / 1.113 GB, free: 2.672 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 9.109e-05/0.6485, allocations: 71.69 kB / 1.113 GB, free: 2.66 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 3.742e-05/0.6486, allocations: 7.609 kB / 1.113 GB, free: 2.66 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 4.182e-05/0.6486, allocations: 30.72 kB / 1.113 GB, free: 2.656 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 8.438e-05/0.6487, allocations: 38.2 kB / 1.113 GB, free: 2.648 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.189e-05/0.6487, allocations: 2.125 kB / 1.113 GB, free: 2.648 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007499/0.6495, allocations: 485.5 kB / 1.113 GB, free: 2.594 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 4.205e-05/0.6495, allocations: 22.38 kB / 1.113 GB, free: 2.59 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001039/0.6497, allocations: 52.3 kB / 1.113 GB, free: 18.55 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000202/0.6499, allocations: 111.8 kB / 1.114 GB, free: 18.54 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.6499, allocations: 2.094 kB / 1.114 GB, free: 18.54 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.224e-06/0.6499, allocations: 0 / 1.114 GB, free: 18.54 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.6499, allocations: 0 / 1.114 GB, free: 18.54 MB / 0.698 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.0003515/0.6502, allocations: 375.2 kB / 1.114 GB, free: 18.17 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.6503, allocations: 9.031 kB / 1.114 GB, free: 18.17 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.776e-05/0.6503, allocations: 41.59 kB / 1.114 GB, free: 18.12 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003471/0.6507, allocations: 35.06 kB / 1.114 GB, free: 18.12 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.312e-05/0.6508, allocations: 167 kB / 1.114 GB, free: 17.93 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.6508, allocations: 10.12 kB / 1.114 GB, free: 17.92 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.52e-05/0.6508, allocations: 13.67 kB / 1.114 GB, free: 17.92 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.651, allocations: 78.92 kB / 1.114 GB, free: 17.88 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.651, allocations: 0 / 1.114 GB, free: 17.88 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.651, allocations: 4.625 kB / 1.114 GB, free: 17.88 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.651, allocations: 1.375 kB / 1.114 GB, free: 17.88 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.352e-05/0.6511, allocations: 46.09 kB / 1.114 GB, free: 17.88 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001531/0.6513, allocations: 191.3 kB / 1.115 GB, free: 17.68 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001574/0.6514, allocations: 91.02 kB / 1.115 GB, free: 17.66 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.64e-05/0.6515, allocations: 38.61 kB / 1.115 GB, free: 17.64 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001967/0.6517, allocations: 173.5 kB / 1.115 GB, free: 17.46 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/0.6517, allocations: 34.88 kB / 1.115 GB, free: 17.42 MB / 0.698 GB Notification: Performance of pre-optimization done (n=12): time 1.162e-06/0.6517, allocations: 1.375 kB / 1.115 GB, free: 17.42 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.001147/0.6529, allocations: 0.5475 MB / 1.115 GB, free: 17.14 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.022e-05/0.6529, allocations: 54.66 kB / 1.115 GB, free: 17.08 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.069e-05/0.653, allocations: 99.92 kB / 1.116 GB, free: 16.98 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.653, allocations: 30.42 kB / 1.116 GB, free: 16.95 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.277e-05/0.653, allocations: 83.81 kB / 1.116 GB, free: 16.86 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.444e-05/0.6531, allocations: 73.56 kB / 1.116 GB, free: 16.82 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.472e-06/0.6531, allocations: 4.312 kB / 1.116 GB, free: 16.82 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.216e-05/0.6532, allocations: 318.7 kB / 1.116 GB, free: 16.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.097e-05/0.6533, allocations: 33.3 kB / 1.116 GB, free: 16.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.685e-05/0.6533, allocations: 67.44 kB / 1.116 GB, free: 16.47 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001424/0.6535, allocations: 115.6 kB / 1.116 GB, free: 16.43 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.6535, allocations: 0 / 1.116 GB, free: 16.43 MB / 0.698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002291/0.6537, allocations: 163.4 kB / 1.116 GB, free: 16.39 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.6538, allocations: 5.625 kB / 1.116 GB, free: 16.39 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.6538, allocations: 1.438 kB / 1.116 GB, free: 16.39 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.6538, allocations: 1.828 kB / 1.116 GB, free: 16.39 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001567/0.654, allocations: 35.22 kB / 1.116 GB, free: 16.39 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.654, allocations: 11.2 kB / 1.116 GB, free: 16.38 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.189e-05/0.654, allocations: 8.969 kB / 1.116 GB, free: 16.38 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.654, allocations: 9.453 kB / 1.116 GB, free: 16.38 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.835e-05/0.6541, allocations: 129.4 kB / 1.117 GB, free: 16.25 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.643e-05/0.6541, allocations: 10.39 kB / 1.117 GB, free: 16.25 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.063e-05/0.6542, allocations: 18.06 kB / 1.117 GB, free: 16.24 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.6542, allocations: 1.75 kB / 1.117 GB, free: 16.24 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.6542, allocations: 1.094 kB / 1.117 GB, free: 16.24 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.6542, allocations: 5.156 kB / 1.117 GB, free: 16.24 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001335/0.6544, allocations: 196.8 kB / 1.117 GB, free: 16.05 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.6544, allocations: 3.938 kB / 1.117 GB, free: 16.04 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001849/0.6546, allocations: 36.81 kB / 1.117 GB, free: 16.04 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.6546, allocations: 5 kB / 1.117 GB, free: 16.04 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.6546, allocations: 4.469 kB / 1.117 GB, free: 16.04 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.6546, allocations: 1.156 kB / 1.117 GB, free: 16.04 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.6546, allocations: 1.438 kB / 1.117 GB, free: 16.04 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002681/0.6549, allocations: 209.2 kB / 1.117 GB, free: 15.96 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.616e-05/0.6549, allocations: 91.19 kB / 1.117 GB, free: 15.86 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.655, allocations: 8.953 kB / 1.117 GB, free: 15.86 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001172/0.6551, allocations: 7.688 kB / 1.117 GB, free: 15.86 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.63e-05/0.6551, allocations: 17.06 kB / 1.117 GB, free: 15.86 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/0.6551, allocations: 10.56 kB / 1.117 GB, free: 15.86 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.784e-05/0.6552, allocations: 77.47 kB / 1.117 GB, free: 15.78 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6552, allocations: 1.719 kB / 1.117 GB, free: 15.78 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001974/0.6554, allocations: 27.62 kB / 1.117 GB, free: 15.78 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005158/0.6559, allocations: 0.7466 MB / 1.118 GB, free: 15.18 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001776/0.6561, allocations: 105.9 kB / 1.118 GB, free: 15.17 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.6561, allocations: 1.312 kB / 1.118 GB, free: 15.17 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 6.963e-05/0.6562, allocations: 53.58 kB / 1.118 GB, free: 15.16 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002205/0.6564, allocations: 18.52 kB / 1.118 GB, free: 15.16 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/0.6576, allocations: 1.004 MB / 1.119 GB, free: 14.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002196/0.6578, allocations: 0.7069 MB / 1.12 GB, free: 13.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001254/0.6579, allocations: 20.09 kB / 1.12 GB, free: 13.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.098e-05/0.658, allocations: 26.05 kB / 1.12 GB, free: 13.79 MB / 0.698 GB Notification: Performance of SimCode: time 4.41e-07/0.658, allocations: 4 kB / 1.12 GB, free: 13.79 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2948/0.9528, allocations: 2.134 MB / 1.122 GB, free: 13.57 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001492/0.953, allocations: 195.3 kB / 1.122 GB, free: 13.33 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.508/2.461, allocations: 0 / 1.122 GB, free: 13.33 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Examples.AirDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Media_Examples_AirDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_maint_8_0_x_Buildings_Media_Examples_AirDerivativeCheck.fmu > Buildings_maint.8.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1)