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.0008321/0.0008321, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0009066/0.0009066, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9039/0.9039, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.5175/0.5175, 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 1.744e-06/1.744e-06, allocations: 0 / 0.5472 GB, free: 9.855 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.883e-05/2.057e-05, allocations: 6.281 kB / 0.5472 GB, free: 9.848 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.003944/0.003965, allocations: 3.893 MB / 0.551 GB, free: 5.922 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0001267/0.004091, allocations: 155.3 kB / 0.5512 GB, free: 5.77 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.23e-05/0.004114, allocations: 0 / 0.5512 GB, free: 5.77 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 9.772e-05/0.004212, allocations: 3.984 kB / 0.5512 GB, free: 5.766 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 7.049e-05/0.004282, allocations: 11.88 kB / 0.5512 GB, free: 5.754 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002984/0.00458, allocations: 91.59 kB / 0.5513 GB, free: 5.664 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 7.177e-05/0.004652, allocations: 35.86 kB / 0.5513 GB, free: 5.629 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.903e-05/0.004691, allocations: 4 kB / 0.5513 GB, free: 5.625 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 4.892e-05/0.00474, allocations: 19.91 kB / 0.5514 GB, free: 5.605 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 6.446e-05/0.004805, allocations: 11.98 kB / 0.5514 GB, free: 5.594 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.197e-05/0.004817, allocations: 0 / 0.5514 GB, free: 5.594 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001558/0.004972, allocations: 63.73 kB / 0.5514 GB, free: 5.531 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 4.18e-05/0.005014, allocations: 0 / 0.5514 GB, free: 5.531 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.952e-05/0.005034, allocations: 8 kB / 0.5514 GB, free: 5.523 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001215/0.005155, allocations: 75.78 kB / 0.5515 GB, free: 5.449 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.005158, allocations: 0 / 0.5515 GB, free: 5.449 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.062e-06/0.005159, allocations: 4 kB / 0.5515 GB, free: 5.445 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.429e-06/0.005163, allocations: 0 / 0.5515 GB, free: 5.445 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.0003071/0.00547, allocations: 254.3 kB / 0.5518 GB, free: 5.168 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.005511, allocations: 12.03 kB / 0.5518 GB, free: 5.156 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.979e-05/0.005541, allocations: 38.67 kB / 0.5518 GB, free: 5.109 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.975e-05/0.005571, allocations: 0.9375 kB / 0.5518 GB, free: 5.109 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.957e-05/0.00564, allocations: 105.8 kB / 0.5519 GB, free: 4.98 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.915e-05/0.005699, allocations: 51.97 kB / 0.552 GB, free: 4.918 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.332e-06/0.005706, allocations: 384 / 0.552 GB, free: 4.918 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001086/0.005814, allocations: 71.95 kB / 0.552 GB, free: 4.836 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.005821, allocations: 7.938 kB / 0.552 GB, free: 4.828 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.00583, allocations: 0 / 0.552 GB, free: 4.828 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.766e-05/0.005848, allocations: 7.922 kB / 0.552 GB, free: 4.82 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.566e-05/0.005883, allocations: 15.98 kB / 0.5521 GB, free: 4.805 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003324/0.006216, allocations: 239.9 kB / 0.5523 GB, free: 4.527 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 3.634e-05/0.006252, allocations: 14.58 kB / 0.5523 GB, free: 4.504 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.199e-05/0.006264, allocations: 4.859 kB / 0.5523 GB, free: 4.496 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 4.316e-05/0.006307, allocations: 8.062 kB / 0.5523 GB, free: 4.488 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.814e-05/0.006325, allocations: 30.56 kB / 0.5523 GB, free: 4.449 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.006326, allocations: 7.938 kB / 0.5523 GB, free: 4.441 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0001227/0.006449, allocations: 41.69 kB / 0.5524 GB, free: 4.395 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.759e-05/0.006477, allocations: 51.41 kB / 0.5524 GB, free: 4.332 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.003e-05/0.006537, allocations: 101.8 kB / 0.5525 GB, free: 4.223 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.006549, allocations: 29.7 kB / 0.5526 GB, free: 4.188 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.472e-05/0.006584, allocations: 92.02 kB / 0.5526 GB, free: 4.094 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.829e-06/0.006589, allocations: 3.953 kB / 0.5527 GB, free: 4.09 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.529e-05/0.006614, allocations: 13.72 kB / 0.5527 GB, free: 4.07 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.205e-05/0.006686, allocations: 318.8 kB / 0.553 GB, free: 3.75 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.206e-05/0.006698, allocations: 7.984 kB / 0.553 GB, free: 3.742 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.063e-05/0.006719, allocations: 17.84 kB / 0.553 GB, free: 3.719 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.968e-05/0.006748, allocations: 29.59 kB / 0.553 GB, free: 3.684 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.00675, allocations: 0 / 0.553 GB, free: 3.684 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.336e-05/0.006804, allocations: 49.62 kB / 0.5531 GB, free: 3.629 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.006816, allocations: 8 kB / 0.5531 GB, free: 3.621 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.006821, allocations: 0 / 0.5531 GB, free: 3.621 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.006832, allocations: 0 / 0.5531 GB, free: 3.621 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.808e-05/0.00687, allocations: 4 kB / 0.5531 GB, free: 3.617 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.006875, allocations: 0 / 0.5531 GB, free: 3.617 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.475e-05/0.00689, allocations: 12.05 kB / 0.5531 GB, free: 3.605 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.006898, allocations: 0 / 0.5531 GB, free: 3.605 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 5.19e-05/0.00695, allocations: 113.8 kB / 0.5532 GB, free: 3.484 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.286e-05/0.006963, allocations: 0 / 0.5532 GB, free: 3.484 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.856e-05/0.007052, allocations: 120.9 kB / 0.5533 GB, free: 3.359 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.186e-05/0.007094, allocations: 184.2 kB / 0.5535 GB, free: 3.172 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.843e-05/0.007132, allocations: 180.3 kB / 0.5537 GB, free: 2.988 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.749e-05/0.007169, allocations: 180.2 kB / 0.5538 GB, free: 2.805 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001372/0.007307, allocations: 388.1 kB / 0.5542 GB, free: 2.375 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.432e-05/0.007331, allocations: 108.9 kB / 0.5543 GB, free: 2.262 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.58e-05/0.007357, allocations: 105 kB / 0.5544 GB, free: 2.152 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.567e-05/0.007402, allocations: 180.3 kB / 0.5546 GB, free: 1.969 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.525e-05/0.007448, allocations: 180.2 kB / 0.5548 GB, free: 1.785 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.247e-05/0.00749, allocations: 184.2 kB / 0.5549 GB, free: 1.598 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.293e-05/0.007533, allocations: 180.2 kB / 0.5551 GB, free: 1.414 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.053e-05/0.007624, allocations: 299.8 kB / 0.5554 GB, free: 1.098 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.323e-05/0.007657, allocations: 116.9 kB / 0.5555 GB, free: 0.9766 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.86e-05/0.007705, allocations: 176.3 kB / 0.5557 GB, free: 0.7969 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.945e-05/0.007805, allocations: 108.9 kB / 0.5558 GB, free: 0.6836 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.381e-05/0.007849, allocations: 184.3 kB / 0.5559 GB, free: 0.4961 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.321e-05/0.007872, allocations: 109.3 kB / 0.556 GB, free: 392 kB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.512e-05/0.007907, allocations: 91.22 kB / 0.5561 GB, free: 300 kB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.007907, allocations: 3.938 kB / 0.5561 GB, free: 296 kB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001706/0.008078, allocations: 15.94 kB / 0.5562 GB, free: 280 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.0003446/0.008422, allocations: 0.8282 MB / 0.557 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 6.412e-05/0.008486, allocations: 11.94 kB / 0.557 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.008488, allocations: 0 / 0.557 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.854e-06/0.00849, 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.0003302/0.00882, allocations: 467.8 kB / 0.5574 GB, free: 14.94 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007198/0.00954, allocations: 1.312 MB / 0.5587 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.028e-05/0.00958, allocations: 59.34 kB / 0.5588 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.387e-05/0.009614, allocations: 4.047 kB / 0.5588 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.696e-05/0.009641, allocations: 16.48 kB / 0.5588 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of SimCode: time 7.11e-07/0.009642, allocations: 4 kB / 0.5588 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01495/0.02459, allocations: 2.186 MB / 0.5609 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.971/6.995, allocations: 9 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.516566543839872] Failed to read output from testmodel.py, exit status != 0: 7.078842698596418 7.088513385 7.081432644 Calling exit ...