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.001369/0.001369, allocations: 101.9 kB / 19.73 MB, free: 2.109 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.001532/0.001532, allocations: 222.5 kB / 23.03 MB, free: 4.906 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.435/1.435, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.8848/0.8848, allocations: 145 MB / 458.2 MB, free: 15.29 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: "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) [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.002177/0.002177, allocations: 62.42 kB / 0.6338 GB, free: 6.703 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1753/0.1775, allocations: 87.89 MB / 0.7197 GB, free: 14.84 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002719/0.1802, allocations: 1.29 MB / 0.7209 GB, free: 13.53 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.583/0.7632, allocations: 129 MB / 0.8469 GB, free: 8.852 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.548e-05/0.7632, allocations: 0 / 0.8469 GB, free: 8.852 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 2.241e-05/0.7632, allocations: 0 / 0.8469 GB, free: 8.852 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 5.108e-05/0.7633, allocations: 7.938 kB / 0.8469 GB, free: 8.844 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004315/0.7637, allocations: 95.94 kB / 0.847 GB, free: 8.75 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 7.992e-05/0.7638, allocations: 35.84 kB / 0.847 GB, free: 8.715 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 4.383e-05/0.7638, allocations: 8 kB / 0.847 GB, free: 8.707 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 4.464e-05/0.7639, allocations: 15.94 kB / 0.847 GB, free: 8.691 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 6.162e-05/0.764, allocations: 11.97 kB / 0.847 GB, free: 8.68 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/0.764, allocations: 4 kB / 0.847 GB, free: 8.676 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002391/0.7642, allocations: 75.83 kB / 0.8471 GB, free: 8.602 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 2.049e-05/0.7642, allocations: 11.92 kB / 0.8471 GB, free: 8.59 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 2.581e-05/0.7643, allocations: 8 kB / 0.8471 GB, free: 8.582 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0001579/0.7644, allocations: 68.52 kB / 0.8472 GB, free: 8.52 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.7644, allocations: 4 kB / 0.8472 GB, free: 8.516 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.192e-06/0.7644, allocations: 0.6562 kB / 0.8472 GB, free: 8.516 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.072e-06/0.7644, allocations: 0 / 0.8472 GB, free: 8.516 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.0004937/0.7649, allocations: 282.1 kB / 0.8475 GB, free: 8.211 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.765, allocations: 8.031 kB / 0.8475 GB, free: 8.203 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.963e-05/0.765, allocations: 4.188 kB / 0.8475 GB, free: 8.199 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.629e-05/0.765, allocations: 34.75 kB / 0.8475 GB, free: 8.156 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001816/0.7652, allocations: 12.89 kB / 0.8475 GB, free: 8.145 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/0.7653, allocations: 119.3 kB / 0.8477 GB, free: 8.004 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.7653, allocations: 4 kB / 0.8477 GB, free: 8 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.369e-05/0.7653, allocations: 8 kB / 0.8477 GB, free: 7.992 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001678/0.7655, allocations: 126.8 kB / 0.8478 GB, free: 7.844 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.7655, allocations: 0 / 0.8478 GB, free: 7.844 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.738e-05/0.7655, allocations: 4 kB / 0.8478 GB, free: 7.84 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.7655, allocations: 0 / 0.8478 GB, free: 7.84 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.95e-05/0.7656, allocations: 19.97 kB / 0.8478 GB, free: 7.82 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001768/0.7658, allocations: 136.6 kB / 0.8479 GB, free: 7.645 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 9.78e-05/0.7658, allocations: 46.5 kB / 0.848 GB, free: 7.59 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.202e-05/0.7659, allocations: 20.84 kB / 0.848 GB, free: 7.566 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 8.426e-06/0.7659, allocations: 0 / 0.848 GB, free: 7.566 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/0.7659, allocations: 40.88 kB / 0.848 GB, free: 7.52 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=7): time 8.52e-07/0.7659, allocations: 0 / 0.848 GB, free: 7.52 MB / 0.6231 GB Notification: Performance of matching and sorting (n=11): time 0.000752/0.7667, allocations: 289.3 kB / 0.8483 GB, free: 7.203 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.793e-05/0.7667, allocations: 51.41 kB / 0.8484 GB, free: 7.141 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.273e-05/0.7668, allocations: 97.84 kB / 0.8485 GB, free: 7.035 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.7668, allocations: 33.64 kB / 0.8485 GB, free: 6.996 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 3.627e-05/0.7669, allocations: 80.14 kB / 0.8486 GB, free: 6.914 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.903e-05/0.7669, allocations: 43.58 kB / 0.8486 GB, free: 6.871 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.477e-05/0.7669, allocations: 33.84 kB / 0.8486 GB, free: 6.832 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.7671, allocations: 322.8 kB / 0.8489 GB, free: 6.508 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.57e-05/0.7671, allocations: 16 kB / 0.849 GB, free: 6.492 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.962e-05/0.7672, allocations: 33.7 kB / 0.849 GB, free: 6.453 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.666e-05/0.7673, allocations: 59.38 kB / 0.8491 GB, free: 6.391 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.7673, allocations: 0 / 0.8491 GB, free: 6.391 MB / 0.6231 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001479/0.7674, allocations: 100.5 kB / 0.8491 GB, free: 6.289 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.7674, allocations: 8 kB / 0.8492 GB, free: 6.281 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.7674, allocations: 0 / 0.8492 GB, free: 6.281 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.7674, allocations: 0 / 0.8492 GB, free: 6.281 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.7676, allocations: 23.98 kB / 0.8492 GB, free: 6.258 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.353e-06/0.7676, allocations: 8.438 kB / 0.8492 GB, free: 6.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.932e-05/0.7676, allocations: 0 / 0.8492 GB, free: 6.25 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.7676, allocations: 11.94 kB / 0.8492 GB, free: 6.238 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 8.49e-05/0.7677, allocations: 113.8 kB / 0.8493 GB, free: 6.117 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.469e-05/0.7677, allocations: 3.953 kB / 0.8493 GB, free: 6.113 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.372e-05/0.7677, allocations: 15.84 kB / 0.8493 GB, free: 6.102 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.7677, allocations: 0.5625 kB / 0.8493 GB, free: 6.102 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.7677, allocations: 0 / 0.8493 GB, free: 6.102 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/0.7678, allocations: 3.984 kB / 0.8493 GB, free: 6.098 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001262/0.7679, allocations: 140.7 kB / 0.8495 GB, free: 5.918 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.7679, allocations: 7.625 kB / 0.8495 GB, free: 5.914 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001178/0.768, allocations: 19.98 kB / 0.8495 GB, free: 5.895 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.768, allocations: 4 kB / 0.8495 GB, free: 5.891 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.768, allocations: 11.92 kB / 0.8495 GB, free: 5.879 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.768, allocations: 0 / 0.8495 GB, free: 5.879 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.768, allocations: 0 / 0.8495 GB, free: 5.879 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000211/0.7682, allocations: 141.9 kB / 0.8496 GB, free: 5.723 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 4.48e-05/0.7683, allocations: 4 kB / 0.8496 GB, free: 5.719 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.7683, allocations: 0 / 0.8496 GB, free: 5.719 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.84e-05/0.7684, allocations: 12.03 kB / 0.8497 GB, free: 5.707 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.827e-05/0.7684, allocations: 7.984 kB / 0.8497 GB, free: 5.699 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-06/0.7684, allocations: 4 kB / 0.8497 GB, free: 5.695 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 4.794e-05/0.7685, allocations: 83.22 kB / 0.8497 GB, free: 5.613 MB / 0.6231 GB Notification: Performance of sort global known variables: time 7.1e-08/0.7685, allocations: 0 / 0.8497 GB, free: 5.613 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0001924/0.7687, allocations: 16 kB / 0.8498 GB, free: 5.598 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.0004935/0.7691, allocations: 0.6679 MB / 0.8504 GB, free: 4.898 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0001356/0.7693, allocations: 55.95 kB / 0.8505 GB, free: 4.844 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.7693, allocations: 0 / 0.8505 GB, free: 4.844 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 4.376e-05/0.7693, allocations: 32.41 kB / 0.8505 GB, free: 4.812 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002472/0.7696, allocations: 12.66 kB / 0.8505 GB, free: 4.801 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00152/0.7711, allocations: 1.445 MB / 0.8519 GB, free: 3.277 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.478e-05/0.7712, allocations: 67.34 kB / 0.852 GB, free: 3.191 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 5.714e-05/0.7712, allocations: 12.66 kB / 0.852 GB, free: 3.18 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.971e-05/0.7713, allocations: 15.44 kB / 0.852 GB, free: 3.164 MB / 0.6231 GB Notification: Performance of SimCode: time 2.9e-07/0.7713, allocations: 0 / 0.852 GB, free: 3.164 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02442/0.7957, allocations: 1.903 MB / 0.8539 GB, free: 1.426 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/12.4, allocations: 10.38 kB / 0.8539 GB, free: 1.422 MB / 0.6231 GB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.114086210960522] Failed to read output from testmodel.py, exit status != 0: 12.564733115024865 12.589884051 11.820515988 Calling exit ...