Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck.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.0007598/0.0007598, 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.0007769/0.0007769, allocations: 165.9 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.9002/0.9002, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.5411/0.5411, allocations: 110.2 MB / 369.4 MB, free: 12.64 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.Examples.SteamDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.5472 GB, free: 8.836 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.234e-05/2.402e-05, allocations: 2.281 kB / 0.5472 GB, free: 8.832 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck): time 0.001702/0.001726, allocations: 1.277 MB / 0.5485 GB, free: 7.543 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.4061/0.4078, allocations: 121 MB / 0.6666 GB, free: 9.586 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.578e-05/0.4079, allocations: 0 / 0.6666 GB, free: 9.586 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.386e-05/0.4079, allocations: 3 kB / 0.6666 GB, free: 9.586 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 4.987e-05/0.408, allocations: 4.156 kB / 0.6666 GB, free: 9.586 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001677/0.4096, allocations: 469 kB / 0.6671 GB, free: 9.586 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 8.854e-05/0.4097, allocations: 48.31 kB / 0.6671 GB, free: 9.582 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.705e-05/0.4098, allocations: 4.797 kB / 0.6671 GB, free: 9.578 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 6.328e-05/0.4098, allocations: 28.88 kB / 0.6671 GB, free: 9.578 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 8.197e-05/0.4099, allocations: 17.2 kB / 0.6672 GB, free: 9.578 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.319e-05/0.4099, allocations: 0 / 0.6672 GB, free: 9.578 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001209/0.4111, allocations: 0.8023 MB / 0.6679 GB, free: 9.57 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 2.242e-05/0.4111, allocations: 12.89 kB / 0.668 GB, free: 9.57 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.966e-05/0.4112, allocations: 15.27 kB / 0.668 GB, free: 9.57 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0006077/0.4118, allocations: 0.5643 MB / 0.6685 GB, free: 9.559 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.4118, allocations: 0 / 0.6685 GB, free: 9.559 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4118, allocations: 0 / 0.6685 GB, free: 9.559 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.4118, allocations: 2.344 kB / 0.6685 GB, free: 9.559 MB / 0.5573 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.000443/0.4122, allocations: 307 kB / 0.6688 GB, free: 9.281 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.4123, allocations: 8.844 kB / 0.6688 GB, free: 9.281 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.295e-05/0.4123, allocations: 30.75 kB / 0.6689 GB, free: 9.242 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001211/0.4124, allocations: 16.61 kB / 0.6689 GB, free: 9.242 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.039e-05/0.4125, allocations: 104.4 kB / 0.669 GB, free: 9.117 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.4125, allocations: 3.094 kB / 0.669 GB, free: 9.117 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/0.4125, allocations: 15.75 kB / 0.669 GB, free: 9.113 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/0.4126, allocations: 134.2 kB / 0.6691 GB, free: 8.988 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.4126, allocations: 3.938 kB / 0.6691 GB, free: 8.984 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.4126, allocations: 0 / 0.6691 GB, free: 8.984 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.4126, allocations: 0 / 0.6691 GB, free: 8.984 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.791e-05/0.4127, allocations: 23.16 kB / 0.6691 GB, free: 8.98 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001088/0.4128, allocations: 134.9 kB / 0.6693 GB, free: 8.828 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 7.345e-05/0.4129, allocations: 46.17 kB / 0.6693 GB, free: 8.805 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.03e-05/0.4129, allocations: 17.62 kB / 0.6693 GB, free: 8.797 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005418/0.4183, allocations: 2.869 MB / 0.6721 GB, free: 8.539 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.4183, allocations: 34.59 kB / 0.6722 GB, free: 8.5 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=7): time 1.382e-06/0.4183, allocations: 0 / 0.6722 GB, free: 8.5 MB / 0.5573 GB Notification: Performance of matching and sorting (n=11): time 0.02179/0.4401, allocations: 14.94 MB / 0.6867 GB, free: 6.711 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.927e-05/0.4402, allocations: 56.66 kB / 0.6868 GB, free: 6.648 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.939e-05/0.4402, allocations: 95.95 kB / 0.6869 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 7.594e-06/0.4402, allocations: 27.92 kB / 0.6869 GB, free: 6.52 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 1.039e-05/0.4402, allocations: 83.14 kB / 0.687 GB, free: 6.438 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.17e-05/0.4403, allocations: 37.95 kB / 0.687 GB, free: 6.41 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.629e-05/0.4403, allocations: 33.56 kB / 0.6871 GB, free: 6.395 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.34e-05/0.4403, allocations: 316 kB / 0.6874 GB, free: 6.082 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.309e-05/0.4404, allocations: 26.72 kB / 0.6874 GB, free: 6.078 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.823e-05/0.4404, allocations: 22.45 kB / 0.6874 GB, free: 6.078 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.403e-05/0.4405, allocations: 69 kB / 0.6875 GB, free: 6.07 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.4405, allocations: 0 / 0.6875 GB, free: 6.07 MB / 0.5573 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001334/0.4406, allocations: 110.8 kB / 0.6876 GB, free: 6.027 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.4406, allocations: 5.469 kB / 0.6876 GB, free: 6.027 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.4406, allocations: 3.984 kB / 0.6876 GB, free: 6.023 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.4407, allocations: 2.484 kB / 0.6876 GB, free: 6.023 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.537e-05/0.4407, allocations: 22.41 kB / 0.6876 GB, free: 6.023 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.4407, allocations: 4.203 kB / 0.6876 GB, free: 6.023 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.827e-05/0.4408, allocations: 8.812 kB / 0.6876 GB, free: 6.02 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.4408, allocations: 5.188 kB / 0.6876 GB, free: 6.02 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 4.816e-05/0.4408, allocations: 120.1 kB / 0.6878 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.884e-05/0.4409, allocations: 10.23 kB / 0.6878 GB, free: 5.898 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001924/0.441, allocations: 127 kB / 0.6879 GB, free: 5.852 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.441, allocations: 0 / 0.6879 GB, free: 5.852 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.391e-06/0.4411, allocations: 2.219 kB / 0.6879 GB, free: 5.852 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.4411, allocations: 6.391 kB / 0.6879 GB, free: 5.848 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.826e-05/0.4411, allocations: 138.7 kB / 0.688 GB, free: 5.695 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.4411, allocations: 7.875 kB / 0.688 GB, free: 5.688 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.021e-05/0.4412, allocations: 29.97 kB / 0.6881 GB, free: 5.688 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.4412, allocations: 0 / 0.6881 GB, free: 5.688 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.4412, allocations: 3.281 kB / 0.6881 GB, free: 5.688 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.4412, allocations: 2.344 kB / 0.6881 GB, free: 5.688 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.4412, allocations: 0.5 kB / 0.6881 GB, free: 5.688 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001908/0.4414, allocations: 151.8 kB / 0.6882 GB, free: 5.621 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.006e-05/0.4415, allocations: 14.7 kB / 0.6882 GB, free: 5.617 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.281e-05/0.4415, allocations: 4 kB / 0.6882 GB, free: 5.613 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.477e-05/0.4415, allocations: 15.98 kB / 0.6882 GB, free: 5.613 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.888e-05/0.4416, allocations: 9.984 kB / 0.6883 GB, free: 5.613 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.867e-06/0.4416, allocations: 5.938 kB / 0.6883 GB, free: 5.613 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.259e-05/0.4416, allocations: 80.97 kB / 0.6883 GB, free: 5.539 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.4416, allocations: 0 / 0.6883 GB, free: 5.539 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001608/0.4432, allocations: 0.5643 MB / 0.6889 GB, free: 5.52 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hVapSym,cpSym,cvSym) * 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.002628/0.4458, allocations: 0.9846 MB / 0.6898 GB, free: 4.883 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001493/0.446, allocations: 63.81 kB / 0.6899 GB, free: 4.883 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.446, allocations: 0 / 0.6899 GB, free: 4.883 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 3.567e-05/0.446, allocations: 32.14 kB / 0.6899 GB, free: 4.883 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001591/0.4462, allocations: 25.03 kB / 0.69 GB, free: 4.875 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00166/0.4478, allocations: 1.487 MB / 0.6914 GB, free: 3.672 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.588e-05/0.4479, allocations: 73.94 kB / 0.6915 GB, free: 3.598 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 7.099e-05/0.448, allocations: 23.7 kB / 0.6915 GB, free: 3.586 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.613e-05/0.448, allocations: 23.7 kB / 0.6915 GB, free: 3.578 MB / 0.5573 GB Notification: Performance of SimCode: time 1.052e-06/0.448, allocations: 3.438 kB / 0.6915 GB, free: 3.578 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04701/0.495, allocations: 26.29 MB / 0.7172 GB, free: 6.457 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.168/7.663, allocations: 15.97 kB / 0.7172 GB, free: 6.445 MB / 0.573 GB " [Timeout remaining time 652] (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-10 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.477445155382156] Failed to read output from testmodel.py, exit status != 0: 7.752828134223819 7.763858234 7.348858426 Calling exit ...