Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.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.001185/0.001185, allocations: 76.45 kB / 19.17 MB, free: 0.75 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.001492/0.001492, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.9133/0.9133, allocations: 177.2 MB / 202.8 MB, free: 5.727 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.5295/0.5295, allocations: 110.2 MB / 369.4 MB, free: 12.62 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.WaterTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 0.5472 GB, free: 9.855 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 5.215e-05/5.43e-05, allocations: 3.828 kB / 0.5472 GB, free: 9.852 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004363/0.004417, allocations: 3.905 MB / 0.5511 GB, free: 5.914 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0001226/0.00454, allocations: 143.4 kB / 0.5512 GB, free: 5.773 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.352e-05/0.004563, allocations: 0 / 0.5512 GB, free: 5.773 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0001017/0.004665, allocations: 4 kB / 0.5512 GB, free: 5.77 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 7.607e-05/0.004741, allocations: 15.86 kB / 0.5512 GB, free: 5.754 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002971/0.005038, allocations: 94.86 kB / 0.5513 GB, free: 5.664 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 8.181e-05/0.00512, allocations: 35.84 kB / 0.5513 GB, free: 5.629 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 4.306e-05/0.005163, allocations: 0 / 0.5513 GB, free: 5.629 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 4.971e-05/0.005213, allocations: 23.97 kB / 0.5514 GB, free: 5.605 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 6.861e-05/0.005281, allocations: 15.92 kB / 0.5514 GB, free: 5.59 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.088e-05/0.005292, allocations: 0 / 0.5514 GB, free: 5.59 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001428/0.005435, allocations: 47.81 kB / 0.5514 GB, free: 5.543 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 4.459e-05/0.00548, allocations: 11.98 kB / 0.5514 GB, free: 5.531 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.032e-05/0.0055, allocations: 11.94 kB / 0.5514 GB, free: 5.52 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001216/0.005622, allocations: 63.84 kB / 0.5515 GB, free: 5.457 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.005626, allocations: 0 / 0.5515 GB, free: 5.457 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.433e-06/0.005627, allocations: 0 / 0.5515 GB, free: 5.457 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.005632, allocations: 0 / 0.5515 GB, free: 5.457 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003507/0.005983, allocations: 262.3 kB / 0.5518 GB, free: 5.172 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.006023, allocations: 8.625 kB / 0.5518 GB, free: 5.164 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.247e-05/0.006055, allocations: 34.69 kB / 0.5518 GB, free: 5.121 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.271e-05/0.006088, allocations: 4.938 kB / 0.5518 GB, free: 5.117 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.366e-05/0.006161, allocations: 109.8 kB / 0.5519 GB, free: 4.984 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.113e-05/0.006223, allocations: 59.97 kB / 0.552 GB, free: 4.914 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.615e-06/0.00623, allocations: 384 / 0.552 GB, free: 4.914 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/0.00634, allocations: 63.95 kB / 0.552 GB, free: 4.84 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.006347, allocations: 3.938 kB / 0.552 GB, free: 4.836 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.795e-06/0.006355, allocations: 3.938 kB / 0.552 GB, free: 4.832 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.819e-05/0.006373, allocations: 7.938 kB / 0.552 GB, free: 4.824 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.566e-05/0.006408, allocations: 19.97 kB / 0.5521 GB, free: 4.805 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003203/0.006729, allocations: 232 kB / 0.5523 GB, free: 4.535 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 3.105e-05/0.00676, allocations: 18.58 kB / 0.5523 GB, free: 4.508 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.396e-05/0.006774, allocations: 12.84 kB / 0.5523 GB, free: 4.492 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.772e-05/0.006811, allocations: 4.062 kB / 0.5523 GB, free: 4.488 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.006839, allocations: 42.5 kB / 0.5524 GB, free: 4.438 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 7.21e-07/0.006839, allocations: 0 / 0.5524 GB, free: 4.438 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0001123/0.006952, allocations: 29.7 kB / 0.5524 GB, free: 4.402 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.602e-05/0.006978, allocations: 55.41 kB / 0.5524 GB, free: 4.336 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.478e-05/0.007033, allocations: 105.8 kB / 0.5525 GB, free: 4.223 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.818e-06/0.007042, allocations: 25.7 kB / 0.5526 GB, free: 4.191 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.36e-05/0.007076, allocations: 92.08 kB / 0.5526 GB, free: 4.098 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.438e-06/0.00708, allocations: 8.078 kB / 0.5527 GB, free: 4.09 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.184e-05/0.007102, allocations: 21.7 kB / 0.5527 GB, free: 4.062 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.236e-05/0.007165, allocations: 310.8 kB / 0.553 GB, free: 3.75 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.002e-05/0.007175, allocations: 4 kB / 0.553 GB, free: 3.746 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.763e-05/0.007192, allocations: 21.7 kB / 0.553 GB, free: 3.719 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.517e-05/0.007217, allocations: 25.59 kB / 0.553 GB, free: 3.688 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.007219, allocations: 0 / 0.553 GB, free: 3.688 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.86e-05/0.007268, allocations: 49.62 kB / 0.5531 GB, free: 3.633 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.006e-05/0.007278, allocations: 8.062 kB / 0.5531 GB, free: 3.625 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.007282, allocations: 0 / 0.5531 GB, free: 3.625 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.007294, allocations: 4 kB / 0.5531 GB, free: 3.621 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.383e-05/0.007328, allocations: 4 kB / 0.5531 GB, free: 3.617 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.007333, allocations: 0 / 0.5531 GB, free: 3.617 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.061e-05/0.007344, allocations: 0 / 0.5531 GB, free: 3.617 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.007352, allocations: 4 kB / 0.5531 GB, free: 3.613 MB / 0.5105 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 (3): * Single equations (assignments): 3 * 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.888e-05/0.007401, allocations: 117.8 kB / 0.5532 GB, free: 3.488 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.389e-05/0.007415, allocations: 4 kB / 0.5532 GB, free: 3.484 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.767e-05/0.007492, allocations: 116.9 kB / 0.5533 GB, free: 3.363 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.031e-05/0.007533, allocations: 184.3 kB / 0.5535 GB, free: 3.176 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.931e-05/0.007572, allocations: 184.2 kB / 0.5537 GB, free: 2.988 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-05/0.00761, allocations: 184.2 kB / 0.5538 GB, free: 2.801 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001301/0.00774, allocations: 380.1 kB / 0.5542 GB, free: 2.379 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.958e-05/0.00777, allocations: 116.8 kB / 0.5543 GB, free: 2.258 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.227e-05/0.007792, allocations: 101 kB / 0.5544 GB, free: 2.152 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.974e-05/0.007832, allocations: 180.3 kB / 0.5546 GB, free: 1.969 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.171e-05/0.007873, allocations: 180.2 kB / 0.5548 GB, free: 1.785 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.874e-05/0.007912, allocations: 176.3 kB / 0.5549 GB, free: 1.605 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-05/0.007958, allocations: 188.2 kB / 0.5551 GB, free: 1.414 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.048e-05/0.008049, allocations: 307.8 kB / 0.5554 GB, free: 1.09 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 2.602e-05/0.008075, allocations: 104.9 kB / 0.5555 GB, free: 0.9805 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.02e-05/0.008125, allocations: 184.2 kB / 0.5557 GB, free: 0.793 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.153e-05/0.008217, allocations: 108.9 kB / 0.5558 GB, free: 0.6797 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.49e-05/0.008262, allocations: 180.3 kB / 0.5559 GB, free: 0.4961 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.441e-05/0.008286, allocations: 109.3 kB / 0.5561 GB, free: 392 kB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.252e-05/0.008319, allocations: 91.2 kB / 0.5561 GB, free: 300 kB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.008319, allocations: 0 / 0.5561 GB, free: 300 kB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000156/0.008475, allocations: 15.94 kB / 0.5562 GB, free: 284 kB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.000328/0.008803, allocations: 0.8321 MB / 0.557 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 5.123e-05/0.008854, allocations: 7.938 kB / 0.557 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.008855, allocations: 4 kB / 0.557 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.933e-06/0.008857, allocations: 4.031 kB / 0.557 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003055/0.009163, allocations: 461.7 kB / 0.5574 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000698/0.009861, allocations: 1.316 MB / 0.5587 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.857e-05/0.009899, allocations: 63.77 kB / 0.5588 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.267e-05/0.009932, allocations: 8.125 kB / 0.5588 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.314e-05/0.009955, allocations: 8.5 kB / 0.5588 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of SimCode: time 4.91e-07/0.009955, allocations: 0 / 0.5588 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01516/0.02512, allocations: 2.175 MB / 0.5609 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.955/6.98, allocations: 7.391 kB / 0.5609 GB, free: 11.39 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.594539858400822] Failed to read output from testmodel.py, exit status != 0: 7.064956360496581 7.078182554 7.070073739 Calling exit ...