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.001344/0.001344, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001448/0.001448, allocations: 213.1 kB / 22.25 MB, free: 4.855 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.508/1.508, allocations: 230.6 MB / 256 MB, free: 7.801 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.9103/0.9103, allocations: 145 MB / 457.4 MB, free: 15.28 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="me",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.002319/0.002319, allocations: 67 kB / 0.6331 GB, free: 6.742 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1852/0.1875, allocations: 87.89 MB / 0.7189 GB, free: 14.89 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.003015/0.1905, allocations: 1.275 MB / 0.7201 GB, free: 13.6 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.6019/0.7925, allocations: 129.1 MB / 0.8462 GB, free: 8.863 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.538e-05/0.7925, allocations: 0 / 0.8462 GB, free: 8.863 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 3.125e-05/0.7925, allocations: 7.922 kB / 0.8462 GB, free: 8.855 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 5.062e-05/0.7926, allocations: 0 / 0.8462 GB, free: 8.855 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004364/0.793, allocations: 92.81 kB / 0.8463 GB, free: 8.766 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 9.749e-05/0.7931, allocations: 39.86 kB / 0.8463 GB, free: 8.727 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 4.806e-05/0.7932, allocations: 3.984 kB / 0.8463 GB, free: 8.723 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 4.675e-05/0.7932, allocations: 19.92 kB / 0.8463 GB, free: 8.703 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 7.229e-05/0.7933, allocations: 15.92 kB / 0.8464 GB, free: 8.688 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.215e-05/0.7933, allocations: 0 / 0.8464 GB, free: 8.688 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002631/0.7936, allocations: 75.83 kB / 0.8464 GB, free: 8.613 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 2.079e-05/0.7936, allocations: 11.98 kB / 0.8464 GB, free: 8.602 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 3.641e-05/0.7936, allocations: 11.94 kB / 0.8465 GB, free: 8.59 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0001792/0.7938, allocations: 72.5 kB / 0.8465 GB, free: 8.523 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.7938, allocations: 4 kB / 0.8465 GB, free: 8.52 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.824e-06/0.7938, allocations: 4 kB / 0.8465 GB, free: 8.516 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.7938, allocations: 0 / 0.8465 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.0004456/0.7943, allocations: 270.2 kB / 0.8468 GB, free: 8.223 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.7943, allocations: 13.38 kB / 0.8468 GB, free: 8.211 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.223e-05/0.7943, allocations: 34.75 kB / 0.8468 GB, free: 8.168 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001943/0.7945, allocations: 17.75 kB / 0.8468 GB, free: 8.152 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.84e-05/0.7946, allocations: 106.5 kB / 0.847 GB, free: 8.023 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.7946, allocations: 3.938 kB / 0.847 GB, free: 8.02 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.578e-05/0.7947, allocations: 8 kB / 0.847 GB, free: 8.012 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.7948, allocations: 134.8 kB / 0.8471 GB, free: 7.855 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.7949, allocations: 0 / 0.8471 GB, free: 7.855 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.7949, allocations: 0 / 0.8471 GB, free: 7.855 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.7949, allocations: 4 kB / 0.8471 GB, free: 7.852 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.575e-05/0.7949, allocations: 15.92 kB / 0.8471 GB, free: 7.836 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001831/0.7951, allocations: 141.8 kB / 0.8472 GB, free: 7.656 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 9.983e-05/0.7952, allocations: 46.56 kB / 0.8473 GB, free: 7.602 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.2e-05/0.7952, allocations: 12.86 kB / 0.8473 GB, free: 7.586 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 1.145e-05/0.7952, allocations: 0 / 0.8473 GB, free: 7.586 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.7953, allocations: 39.48 kB / 0.8473 GB, free: 7.539 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=7): time 1.093e-06/0.7953, allocations: 0 / 0.8473 GB, free: 7.539 MB / 0.6231 GB Notification: Performance of matching and sorting (n=11): time 0.0007114/0.796, allocations: 298.6 kB / 0.8476 GB, free: 7.215 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.796, allocations: 51.41 kB / 0.8477 GB, free: 7.152 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.842e-05/0.7961, allocations: 97.86 kB / 0.8478 GB, free: 7.047 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.7961, allocations: 25.7 kB / 0.8478 GB, free: 7.016 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 4.055e-05/0.7962, allocations: 80.14 kB / 0.8479 GB, free: 6.934 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.427e-05/0.7962, allocations: 47.58 kB / 0.8479 GB, free: 6.887 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.597e-05/0.7963, allocations: 29.7 kB / 0.8479 GB, free: 6.852 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.7964, allocations: 318.8 kB / 0.8482 GB, free: 6.531 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.687e-05/0.7965, allocations: 25.42 kB / 0.8483 GB, free: 6.508 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.636e-05/0.7965, allocations: 37.7 kB / 0.8483 GB, free: 6.465 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.752e-05/0.7966, allocations: 60.69 kB / 0.8484 GB, free: 6.402 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.7966, allocations: 0 / 0.8484 GB, free: 6.402 MB / 0.6231 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001389/0.7968, allocations: 97.61 kB / 0.8485 GB, free: 6.305 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.7968, allocations: 8 kB / 0.8485 GB, free: 6.297 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.778e-06/0.7968, allocations: 0 / 0.8485 GB, free: 6.297 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.7968, allocations: 0 / 0.8485 GB, free: 6.297 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.7969, allocations: 23.94 kB / 0.8485 GB, free: 6.273 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.7969, allocations: 3.984 kB / 0.8485 GB, free: 6.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.035e-05/0.7969, allocations: 0 / 0.8485 GB, free: 6.27 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.797, allocations: 12 kB / 0.8485 GB, free: 6.258 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.637e-05/0.797, allocations: 121.8 kB / 0.8486 GB, free: 6.129 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.36e-05/0.7971, allocations: 3.953 kB / 0.8486 GB, free: 6.125 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.38e-05/0.7971, allocations: 15.84 kB / 0.8486 GB, free: 6.113 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.7971, allocations: 0 / 0.8486 GB, free: 6.113 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.7971, allocations: 0 / 0.8486 GB, free: 6.113 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.7971, allocations: 3.938 kB / 0.8486 GB, free: 6.109 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001393/0.7972, allocations: 144.7 kB / 0.8488 GB, free: 5.926 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.7972, allocations: 0 / 0.8488 GB, free: 5.926 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001192/0.7974, allocations: 27.92 kB / 0.8488 GB, free: 5.898 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.7974, allocations: 8 kB / 0.8488 GB, free: 5.891 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.7974, allocations: 0 / 0.8488 GB, free: 5.891 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.7974, allocations: 0 / 0.8488 GB, free: 5.891 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.7974, allocations: 0 / 0.8488 GB, free: 5.891 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002145/0.7976, allocations: 137 kB / 0.8489 GB, free: 5.738 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 4.832e-05/0.7976, allocations: 8.031 kB / 0.849 GB, free: 5.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.7977, allocations: 0 / 0.849 GB, free: 5.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.288e-05/0.7977, allocations: 8 kB / 0.849 GB, free: 5.723 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.457e-05/0.7978, allocations: 15.86 kB / 0.849 GB, free: 5.707 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.7978, allocations: 0 / 0.849 GB, free: 5.707 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 4.216e-05/0.7978, allocations: 83.28 kB / 0.8491 GB, free: 5.625 MB / 0.6231 GB Notification: Performance of sort global known variables: time 7e-08/0.7978, allocations: 0 / 0.8491 GB, free: 5.625 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0001959/0.798, allocations: 19.94 kB / 0.8491 GB, free: 5.605 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.0005351/0.7985, allocations: 0.6678 MB / 0.8497 GB, free: 4.906 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0001424/0.7987, allocations: 59.89 kB / 0.8498 GB, free: 4.848 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/0.7987, allocations: 0 / 0.8498 GB, free: 4.848 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 3.997e-05/0.7987, allocations: 23.94 kB / 0.8498 GB, free: 4.824 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002448/0.799, allocations: 10.67 kB / 0.8498 GB, free: 4.816 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001547/0.8005, allocations: 1.45 MB / 0.8512 GB, free: 3.289 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.708e-05/0.8006, allocations: 79.27 kB / 0.8513 GB, free: 3.191 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 5.159e-05/0.8006, allocations: 8.672 kB / 0.8513 GB, free: 3.184 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.411e-05/0.8007, allocations: 15.44 kB / 0.8513 GB, free: 3.168 MB / 0.6231 GB Notification: Performance of SimCode: time 2.91e-07/0.8007, allocations: 0 / 0.8513 GB, free: 3.168 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03543/0.8361, allocations: 2.205 MB / 0.8535 GB, free: 1.109 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/12, allocations: 8.188 kB / 0.8535 GB, free: 1.105 MB / 0.6231 GB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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: 15.997970141936094] Failed to read output from testmodel.py, exit status != 0: 12.117610838264227 12.140905681 11.343684701 Calling exit ...