Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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: translateModel(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001581/0.001581, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001779/0.001779, allocations: 194.4 kB / 16.53 MB, free: 6.664 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.464/1.464, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 1.001/1.001, allocations: 143.3 MB / 433.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002082/0.002082, allocations: 59.91 kB / 0.5144 GB, free: 11.47 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2007/0.2028, allocations: 82.05 MB / 0.5945 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002345/0.2052, allocations: 1.272 MB / 0.5958 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4255/0.6307, allocations: 147 MB / 0.7393 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.003e-05/0.6308, allocations: 0 / 0.7393 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.004e-05/0.6308, allocations: 9.672 kB / 0.7393 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.577e-05/0.6309, allocations: 7.922 kB / 0.7393 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003718/0.6313, allocations: 96.61 kB / 0.7394 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.566e-05/0.6314, allocations: 27.17 kB / 0.7395 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.716e-05/0.6314, allocations: 6.344 kB / 0.7395 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.231e-05/0.6315, allocations: 10.75 kB / 0.7395 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.199e-05/0.6315, allocations: 20.92 kB / 0.7395 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.406e-05/0.6315, allocations: 1.156 kB / 0.7395 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002479/0.6318, allocations: 81.08 kB / 0.7396 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.578e-05/0.6318, allocations: 7.062 kB / 0.7396 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.22e-05/0.6319, allocations: 21.84 kB / 0.7396 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001558/0.632, allocations: 63.45 kB / 0.7397 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.632, allocations: 0 / 0.7397 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.603e-06/0.632, allocations: 0 / 0.7397 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.6321, allocations: 1.031 kB / 0.7397 GB, free: 5.043 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.00041/0.6325, allocations: 352.8 kB / 0.74 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.6325, allocations: 9 kB / 0.74 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002033/0.6327, allocations: 16.08 kB / 0.74 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.276e-05/0.6328, allocations: 163.6 kB / 0.7402 GB, free: 4.477 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.6328, allocations: 6.25 kB / 0.7402 GB, free: 4.473 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.345e-05/0.6329, allocations: 9.953 kB / 0.7402 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001066/0.633, allocations: 59.61 kB / 0.7402 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.751e-06/0.633, allocations: 0 / 0.7402 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.723e-05/0.633, allocations: 4.875 kB / 0.7403 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.633, allocations: 1.062 kB / 0.7403 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.335e-05/0.6331, allocations: 10.8 kB / 0.7403 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001593/0.6332, allocations: 172.2 kB / 0.7404 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.664e-05/0.6333, allocations: 51.97 kB / 0.7405 GB, free: 4.18 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.368e-05/0.6334, allocations: 23.36 kB / 0.7405 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/0.6334, allocations: 1.438 kB / 0.7405 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.6334, allocations: 31.88 kB / 0.7405 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.6334, allocations: 0 / 0.7405 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.0007655/0.6342, allocations: 374.3 kB / 0.7409 GB, free: 3.82 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/0.6343, allocations: 57 kB / 0.7409 GB, free: 3.754 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.837e-05/0.6343, allocations: 95.52 kB / 0.741 GB, free: 3.652 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.6344, allocations: 27.33 kB / 0.7411 GB, free: 3.621 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.923e-05/0.6344, allocations: 80.7 kB / 0.7411 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.628e-05/0.6344, allocations: 40.97 kB / 0.7412 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.44e-05/0.6345, allocations: 31.2 kB / 0.7412 GB, free: 3.48 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.6346, allocations: 319.4 kB / 0.7415 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.562e-05/0.6346, allocations: 17.17 kB / 0.7415 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.403e-05/0.6347, allocations: 38.09 kB / 0.7416 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.456e-05/0.6348, allocations: 59.48 kB / 0.7416 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.6348, allocations: 1.438 kB / 0.7416 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001365/0.635, allocations: 101 kB / 0.7417 GB, free: 3.039 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.635, allocations: 9 kB / 0.7417 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.635, allocations: 0 / 0.7417 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.635, allocations: 1.219 kB / 0.7417 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.6351, allocations: 20.75 kB / 0.7417 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.6351, allocations: 1.094 kB / 0.7417 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.218e-05/0.6352, allocations: 1.156 kB / 0.7417 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/0.6352, allocations: 10.25 kB / 0.7418 GB, free: 3.031 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 14 * 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.112e-05/0.6353, allocations: 123 kB / 0.7419 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.752e-05/0.6353, allocations: 6.844 kB / 0.7419 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.611e-05/0.6354, allocations: 11.97 kB / 0.7419 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.6354, allocations: 1.406 kB / 0.7419 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.6354, allocations: 1.469 kB / 0.7419 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.6354, allocations: 0 / 0.7419 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000135/0.6355, allocations: 180.4 kB / 0.7421 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.6355, allocations: 0 / 0.7421 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001192/0.6357, allocations: 21.44 kB / 0.7421 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.6357, allocations: 1.562 kB / 0.7421 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.615e-06/0.6357, allocations: 0 / 0.7421 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.6357, allocations: 1.5 kB / 0.7421 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.6357, allocations: 0.5625 kB / 0.7421 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002063/0.6359, allocations: 140.9 kB / 0.7422 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.039e-05/0.636, allocations: 86.53 kB / 0.7423 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.636, allocations: 3.109 kB / 0.7423 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.71e-05/0.6361, allocations: 6.875 kB / 0.7423 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.963e-05/0.6361, allocations: 5.969 kB / 0.7423 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-06/0.6362, allocations: 2.844 kB / 0.7423 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.786e-05/0.6362, allocations: 82.27 kB / 0.7424 GB, free: 2.406 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6362, allocations: 0 / 0.7424 GB, free: 2.406 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001994/0.6364, allocations: 16.44 kB / 0.7424 GB, free: 2.402 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,hSteSym,hAirSym) * 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 (11): * Single equations (assignments): 11 * 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.0001111/0.6365, allocations: 105.3 kB / 0.7425 GB, free: 2.305 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000149/0.6367, allocations: 67.8 kB / 0.7426 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.6367, allocations: 1 kB / 0.7426 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.347e-05/0.6367, allocations: 28.84 kB / 0.7426 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002471/0.637, allocations: 9.688 kB / 0.7426 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000572/0.6376, allocations: 321.6 kB / 0.7429 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002234/0.6378, allocations: 0.6868 MB / 0.7436 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.363e-05/0.6379, allocations: 8.234 kB / 0.7436 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.277e-05/0.6379, allocations: 12.78 kB / 0.7436 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of SimCode: time 2.41e-07/0.6379, allocations: 0 / 0.7436 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of Templates: time 0.002545/0.6405, allocations: 0.6386 MB / 0.7442 GB, free: 1.246 MB / 0.5606 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)