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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 99.64 kB / 18.95 MB, free: 2.676 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 213.9 kB / 22.24 MB, free: 5.258 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.454/1.454, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.9247/0.9247, allocations: 145 MB / 457.4 MB, free: 15.27 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002216/0.002216, allocations: 66.7 kB / 0.6335 GB, free: 6.238 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.1741, allocations: 87.89 MB / 0.7194 GB, free: 14.34 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002516/0.1767, allocations: 1.285 MB / 0.7206 GB, free: 13.05 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.5181/0.6947, allocations: 129.1 MB / 0.8467 GB, free: 8.504 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.775e-05/0.6948, allocations: 0 / 0.8467 GB, free: 8.504 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 2.361e-05/0.6948, allocations: 0 / 0.8467 GB, free: 8.504 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 5.829e-05/0.6949, allocations: 11.92 kB / 0.8467 GB, free: 8.492 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004571/0.6953, allocations: 88.45 kB / 0.8468 GB, free: 8.406 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 8.139e-05/0.6954, allocations: 39.83 kB / 0.8468 GB, free: 8.367 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 3.706e-05/0.6954, allocations: 4 kB / 0.8468 GB, free: 8.363 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 4.279e-05/0.6955, allocations: 12 kB / 0.8468 GB, free: 8.352 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 5.693e-05/0.6955, allocations: 11.92 kB / 0.8468 GB, free: 8.34 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.961e-05/0.6956, allocations: 4 kB / 0.8468 GB, free: 8.336 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002778/0.6958, allocations: 83.75 kB / 0.8469 GB, free: 8.254 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 1.392e-05/0.6958, allocations: 4 kB / 0.8469 GB, free: 8.25 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 3.552e-05/0.6959, allocations: 26.17 kB / 0.8469 GB, free: 8.227 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0001626/0.696, allocations: 69.36 kB / 0.847 GB, free: 8.164 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.6961, allocations: 0 / 0.847 GB, free: 8.164 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.282e-06/0.6961, allocations: 0 / 0.847 GB, free: 8.164 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.6961, allocations: 0 / 0.847 GB, free: 8.164 MB / 0.6231 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.0004218/0.6965, allocations: 274.2 kB / 0.8473 GB, free: 7.867 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.6965, allocations: 8.031 kB / 0.8473 GB, free: 7.859 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001906/0.6967, allocations: 16.88 kB / 0.8473 GB, free: 7.844 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.6968, allocations: 106.7 kB / 0.8474 GB, free: 7.715 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.6968, allocations: 7.938 kB / 0.8474 GB, free: 7.707 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.834e-05/0.6969, allocations: 8 kB / 0.8474 GB, free: 7.699 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001859/0.697, allocations: 127.3 kB / 0.8475 GB, free: 7.551 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.956e-06/0.6971, allocations: 0 / 0.8475 GB, free: 7.551 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.6971, allocations: 7.938 kB / 0.8475 GB, free: 7.543 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.6971, allocations: 0 / 0.8475 GB, free: 7.543 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.17e-05/0.6971, allocations: 15.98 kB / 0.8475 GB, free: 7.527 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001562/0.6973, allocations: 113.3 kB / 0.8477 GB, free: 7.387 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001026/0.6974, allocations: 45.45 kB / 0.8477 GB, free: 7.336 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.347e-05/0.6974, allocations: 20.8 kB / 0.8477 GB, free: 7.312 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 1.29e-05/0.6974, allocations: 0 / 0.8477 GB, free: 7.312 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/0.6975, allocations: 42.5 kB / 0.8478 GB, free: 7.262 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=7): time 3.266e-06/0.6975, allocations: 3.984 kB / 0.8478 GB, free: 7.258 MB / 0.6231 GB Notification: Performance of matching and sorting (n=11): time 0.000707/0.6982, allocations: 298.8 kB / 0.848 GB, free: 6.934 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.5e-05/0.6983, allocations: 55.34 kB / 0.8481 GB, free: 6.867 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.116e-05/0.6983, allocations: 93.86 kB / 0.8482 GB, free: 6.766 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.6984, allocations: 29.7 kB / 0.8482 GB, free: 6.73 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 4.031e-05/0.6984, allocations: 80.14 kB / 0.8483 GB, free: 6.648 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.022e-05/0.6984, allocations: 43.86 kB / 0.8483 GB, free: 6.605 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.756e-05/0.6985, allocations: 33.83 kB / 0.8484 GB, free: 6.566 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.6986, allocations: 322.8 kB / 0.8487 GB, free: 6.242 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.571e-05/0.6987, allocations: 15.98 kB / 0.8487 GB, free: 6.227 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.591e-05/0.6987, allocations: 37.7 kB / 0.8487 GB, free: 6.184 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.004e-05/0.6988, allocations: 59.22 kB / 0.8488 GB, free: 6.121 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.6988, allocations: 0 / 0.8488 GB, free: 6.121 MB / 0.6231 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001362/0.699, allocations: 93.61 kB / 0.8489 GB, free: 6.023 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.699, allocations: 4 kB / 0.8489 GB, free: 6.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.699, allocations: 3.984 kB / 0.8489 GB, free: 6.016 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.699, allocations: 4 kB / 0.8489 GB, free: 6.012 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.6991, allocations: 24 kB / 0.8489 GB, free: 5.988 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.6991, allocations: 4 kB / 0.8489 GB, free: 5.984 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.077e-05/0.6991, allocations: 0 / 0.8489 GB, free: 5.984 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.395e-06/0.6991, allocations: 9.516 kB / 0.8489 GB, free: 5.977 MB / 0.6231 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.723e-05/0.6992, allocations: 128.7 kB / 0.849 GB, free: 5.844 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.588e-05/0.6993, allocations: 7.953 kB / 0.849 GB, free: 5.836 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.41e-05/0.6993, allocations: 11.91 kB / 0.8491 GB, free: 5.828 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.6993, allocations: 4 kB / 0.8491 GB, free: 5.824 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.6993, allocations: 0 / 0.8491 GB, free: 5.824 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.6993, allocations: 0 / 0.8491 GB, free: 5.824 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000113/0.6994, allocations: 113.3 kB / 0.8492 GB, free: 5.684 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.6994, allocations: 4.859 kB / 0.8492 GB, free: 5.68 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000121/0.6995, allocations: 24 kB / 0.8492 GB, free: 5.656 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.6995, allocations: 0 / 0.8492 GB, free: 5.656 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.6995, allocations: 0 / 0.8492 GB, free: 5.656 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.6995, allocations: 0 / 0.8492 GB, free: 5.656 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.6996, allocations: 0 / 0.8492 GB, free: 5.656 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002115/0.6998, allocations: 144.9 kB / 0.8493 GB, free: 5.496 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 5.292e-05/0.6998, allocations: 5.938 kB / 0.8493 GB, free: 5.492 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/0.6998, allocations: 4 kB / 0.8493 GB, free: 5.488 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.32e-05/0.6999, allocations: 8.031 kB / 0.8494 GB, free: 5.48 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.942e-05/0.6999, allocations: 11.98 kB / 0.8494 GB, free: 5.469 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.186e-06/0.6999, allocations: 4 kB / 0.8494 GB, free: 5.465 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 3.629e-05/0.7, allocations: 75.28 kB / 0.8494 GB, free: 5.391 MB / 0.6231 GB Notification: Performance of sort global known variables: time 6e-08/0.7, allocations: 0 / 0.8494 GB, free: 5.391 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0001938/0.7002, allocations: 16 kB / 0.8495 GB, free: 5.375 MB / 0.6231 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.0001087/0.7003, allocations: 103.2 kB / 0.8496 GB, free: 5.262 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0001363/0.7004, allocations: 64.48 kB / 0.8496 GB, free: 5.199 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.7004, allocations: 0 / 0.8496 GB, free: 5.199 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 3.806e-05/0.7005, allocations: 24.03 kB / 0.8496 GB, free: 5.176 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002131/0.7007, allocations: 16.25 kB / 0.8497 GB, free: 5.16 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005797/0.7012, allocations: 332.6 kB / 0.85 GB, free: 4.816 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.973e-05/0.7013, allocations: 68.09 kB / 0.85 GB, free: 4.73 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 5.011e-05/0.7014, allocations: 8.672 kB / 0.85 GB, free: 4.723 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.045e-05/0.7014, allocations: 11.44 kB / 0.8501 GB, free: 4.711 MB / 0.6231 GB Notification: Performance of SimCode: time 2.71e-07/0.7014, allocations: 0 / 0.8501 GB, free: 4.711 MB / 0.6231 GB Notification: Performance of Templates: time 0.003086/0.7045, allocations: 0.652 MB / 0.8507 GB, free: 4.078 MB / 0.6231 GB " [Timeout remaining time 659] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.013828558847308] Failed to read output from testmodel.py, exit status != 0: 0.712899012491107 0.726920022 0.027917052 Calling exit ...