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/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: 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.007007/0.007007, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001658/0.001658, allocations: 195.7 kB / 16.79 MB, free: 5.809 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.311/1.311, allocations: 222.9 MB / 240.5 MB, free: 4.578 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 0.9772/0.9772, allocations: 143.1 MB / 433.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 68.12 kB / 0.5141 GB, free: 12.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1585, allocations: 82.03 MB / 0.5943 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002376/0.161, allocations: 1.348 MB / 0.5956 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4252/0.5862, allocations: 144.7 MB / 0.7369 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.987e-05/0.5863, allocations: 0 / 0.7369 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.269e-05/0.5863, allocations: 1.031 kB / 0.7369 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.362e-05/0.5864, allocations: 10.8 kB / 0.7369 GB, free: 7.414 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003792/0.5868, allocations: 80.36 kB / 0.737 GB, free: 7.375 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.441e-05/0.5869, allocations: 31.27 kB / 0.737 GB, free: 7.363 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.267e-05/0.5869, allocations: 10.12 kB / 0.737 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.811e-05/0.5869, allocations: 13.97 kB / 0.737 GB, free: 7.352 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.742e-05/0.587, allocations: 20.7 kB / 0.737 GB, free: 7.34 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.295e-05/0.587, allocations: 2.281 kB / 0.737 GB, free: 7.34 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002683/0.5873, allocations: 76.17 kB / 0.7371 GB, free: 7.309 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.576e-05/0.5873, allocations: 6.578 kB / 0.7371 GB, free: 7.305 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.17e-05/0.5874, allocations: 17.27 kB / 0.7371 GB, free: 7.297 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000113/0.5875, allocations: 42.31 kB / 0.7372 GB, free: 7.289 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.5875, allocations: 0.7031 kB / 0.7372 GB, free: 7.289 MB / 0.5606 GB Notification: Performance of FrontEnd: time 7.61e-07/0.5875, allocations: 0 / 0.7372 GB, free: 7.289 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.5875, allocations: 1.625 kB / 0.7372 GB, free: 7.289 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.00039/0.5879, allocations: 352.4 kB / 0.7375 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.5879, allocations: 8.594 kB / 0.7375 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001863/0.5881, allocations: 16.73 kB / 0.7375 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.5882, allocations: 172.6 kB / 0.7377 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.5883, allocations: 5.875 kB / 0.7377 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.402e-05/0.5883, allocations: 4.25 kB / 0.7377 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.5884, allocations: 51.55 kB / 0.7378 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.5884, allocations: 5.266 kB / 0.7378 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.5884, allocations: 4 kB / 0.7378 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.5885, allocations: 1.281 kB / 0.7378 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.169e-05/0.5885, allocations: 21.61 kB / 0.7378 GB, free: 6.656 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001707/0.5887, allocations: 166.8 kB / 0.7379 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.93e-05/0.5888, allocations: 52.2 kB / 0.738 GB, free: 6.422 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.925e-05/0.5888, allocations: 18.95 kB / 0.738 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.098e-05/0.5888, allocations: 2.344 kB / 0.738 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.5889, allocations: 40.28 kB / 0.738 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.5889, allocations: 0 / 0.738 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.0007715/0.5896, allocations: 367.2 kB / 0.7384 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/0.5897, allocations: 53.28 kB / 0.7385 GB, free: 6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.295e-05/0.5898, allocations: 92.19 kB / 0.7385 GB, free: 5.902 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.5898, allocations: 31.17 kB / 0.7386 GB, free: 5.867 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.477e-05/0.5898, allocations: 85.86 kB / 0.7387 GB, free: 5.781 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.893e-05/0.5899, allocations: 38.67 kB / 0.7387 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.425e-05/0.5899, allocations: 32.28 kB / 0.7387 GB, free: 5.723 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.59, allocations: 321.4 kB / 0.739 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.548e-05/0.5901, allocations: 17.8 kB / 0.739 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.971e-05/0.5901, allocations: 36.62 kB / 0.7391 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.652e-05/0.5902, allocations: 59.94 kB / 0.7391 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.5902, allocations: 0 / 0.7391 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001444/0.5904, allocations: 99.94 kB / 0.7392 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.5904, allocations: 5.531 kB / 0.7392 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.5904, allocations: 1.859 kB / 0.7392 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.5904, allocations: 1.188 kB / 0.7392 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.5905, allocations: 24.06 kB / 0.7393 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.5906, allocations: 1.469 kB / 0.7393 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.579e-05/0.5906, allocations: 3.688 kB / 0.7393 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-06/0.5906, allocations: 6.844 kB / 0.7393 GB, free: 5.273 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 7.475e-05/0.5907, allocations: 120.9 kB / 0.7394 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.779e-05/0.5907, allocations: 7.594 kB / 0.7394 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.343e-05/0.5907, allocations: 11.97 kB / 0.7394 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.5908, allocations: 2.453 kB / 0.7394 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.5908, allocations: 1.281 kB / 0.7394 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.5908, allocations: 1.531 kB / 0.7394 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001324/0.5909, allocations: 174 kB / 0.7396 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.5909, allocations: 2.141 kB / 0.7396 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/0.591, allocations: 20.05 kB / 0.7396 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.591, allocations: 0.7031 kB / 0.7396 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.5911, allocations: 9.375 kB / 0.7396 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.888e-06/0.5911, allocations: 2.062 kB / 0.7396 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.5911, allocations: 5.109 kB / 0.7396 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002065/0.5913, allocations: 131.3 kB / 0.7397 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.638e-05/0.5914, allocations: 87.77 kB / 0.7398 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.5914, allocations: 3.625 kB / 0.7398 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.576e-05/0.5915, allocations: 4.75 kB / 0.7398 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.792e-05/0.5915, allocations: 13.28 kB / 0.7398 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.214e-06/0.5915, allocations: 2.75 kB / 0.7398 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.014e-05/0.5915, allocations: 79.66 kB / 0.7399 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5916, allocations: 0 / 0.7399 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001962/0.5918, allocations: 16.38 kB / 0.7399 GB, free: 4.645 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.000112/0.5919, allocations: 107.5 kB / 0.74 GB, free: 4.547 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001319/0.592, allocations: 57.25 kB / 0.7401 GB, free: 4.531 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.592, allocations: 4.094 kB / 0.7401 GB, free: 4.527 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.036e-05/0.5921, allocations: 32.02 kB / 0.7401 GB, free: 4.52 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002316/0.5923, allocations: 8.125 kB / 0.7401 GB, free: 4.516 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005923/0.5929, allocations: 353.4 kB / 0.7405 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002529/0.5932, allocations: 0.6875 MB / 0.7411 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.589e-05/0.5932, allocations: 12.5 kB / 0.7412 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of SimCode: time 2.31e-07/0.5932, allocations: 0 / 0.7412 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of Templates: time 0.002018/0.5952, allocations: 0.8306 MB / 0.742 GB, free: 3.473 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)