Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.007753/0.007754, allocations: 106.2 kB / 15.74 MB, free: 6.035 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.001943/0.001943, allocations: 192.3 kB / 16.67 MB, free: 5.957 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.395/1.395, allocations: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.05/1.05, allocations: 143 MB / 433.6 MB, free: 11.51 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 63.91 kB / 0.595 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4772/0.4787, allocations: 82.02 MB / 0.6751 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck): time 0.001961/0.4807, allocations: 1.333 MB / 0.6764 GB, free: 28 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1537/0.6345, allocations: 148.1 MB / 0.8211 GB, free: 460 kB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.156e-05/0.6346, allocations: 0 / 0.8211 GB, free: 460 kB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 4.681e-05/0.6346, allocations: 3.938 kB / 0.8211 GB, free: 456 kB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0001183/0.6348, allocations: 15.92 kB / 0.8211 GB, free: 440 kB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001239/0.6361, allocations: 318.6 kB / 0.8214 GB, free: 120 kB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001495/0.6362, allocations: 63.81 kB / 0.8215 GB, free: 56 kB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 3.961e-05/0.6363, allocations: 8 kB / 0.8215 GB, free: 48 kB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 5.412e-05/0.6364, allocations: 35.84 kB / 0.8215 GB, free: 12 kB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001291/0.6365, allocations: 35.89 kB / 0.8215 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.451e-05/0.6365, allocations: 7.938 kB / 0.8215 GB, free: 15.97 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009102/0.6374, allocations: 402.9 kB / 0.8219 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.211e-05/0.6375, allocations: 19.91 kB / 0.8219 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.985e-05/0.6376, allocations: 23.92 kB / 0.822 GB, free: 15.53 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003749/0.6379, allocations: 161.8 kB / 0.8221 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.638, allocations: 4 kB / 0.8221 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.032e-06/0.638, allocations: 4 kB / 0.8221 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.308e-06/0.638, allocations: 0 / 0.8221 GB, free: 15.37 MB / 0.6544 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.0004886/0.6385, allocations: 387.3 kB / 0.8225 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.6385, allocations: 12.03 kB / 0.8225 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.802e-05/0.6386, allocations: 34.75 kB / 0.8225 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000437/0.639, allocations: 40.89 kB / 0.8226 GB, free: 14.85 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.6392, allocations: 164.1 kB / 0.8227 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.6392, allocations: 8 kB / 0.8227 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.828e-05/0.6392, allocations: 15.91 kB / 0.8228 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002015/0.6394, allocations: 85.52 kB / 0.8228 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.6394, allocations: 3.984 kB / 0.8228 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/0.6395, allocations: 8 kB / 0.8228 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.6395, allocations: 0 / 0.8228 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.61e-05/0.6396, allocations: 43.95 kB / 0.8229 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001922/0.6398, allocations: 181.5 kB / 0.8231 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001782/0.64, allocations: 106.6 kB / 0.8232 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.527e-05/0.64, allocations: 32.84 kB / 0.8232 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002668/0.6403, allocations: 174.2 kB / 0.8234 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.6403, allocations: 34.56 kB / 0.8234 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=12): time 1.242e-06/0.6404, allocations: 0 / 0.8234 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of matching and sorting (n=19): time 0.00133/0.6417, allocations: 0.5455 MB / 0.8239 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.765e-05/0.6417, allocations: 59.34 kB / 0.824 GB, free: 13.19 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.189e-05/0.6418, allocations: 97.8 kB / 0.8241 GB, free: 13.08 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.6418, allocations: 33.83 kB / 0.8241 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.873e-05/0.6419, allocations: 80.52 kB / 0.8242 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 6.729e-05/0.642, allocations: 74.98 kB / 0.8243 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.83e-05/0.642, allocations: 49.55 kB / 0.8243 GB, free: 12.83 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.6421, allocations: 318.8 kB / 0.8246 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.448e-05/0.6422, allocations: 35.97 kB / 0.8246 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.513e-05/0.6423, allocations: 65.44 kB / 0.8247 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000162/0.6425, allocations: 119.4 kB / 0.8248 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.6425, allocations: 0 / 0.8248 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002316/0.6427, allocations: 153.5 kB / 0.825 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.6428, allocations: 9.875 kB / 0.825 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.6428, allocations: 3.938 kB / 0.825 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.6428, allocations: 0 / 0.825 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001771/0.643, allocations: 39.92 kB / 0.825 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.643, allocations: 7.938 kB / 0.825 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.044e-05/0.6431, allocations: 12.12 kB / 0.825 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/0.6431, allocations: 12 kB / 0.825 GB, free: 12.04 MB / 0.6544 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.318e-05/0.6432, allocations: 125.7 kB / 0.8252 GB, free: 11.9 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.041e-05/0.6432, allocations: 4 kB / 0.8252 GB, free: 11.9 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.39e-05/0.6432, allocations: 16.44 kB / 0.8252 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.6433, allocations: 4 kB / 0.8252 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.6433, allocations: 3.938 kB / 0.8252 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.6433, allocations: 0 / 0.8252 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001692/0.6434, allocations: 193.6 kB / 0.8254 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.6435, allocations: 4 kB / 0.8254 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001946/0.6437, allocations: 35.92 kB / 0.8254 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.6437, allocations: 4 kB / 0.8254 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.6437, allocations: 7.984 kB / 0.8254 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.6437, allocations: 0 / 0.8254 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.6437, allocations: 3.938 kB / 0.8254 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003017/0.644, allocations: 211.4 kB / 0.8256 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 8.044e-05/0.6441, allocations: 85.09 kB / 0.8257 GB, free: 11.26 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.244e-05/0.6441, allocations: 8.062 kB / 0.8257 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/0.6443, allocations: 7.984 kB / 0.8257 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.566e-05/0.6443, allocations: 19.92 kB / 0.8258 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.6443, allocations: 4 kB / 0.8258 GB, free: 11.22 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.63e-05/0.6444, allocations: 75.28 kB / 0.8258 GB, free: 11.15 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6444, allocations: 0 / 0.8258 GB, free: 11.15 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002272/0.6446, allocations: 32 kB / 0.8259 GB, free: 11.12 MB / 0.6544 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.0005922/0.6452, allocations: 0.7513 MB / 0.8266 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002086/0.6454, allocations: 107.8 kB / 0.8267 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.6454, allocations: 0 / 0.8267 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.161e-05/0.6455, allocations: 59.91 kB / 0.8268 GB, free: 10.17 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002634/0.6458, allocations: 20.41 kB / 0.8268 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001893/0.6477, allocations: 1.825 MB / 0.8286 GB, free: 8.23 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000274/0.648, allocations: 0.7008 MB / 0.8292 GB, free: 7.504 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001084/0.6481, allocations: 32.55 kB / 0.8293 GB, free: 7.473 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.657e-05/0.6481, allocations: 23.44 kB / 0.8293 GB, free: 7.449 MB / 0.6544 GB Notification: Performance of SimCode: time 2.71e-07/0.6482, allocations: 4 kB / 0.8293 GB, free: 7.445 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02043/0.6686, allocations: 2.416 MB / 0.8317 GB, free: 5.121 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.618/8.286, allocations: 0.5938 kB / 0.8317 GB, free: 5.121 MB / 0.6544 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.pipe 2>&1)