Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Media.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_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.001425/0.001426, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001876/0.001876, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.861/2.861, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.962/2.962, allocations: 292.6 MB / 0.5497 GB, free: 14.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009484/0.0009487, allocations: 21.56 kB / 0.6736 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4922/0.4932, allocations: 116.3 MB / 0.7872 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002401/0.4957, allocations: 1.023 MB / 0.7882 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 1.305/1.801, allocations: 125.2 MB / 0.9104 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.418e-05/1.801, allocations: 0 / 0.9104 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.724e-05/1.801, allocations: 6.297 kB / 0.9104 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.436e-05/1.801, allocations: 13.33 kB / 0.9105 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001365/1.803, allocations: 234.5 kB / 0.9107 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001395/1.803, allocations: 47.02 kB / 0.9107 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.184e-05/1.803, allocations: 6.125 kB / 0.9107 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.631e-05/1.803, allocations: 26.66 kB / 0.9108 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00013/1.803, allocations: 27.2 kB / 0.9108 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.176e-05/1.803, allocations: 3.031 kB / 0.9108 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001164/1.804, allocations: 283.8 kB / 0.9111 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.978e-05/1.805, allocations: 18.33 kB / 0.9111 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.004445/1.809, allocations: 36.48 kB / 0.9111 GB, free: 21.92 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000558/1.81, allocations: 95.53 kB / 0.9112 GB, free: 21.92 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/1.81, allocations: 4 kB / 0.9112 GB, free: 21.91 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.116e-06/1.81, allocations: 0 / 0.9112 GB, free: 21.91 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.903e-06/1.81, allocations: 0 / 0.9112 GB, free: 21.91 MB / 0.7325 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.0006363/1.81, allocations: 379.7 kB / 0.9116 GB, free: 21.54 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.546e-05/1.81, allocations: 9.594 kB / 0.9116 GB, free: 21.54 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.152e-05/1.81, allocations: 37.88 kB / 0.9116 GB, free: 21.5 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006837/1.811, allocations: 41 kB / 0.9117 GB, free: 21.5 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001884/1.811, allocations: 164.8 kB / 0.9118 GB, free: 21.3 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/1.811, allocations: 9.656 kB / 0.9118 GB, free: 21.3 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.482e-05/1.811, allocations: 13.73 kB / 0.9118 GB, free: 21.3 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002603/1.812, allocations: 72.97 kB / 0.9119 GB, free: 21.27 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/1.812, allocations: 9.578 kB / 0.9119 GB, free: 21.26 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.494e-05/1.812, allocations: 3.25 kB / 0.9119 GB, free: 21.26 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/1.812, allocations: 1.906 kB / 0.9119 GB, free: 21.26 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001519/1.812, allocations: 46.67 kB / 0.912 GB, free: 21.26 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003081/1.812, allocations: 184.4 kB / 0.9121 GB, free: 21.07 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002579/1.812, allocations: 94.95 kB / 0.9122 GB, free: 21.04 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 5.637e-05/1.813, allocations: 6.172 kB / 0.9122 GB, free: 21.04 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.878e-05/1.813, allocations: 36.03 kB / 0.9123 GB, free: 21 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=12): time 1.563e-06/1.813, allocations: 0 / 0.9123 GB, free: 21 MB / 0.7325 GB Notification: Performance of matching and sorting (n=19): time 0.002115/1.815, allocations: 0.5464 MB / 0.9128 GB, free: 20.73 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.465e-05/1.815, allocations: 58.03 kB / 0.9129 GB, free: 20.67 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.81e-05/1.815, allocations: 97.62 kB / 0.913 GB, free: 20.57 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.544e-05/1.815, allocations: 32.92 kB / 0.913 GB, free: 20.54 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.779e-05/1.815, allocations: 81.48 kB / 0.9131 GB, free: 20.46 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.315e-05/1.815, allocations: 70.45 kB / 0.9131 GB, free: 20.41 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.208e-05/1.815, allocations: 4.5 kB / 0.9131 GB, free: 20.41 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001697/1.815, allocations: 320 kB / 0.9134 GB, free: 20.1 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000108/1.815, allocations: 36 kB / 0.9135 GB, free: 20.1 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001429/1.816, allocations: 66.06 kB / 0.9135 GB, free: 20.07 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001263/1.816, allocations: 42.56 kB / 0.9136 GB, free: 20.07 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/1.816, allocations: 4 kB / 0.9136 GB, free: 20.06 MB / 0.7325 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003752/1.816, allocations: 155.1 kB / 0.9137 GB, free: 20.03 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.645e-05/1.816, allocations: 5.906 kB / 0.9137 GB, free: 20.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/1.816, allocations: 2.438 kB / 0.9137 GB, free: 20.03 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/1.816, allocations: 2.094 kB / 0.9137 GB, free: 20.03 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000291/1.817, allocations: 42.88 kB / 0.9138 GB, free: 20.03 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/1.817, allocations: 4.016 kB / 0.9138 GB, free: 20.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004191/1.821, allocations: 7.922 kB / 0.9138 GB, free: 20.02 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.361e-05/1.821, allocations: 7.594 kB / 0.9138 GB, free: 20.02 MB / 0.7325 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 0.0002172/1.821, allocations: 127.4 kB / 0.9139 GB, free: 19.91 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.626e-05/1.821, allocations: 8.906 kB / 0.9139 GB, free: 19.9 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.102e-05/1.821, allocations: 17.67 kB / 0.9139 GB, free: 19.89 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/1.821, allocations: 3.062 kB / 0.9139 GB, free: 19.89 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/1.821, allocations: 0 / 0.9139 GB, free: 19.89 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/1.821, allocations: 0.8438 kB / 0.9139 GB, free: 19.89 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002686/1.822, allocations: 200.6 kB / 0.9141 GB, free: 19.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/1.822, allocations: 0 / 0.9141 GB, free: 19.7 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003343/1.822, allocations: 36.75 kB / 0.9142 GB, free: 19.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/1.822, allocations: 0.875 kB / 0.9142 GB, free: 19.7 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.174e-05/1.822, allocations: 10.95 kB / 0.9142 GB, free: 19.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.179e-06/1.822, allocations: 5.062 kB / 0.9142 GB, free: 19.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/1.822, allocations: 0 / 0.9142 GB, free: 19.7 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005213/1.823, allocations: 209.6 kB / 0.9144 GB, free: 19.62 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001487/1.823, allocations: 90.5 kB / 0.9145 GB, free: 19.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.129e-05/1.823, allocations: 8.172 kB / 0.9145 GB, free: 19.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001823/1.823, allocations: 7.062 kB / 0.9145 GB, free: 19.52 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.74e-05/1.823, allocations: 8.578 kB / 0.9145 GB, free: 19.52 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.896e-05/1.823, allocations: 11.94 kB / 0.9145 GB, free: 19.52 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.737e-05/1.823, allocations: 80.33 kB / 0.9146 GB, free: 19.45 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.8e-07/1.823, allocations: 0 / 0.9146 GB, free: 19.45 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004071/1.823, allocations: 27.94 kB / 0.9146 GB, free: 19.45 MB / 0.7325 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.0008461/1.824, allocations: 0.7573 MB / 0.9154 GB, free: 18.84 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003311/1.825, allocations: 100.6 kB / 0.9154 GB, free: 18.84 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/1.825, allocations: 0.7812 kB / 0.9154 GB, free: 18.84 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001337/1.825, allocations: 60.11 kB / 0.9155 GB, free: 18.83 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000285/1.825, allocations: 9.75 kB / 0.9155 GB, free: 18.83 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002318/1.827, allocations: 1.461 MB / 0.9169 GB, free: 17.74 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003916/1.828, allocations: 0.6999 MB / 0.9176 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002302/1.828, allocations: 30.05 kB / 0.9177 GB, free: 17.03 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.704e-05/1.828, allocations: 22.83 kB / 0.9177 GB, free: 17.02 MB / 0.7325 GB Notification: Performance of SimCode: time 6.31e-07/1.828, allocations: 0 / 0.9177 GB, free: 17.02 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05243/1.881, allocations: 2.106 MB / 0.9197 GB, free: 16.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003369/1.881, allocations: 166.7 kB / 0.9199 GB, free: 16.57 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.082/4.963, allocations: 0 / 0.9199 GB, free: 16.57 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Media_Examples_AirDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Media_Examples_AirDerivativeCheck.fmu > Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: