Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Examples.AirDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 1.424/1.424, allocations: 287.4 MB / 302.6 MB, free: 8.293 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.0009244/0.0009244, allocations: 182.4 kB / 371.1 MB, free: 10.85 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.102/1.102, allocations: 205.4 MB / 0.6298 GB, free: 10.52 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.0006817/0.0006817, allocations: 92.58 kB / 0.7431 GB, free: 6.504 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0002917/0.0002918, allocations: 11.75 kB / 0.8662 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1363, allocations: 115.3 MB / 0.9787 GB, free: 28.13 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.0008712/0.1372, allocations: 1.044 MB / 0.9797 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.3973/0.5345, allocations: 134.5 MB / 1.111 GB, free: 2.027 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.659e-05/0.5346, allocations: 4 kB / 1.111 GB, free: 2.023 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 2.902e-05/0.5346, allocations: 6.891 kB / 1.111 GB, free: 2.02 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 8.347e-05/0.5347, allocations: 12.09 kB / 1.111 GB, free: 2.016 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005694/0.5353, allocations: 222.6 kB / 1.111 GB, free: 1.965 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 8.19e-05/0.5354, allocations: 76.77 kB / 1.111 GB, free: 1.953 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 3.004e-05/0.5354, allocations: 3.656 kB / 1.111 GB, free: 1.953 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 3.799e-05/0.5355, allocations: 29.67 kB / 1.111 GB, free: 1.949 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 7.418e-05/0.5355, allocations: 33.48 kB / 1.111 GB, free: 1.945 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.296e-05/0.5356, allocations: 3.312 kB / 1.111 GB, free: 1.945 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005189/0.5361, allocations: 251 kB / 1.112 GB, free: 1.906 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 3.678e-05/0.5361, allocations: 15.06 kB / 1.112 GB, free: 1.906 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 7.446e-05/0.5362, allocations: 40.38 kB / 1.112 GB, free: 17.87 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001665/0.5364, allocations: 109.1 kB / 1.112 GB, free: 17.86 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.5364, allocations: 0 / 1.112 GB, free: 17.86 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.262e-06/0.5364, allocations: 0 / 1.112 GB, free: 17.86 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.276e-06/0.5364, allocations: 0 / 1.112 GB, free: 17.86 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.0003308/0.5368, allocations: 379.3 kB / 1.112 GB, free: 17.48 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.053e-05/0.5368, allocations: 9.969 kB / 1.112 GB, free: 17.48 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.111e-05/0.5368, allocations: 37.5 kB / 1.112 GB, free: 17.44 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003162/0.5372, allocations: 34.81 kB / 1.112 GB, free: 17.44 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.783e-05/0.5372, allocations: 170.8 kB / 1.112 GB, free: 17.23 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.288e-06/0.5373, allocations: 10.41 kB / 1.112 GB, free: 17.23 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.684e-05/0.5373, allocations: 13.81 kB / 1.112 GB, free: 17.23 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/0.5374, allocations: 78.08 kB / 1.113 GB, free: 17.19 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-06/0.5375, allocations: 1.828 kB / 1.113 GB, free: 17.19 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.5375, allocations: 4.688 kB / 1.113 GB, free: 17.19 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.5375, allocations: 1.562 kB / 1.113 GB, free: 17.19 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.875e-05/0.5376, allocations: 45.33 kB / 1.113 GB, free: 17.19 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001472/0.5377, allocations: 188.6 kB / 1.113 GB, free: 17 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000139/0.5379, allocations: 96.03 kB / 1.113 GB, free: 16.96 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.351e-05/0.5379, allocations: 30.5 kB / 1.113 GB, free: 16.96 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001865/0.5381, allocations: 173.9 kB / 1.113 GB, free: 16.77 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.735e-05/0.5381, allocations: 35.39 kB / 1.113 GB, free: 16.73 MB / 0.698 GB Notification: Performance of pre-optimization done (n=12): time 1.133e-06/0.5381, allocations: 5.625 kB / 1.113 GB, free: 16.73 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.001042/0.5392, allocations: 0.5318 MB / 1.114 GB, free: 16.46 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.222e-05/0.5392, allocations: 62.52 kB / 1.114 GB, free: 16.39 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.049e-05/0.5393, allocations: 102.6 kB / 1.114 GB, free: 16.29 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.5393, allocations: 32.64 kB / 1.114 GB, free: 16.26 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.832e-05/0.5393, allocations: 80.52 kB / 1.114 GB, free: 16.18 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.001e-05/0.5394, allocations: 69.73 kB / 1.114 GB, free: 16.13 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.6e-06/0.5394, allocations: 4.344 kB / 1.114 GB, free: 16.13 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.312e-05/0.5395, allocations: 319.2 kB / 1.114 GB, free: 15.82 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.625e-05/0.5395, allocations: 34.48 kB / 1.114 GB, free: 15.82 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.026e-05/0.5396, allocations: 70.83 kB / 1.114 GB, free: 15.79 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000127/0.5397, allocations: 112.7 kB / 1.114 GB, free: 15.75 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.5398, allocations: 0 / 1.114 GB, free: 15.75 MB / 0.698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001944/0.54, allocations: 156.9 kB / 1.115 GB, free: 15.71 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.54, allocations: 5.625 kB / 1.115 GB, free: 15.71 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.54, allocations: 0.9062 kB / 1.115 GB, free: 15.71 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.54, allocations: 3.031 kB / 1.115 GB, free: 15.71 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001476/0.5401, allocations: 38.56 kB / 1.115 GB, free: 15.71 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.5402, allocations: 6.672 kB / 1.115 GB, free: 15.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.801e-05/0.5402, allocations: 9.219 kB / 1.115 GB, free: 15.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.809e-06/0.5402, allocations: 10.33 kB / 1.115 GB, free: 15.7 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.155e-05/0.5403, allocations: 126.3 kB / 1.115 GB, free: 15.58 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.622e-05/0.5403, allocations: 8.875 kB / 1.115 GB, free: 15.57 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.66e-05/0.5404, allocations: 17.41 kB / 1.115 GB, free: 15.57 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.5404, allocations: 1.938 kB / 1.115 GB, free: 15.57 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.5404, allocations: 4.594 kB / 1.115 GB, free: 15.56 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.5404, allocations: 9.766 kB / 1.115 GB, free: 15.55 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001298/0.5405, allocations: 191.7 kB / 1.115 GB, free: 15.37 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.5405, allocations: 0.9062 kB / 1.115 GB, free: 15.37 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001755/0.5407, allocations: 41.67 kB / 1.115 GB, free: 15.36 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.5407, allocations: 1.766 kB / 1.115 GB, free: 15.36 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.5407, allocations: 3.5 kB / 1.115 GB, free: 15.36 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.5407, allocations: 1.875 kB / 1.115 GB, free: 15.36 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.5408, allocations: 5.25 kB / 1.115 GB, free: 15.36 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002466/0.541, allocations: 211.2 kB / 1.115 GB, free: 15.29 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.255e-05/0.5411, allocations: 91.38 kB / 1.115 GB, free: 15.19 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/0.5411, allocations: 5.672 kB / 1.115 GB, free: 15.19 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.5412, allocations: 10.36 kB / 1.115 GB, free: 15.19 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.542e-05/0.5412, allocations: 12.81 kB / 1.115 GB, free: 15.18 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.5413, allocations: 7.438 kB / 1.115 GB, free: 15.18 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.389e-05/0.5413, allocations: 78.02 kB / 1.115 GB, free: 15.11 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5413, allocations: 0 / 1.115 GB, free: 15.11 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001814/0.5415, allocations: 27.78 kB / 1.115 GB, free: 15.11 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.0004602/0.542, allocations: 0.7471 MB / 1.116 GB, free: 14.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000162/0.5421, allocations: 105.7 kB / 1.116 GB, free: 14.49 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.5421, allocations: 1.094 kB / 1.116 GB, free: 14.49 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 6.29e-05/0.5422, allocations: 57.66 kB / 1.116 GB, free: 14.48 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001885/0.5424, allocations: 20.12 kB / 1.116 GB, free: 14.48 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.5435, allocations: 1.007 MB / 1.117 GB, free: 13.82 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002164/0.5437, allocations: 0.7079 MB / 1.118 GB, free: 13.12 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001188/0.5438, allocations: 26.61 kB / 1.118 GB, free: 13.11 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.292e-05/0.5439, allocations: 24.41 kB / 1.118 GB, free: 13.1 MB / 0.698 GB Notification: Performance of SimCode: time 2.9e-07/0.5439, allocations: 0 / 1.118 GB, free: 13.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2882/0.8321, allocations: 2.106 MB / 1.12 GB, free: 12.88 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000112/0.8322, allocations: 186.9 kB / 1.12 GB, free: 12.64 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.994/2.827, allocations: 0 / 1.12 GB, free: 12.64 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Examples.AirDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Media_Examples_AirDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_0_0_Buildings_Media_Examples_AirDerivativeCheck.fmu > Buildings_8.0.0_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1)