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.001055/0.001055, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001303/0.001303, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.438/1.438, allocations: 205.4 MB / 222.1 MB, free: 5.895 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 1.8/1.8, allocations: 292.7 MB / 0.5499 GB, free: 14.51 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.0005158/0.0005159, allocations: 15.44 kB / 0.6738 GB, free: 26.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2266/0.2271, allocations: 116.3 MB / 0.7874 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.001339/0.2285, allocations: 1.04 MB / 0.7884 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.591/0.8195, allocations: 134.5 MB / 0.9197 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.974e-05/0.8196, allocations: 3.938 kB / 0.9197 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.589e-05/0.8196, allocations: 1.781 kB / 0.9197 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001073/0.8197, allocations: 14.61 kB / 0.9197 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007812/0.8205, allocations: 224.8 kB / 0.92 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001223/0.8207, allocations: 72.42 kB / 0.92 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.004e-05/0.8207, allocations: 3.812 kB / 0.92 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.008e-05/0.8208, allocations: 26.98 kB / 0.9201 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.8209, allocations: 36.38 kB / 0.9201 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/0.8209, allocations: 5.969 kB / 0.9201 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007211/0.8216, allocations: 253.2 kB / 0.9203 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.555e-05/0.8217, allocations: 18.16 kB / 0.9204 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002912/0.822, allocations: 34.27 kB / 0.9204 GB, free: 21.62 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002163/0.8222, allocations: 101 kB / 0.9205 GB, free: 21.61 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.8222, allocations: 1.344 kB / 0.9205 GB, free: 21.61 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.693e-06/0.8222, allocations: 0 / 0.9205 GB, free: 21.61 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.8222, allocations: 0 / 0.9205 GB, free: 21.61 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.0004013/0.8226, allocations: 375.1 kB / 0.9208 GB, free: 21.23 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.8227, allocations: 10.03 kB / 0.9209 GB, free: 21.23 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.951e-05/0.8228, allocations: 45.16 kB / 0.9209 GB, free: 21.19 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004004/0.8232, allocations: 36.92 kB / 0.9209 GB, free: 21.19 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.8233, allocations: 161.4 kB / 0.9211 GB, free: 20.99 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.8233, allocations: 6.625 kB / 0.9211 GB, free: 20.99 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.314e-05/0.8234, allocations: 15.06 kB / 0.9211 GB, free: 20.99 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001976/0.8236, allocations: 73.73 kB / 0.9212 GB, free: 20.96 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.415e-06/0.8236, allocations: 0 / 0.9212 GB, free: 20.96 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.8236, allocations: 4.062 kB / 0.9212 GB, free: 20.96 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.293e-06/0.8236, allocations: 4.359 kB / 0.9212 GB, free: 20.96 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001189/0.8237, allocations: 56.56 kB / 0.9212 GB, free: 20.95 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002081/0.824, allocations: 186.1 kB / 0.9214 GB, free: 20.75 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001907/0.8242, allocations: 89.64 kB / 0.9215 GB, free: 20.73 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.964e-05/0.8242, allocations: 34.11 kB / 0.9215 GB, free: 20.72 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002625/0.8245, allocations: 179.1 kB / 0.9217 GB, free: 20.53 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.8245, allocations: 36.53 kB / 0.9217 GB, free: 20.49 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=12): time 1.212e-06/0.8245, allocations: 0 / 0.9217 GB, free: 20.49 MB / 0.7325 GB Notification: Performance of matching and sorting (n=19): time 0.001398/0.8259, allocations: 0.54 MB / 0.9223 GB, free: 20.23 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.997e-05/0.826, allocations: 59.69 kB / 0.9223 GB, free: 20.16 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.49e-05/0.8261, allocations: 100.2 kB / 0.9224 GB, free: 20.06 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/0.8261, allocations: 30.8 kB / 0.9225 GB, free: 20.03 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.416e-05/0.8262, allocations: 80.52 kB / 0.9225 GB, free: 19.95 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.13e-05/0.8262, allocations: 68.09 kB / 0.9226 GB, free: 19.91 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.063e-06/0.8262, allocations: 2.344 kB / 0.9226 GB, free: 19.91 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.8264, allocations: 323.1 kB / 0.9229 GB, free: 19.59 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.116e-05/0.8265, allocations: 40.34 kB / 0.9229 GB, free: 19.59 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.655e-05/0.8265, allocations: 66.78 kB / 0.923 GB, free: 19.55 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.728e-05/0.8266, allocations: 44.12 kB / 0.923 GB, free: 19.55 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.8266, allocations: 0 / 0.923 GB, free: 19.55 MB / 0.7325 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002149/0.8269, allocations: 156.4 kB / 0.9232 GB, free: 19.52 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.8269, allocations: 5.75 kB / 0.9232 GB, free: 19.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.8269, allocations: 0.5156 kB / 0.9232 GB, free: 19.52 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.8269, allocations: 7.812 kB / 0.9232 GB, free: 19.52 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001671/0.8271, allocations: 42.08 kB / 0.9233 GB, free: 19.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.8271, allocations: 0.7812 kB / 0.9233 GB, free: 19.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.058e-05/0.8272, allocations: 10.97 kB / 0.9233 GB, free: 19.51 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.8272, allocations: 9.5 kB / 0.9233 GB, free: 19.51 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.0001003/0.8273, allocations: 118.9 kB / 0.9234 GB, free: 19.4 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.845e-05/0.8273, allocations: 13.11 kB / 0.9234 GB, free: 19.39 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.372e-05/0.8274, allocations: 16.66 kB / 0.9234 GB, free: 19.39 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.8274, allocations: 4 kB / 0.9234 GB, free: 19.38 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.8274, allocations: 0.6094 kB / 0.9234 GB, free: 19.38 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.8274, allocations: 3.906 kB / 0.9234 GB, free: 19.38 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001705/0.8276, allocations: 195 kB / 0.9236 GB, free: 19.19 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.8276, allocations: 0 / 0.9236 GB, free: 19.19 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001848/0.8278, allocations: 40.17 kB / 0.9236 GB, free: 19.19 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.8278, allocations: 0.6094 kB / 0.9236 GB, free: 19.19 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.8278, allocations: 5.781 kB / 0.9237 GB, free: 19.19 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.8278, allocations: 0.5625 kB / 0.9237 GB, free: 19.19 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.8278, allocations: 0 / 0.9237 GB, free: 19.19 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002761/0.8281, allocations: 214.1 kB / 0.9239 GB, free: 19.11 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.71e-05/0.8282, allocations: 93.92 kB / 0.9239 GB, free: 19.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.961e-05/0.8282, allocations: 1.875 kB / 0.9239 GB, free: 19.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.8283, allocations: 9.719 kB / 0.924 GB, free: 19.02 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.013e-05/0.8284, allocations: 17.56 kB / 0.924 GB, free: 19.02 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.8284, allocations: 3.734 kB / 0.924 GB, free: 19.02 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.497e-05/0.8284, allocations: 79.16 kB / 0.9241 GB, free: 18.94 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.142e-06/0.8284, allocations: 4.094 kB / 0.9241 GB, free: 18.94 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002153/0.8286, allocations: 31.36 kB / 0.9241 GB, free: 18.94 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.0005554/0.8292, allocations: 0.7539 MB / 0.9248 GB, free: 18.33 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001949/0.8294, allocations: 104.4 kB / 0.9249 GB, free: 18.32 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.8294, allocations: 4 kB / 0.9249 GB, free: 18.32 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 6.632e-05/0.8295, allocations: 52.92 kB / 0.925 GB, free: 18.32 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002401/0.8297, allocations: 22.58 kB / 0.925 GB, free: 18.32 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.831, allocations: 0.9971 MB / 0.926 GB, free: 17.67 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002977/0.8313, allocations: 0.7035 MB / 0.9267 GB, free: 16.97 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001354/0.8315, allocations: 25.59 kB / 0.9267 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.54e-05/0.8315, allocations: 24.92 kB / 0.9267 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of SimCode: time 1.443e-06/0.8315, allocations: 0 / 0.9267 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01376/0.8453, allocations: 2.133 MB / 0.9288 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003051/0.8457, allocations: 184.2 kB / 0.929 GB, free: 16.49 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.723/2.568, allocations: 0 / 0.929 GB, free: 16.49 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: