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.001094/0.001094, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008839/0.0008839, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.922/0.922, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.5535/0.5535, allocations: 110.2 MB / 369.4 MB, free: 12.61 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 0.5472 GB, free: 9.832 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.304e-05/2.512e-05, allocations: 2.281 kB / 0.5472 GB, free: 9.828 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002833/0.002858, allocations: 1.295 MB / 0.5485 GB, free: 8.523 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.124/0.1268, allocations: 129.1 MB / 0.6746 GB, free: 6.93 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.697e-05/0.1269, allocations: 0 / 0.6746 GB, free: 6.93 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.227e-05/0.1269, allocations: 0 / 0.6746 GB, free: 6.93 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.482e-05/0.127, allocations: 7.922 kB / 0.6746 GB, free: 6.922 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004469/0.1274, allocations: 95.44 kB / 0.6747 GB, free: 6.828 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001009/0.1275, allocations: 39.84 kB / 0.6747 GB, free: 6.789 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.344e-05/0.1275, allocations: 0 / 0.6747 GB, free: 6.789 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 6.507e-05/0.1276, allocations: 19.98 kB / 0.6747 GB, free: 6.77 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 6.187e-05/0.1277, allocations: 15.97 kB / 0.6747 GB, free: 6.754 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.698e-05/0.1277, allocations: 4 kB / 0.6747 GB, free: 6.75 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002238/0.1279, allocations: 83.69 kB / 0.6748 GB, free: 6.668 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.896e-05/0.1279, allocations: 3.984 kB / 0.6748 GB, free: 6.664 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.658e-05/0.128, allocations: 15.98 kB / 0.6748 GB, free: 6.648 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001738/0.1281, allocations: 63.81 kB / 0.6749 GB, free: 6.586 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 9.037e-06/0.1282, allocations: 3.984 kB / 0.6749 GB, free: 6.582 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.144e-06/0.1282, allocations: 7.938 kB / 0.6749 GB, free: 6.574 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.684e-06/0.1282, allocations: 4 kB / 0.6749 GB, free: 6.57 MB / 0.6355 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.0004642/0.1286, allocations: 270.2 kB / 0.6752 GB, free: 6.277 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.63e-05/0.1287, allocations: 12.03 kB / 0.6752 GB, free: 6.266 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.999e-05/0.1287, allocations: 34.69 kB / 0.6752 GB, free: 6.223 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001738/0.1289, allocations: 12.92 kB / 0.6752 GB, free: 6.211 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.073e-05/0.129, allocations: 109.8 kB / 0.6753 GB, free: 6.078 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.129, allocations: 4.375 kB / 0.6753 GB, free: 6.074 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.829e-05/0.129, allocations: 8.125 kB / 0.6754 GB, free: 6.066 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.1292, allocations: 134.8 kB / 0.6755 GB, free: 5.91 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.1292, allocations: 0 / 0.6755 GB, free: 5.91 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.1292, allocations: 0 / 0.6755 GB, free: 5.91 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.1292, allocations: 3.938 kB / 0.6755 GB, free: 5.906 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.163e-05/0.1293, allocations: 15.98 kB / 0.6755 GB, free: 5.891 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001604/0.1294, allocations: 132.8 kB / 0.6756 GB, free: 5.719 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003883/0.1298, allocations: 50.56 kB / 0.6757 GB, free: 5.66 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.866e-05/0.1298, allocations: 24.94 kB / 0.6757 GB, free: 5.633 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.298e-05/0.1298, allocations: 3.984 kB / 0.6757 GB, free: 5.629 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.1299, allocations: 30.56 kB / 0.6757 GB, free: 5.59 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.605e-06/0.1299, allocations: 8 kB / 0.6757 GB, free: 5.582 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0007007/0.1306, allocations: 297 kB / 0.676 GB, free: 5.258 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.679e-05/0.1306, allocations: 55.34 kB / 0.6761 GB, free: 5.191 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.396e-05/0.1307, allocations: 97.86 kB / 0.6762 GB, free: 5.086 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.1307, allocations: 25.7 kB / 0.6762 GB, free: 5.055 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.687e-05/0.1307, allocations: 80.14 kB / 0.6763 GB, free: 4.973 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.588e-05/0.1308, allocations: 47.62 kB / 0.6763 GB, free: 4.926 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.067e-05/0.1308, allocations: 29.7 kB / 0.6763 GB, free: 4.891 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.92e-05/0.1309, allocations: 322.9 kB / 0.6767 GB, free: 4.566 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.24e-05/0.1309, allocations: 27.98 kB / 0.6767 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.504e-05/0.131, allocations: 29.7 kB / 0.6767 GB, free: 4.504 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.947e-05/0.1311, allocations: 57.72 kB / 0.6768 GB, free: 4.441 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.1311, allocations: 0 / 0.6768 GB, free: 4.441 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001219/0.1312, allocations: 94.23 kB / 0.6769 GB, free: 4.344 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.1312, allocations: 4 kB / 0.6769 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.1312, allocations: 3.984 kB / 0.6769 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.1312, allocations: 4 kB / 0.6769 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.1313, allocations: 19.94 kB / 0.6769 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.1314, allocations: 4 kB / 0.6769 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.445e-05/0.1314, allocations: 12 kB / 0.6769 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.1314, allocations: 4 kB / 0.6769 GB, free: 4.293 MB / 0.6355 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.388e-05/0.1315, allocations: 125.7 kB / 0.677 GB, free: 4.16 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.379e-05/0.1315, allocations: 7.953 kB / 0.677 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.77e-05/0.1315, allocations: 11.97 kB / 0.677 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.1315, allocations: 4 kB / 0.677 GB, free: 4.137 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.1315, allocations: 0 / 0.677 GB, free: 4.137 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.1315, allocations: 0 / 0.677 GB, free: 4.137 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001141/0.1317, allocations: 140.7 kB / 0.6772 GB, free: 3.957 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1317, allocations: 3.938 kB / 0.6772 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.298e-05/0.1318, allocations: 27.92 kB / 0.6772 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1318, allocations: 0 / 0.6772 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.866e-06/0.1318, allocations: 4 kB / 0.6772 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.1318, allocations: 0 / 0.6772 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1318, allocations: 0 / 0.6772 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000199/0.132, allocations: 133 kB / 0.6773 GB, free: 3.773 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.492e-05/0.132, allocations: 11.97 kB / 0.6774 GB, free: 3.762 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.1321, allocations: 0 / 0.6774 GB, free: 3.762 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.637e-05/0.1321, allocations: 8 kB / 0.6774 GB, free: 3.754 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.729e-05/0.1321, allocations: 3.984 kB / 0.6774 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.1321, allocations: 4 kB / 0.6774 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.864e-05/0.1322, allocations: 83.22 kB / 0.6774 GB, free: 3.664 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.1322, allocations: 0 / 0.6774 GB, free: 3.664 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001506/0.1323, allocations: 20 kB / 0.6775 GB, free: 3.645 MB / 0.6355 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.0003797/0.1327, allocations: 0.667 MB / 0.6781 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000156/0.1328, allocations: 59.97 kB / 0.6782 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.1329, allocations: 0 / 0.6782 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.171e-05/0.1329, allocations: 32.25 kB / 0.6782 GB, free: 2.855 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002712/0.1332, allocations: 8.219 kB / 0.6782 GB, free: 2.848 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.1342, allocations: 1.384 MB / 0.6796 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.544e-05/0.1343, allocations: 75.27 kB / 0.6796 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.902e-05/0.1344, allocations: 8.734 kB / 0.6796 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.393e-05/0.1344, allocations: 20.48 kB / 0.6797 GB, free: 1.254 MB / 0.6355 GB Notification: Performance of SimCode: time 7.92e-07/0.1344, allocations: 0 / 0.6797 GB, free: 1.254 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2442/0.3786, allocations: 2.331 MB / 0.6819 GB, free: 173.9 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.052/7.43, allocations: 2.984 kB / 0.6819 GB, free: 173.9 MB / 0.6355 GB " [Timeout remaining time 652] (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: 10.037673654966056] Failed to read output from testmodel.py, exit status != 0: 7.507718506269157 7.513691288 7.384133142 Calling exit ...