Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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.000815/0.000815, 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.001097/0.001097, 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.849/0.849, allocations: 177.2 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001395/0.001395, allocations: 237 kB / 259.4 MB, free: 13.03 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6489/0.6489, allocations: 138.4 MB / 454.3 MB, free: 29.99 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0.6463 GB, free: 1.859 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.957e-05/2.095e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.855 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001537/0.001558, allocations: 1.302 MB / 0.6476 GB, free: 0.5391 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2329/0.2344, allocations: 0.7512 MB / 0.6483 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.116e-05/0.2345, allocations: 1.094 kB / 0.6483 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 3.452e-05/0.2345, allocations: 1.984 kB / 0.6483 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 6.317e-05/0.2346, allocations: 5.828 kB / 0.6483 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007802/0.2353, allocations: 137.4 kB / 0.6484 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001193/0.2355, allocations: 26.34 kB / 0.6485 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 5.375e-05/0.2355, allocations: 3.766 kB / 0.6485 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 8.794e-05/0.2356, allocations: 19.31 kB / 0.6485 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 7.817e-05/0.2357, allocations: 7.578 kB / 0.6485 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.2357, allocations: 2.719 kB / 0.6485 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002907/0.236, allocations: 160 kB / 0.6487 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.889e-05/0.236, allocations: 7.781 kB / 0.6487 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.493e-05/0.236, allocations: 5.922 kB / 0.6487 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002638/0.2363, allocations: 141.4 kB / 0.6488 GB, free: 55.81 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.2363, allocations: 4.594 kB / 0.6488 GB, free: 55.81 MB / 0.5573 GB Notification: Performance of FrontEnd: time 3.467e-06/0.2363, allocations: 0.9688 kB / 0.6488 GB, free: 55.81 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.2363, allocations: 0.7188 kB / 0.6488 GB, free: 55.81 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004305/0.2367, allocations: 283.7 kB / 0.6491 GB, free: 55.53 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.37e-05/0.2368, allocations: 11.94 kB / 0.6491 GB, free: 55.53 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.905e-05/0.2368, allocations: 37.78 kB / 0.6491 GB, free: 55.49 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.739e-05/0.2369, allocations: 5.375 kB / 0.6491 GB, free: 55.49 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.657e-05/0.2369, allocations: 109.9 kB / 0.6492 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.875e-05/0.237, allocations: 59.05 kB / 0.6493 GB, free: 55.3 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.508e-06/0.237, allocations: 1.656 kB / 0.6493 GB, free: 55.3 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/0.2371, allocations: 73.34 kB / 0.6494 GB, free: 55.24 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.2371, allocations: 1.656 kB / 0.6494 GB, free: 55.24 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.457e-06/0.2372, allocations: 384 / 0.6494 GB, free: 55.24 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.2372, allocations: 3.938 kB / 0.6494 GB, free: 55.23 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.203e-05/0.2372, allocations: 21 kB / 0.6494 GB, free: 55.23 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001102/0.2373, allocations: 129.9 kB / 0.6495 GB, free: 55.08 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001798/0.2375, allocations: 43.31 kB / 0.6496 GB, free: 55.05 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.629e-05/0.2375, allocations: 16.89 kB / 0.6496 GB, free: 55.05 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001659/0.2377, allocations: 28.59 kB / 0.6496 GB, free: 55.05 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.648e-05/0.2377, allocations: 33.92 kB / 0.6496 GB, free: 55.01 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=4): time 1.283e-06/0.2377, allocations: 0 / 0.6496 GB, free: 55.01 MB / 0.5573 GB Notification: Performance of matching and sorting (n=4): time 0.0001819/0.2379, allocations: 77.39 kB / 0.6497 GB, free: 54.96 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.906e-05/0.2379, allocations: 52.88 kB / 0.6498 GB, free: 54.9 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.629e-05/0.238, allocations: 98.38 kB / 0.6498 GB, free: 54.8 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 7.083e-06/0.238, allocations: 33.11 kB / 0.6499 GB, free: 54.77 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 8.165e-06/0.238, allocations: 80.14 kB / 0.65 GB, free: 54.69 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.305e-05/0.238, allocations: 9.266 kB / 0.65 GB, free: 54.69 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.577e-05/0.238, allocations: 24.19 kB / 0.65 GB, free: 54.66 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.094e-05/0.2381, allocations: 314.7 kB / 0.6503 GB, free: 54.35 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.346e-05/0.2381, allocations: 10.25 kB / 0.6503 GB, free: 54.35 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.36e-05/0.2381, allocations: 10.17 kB / 0.6503 GB, free: 54.35 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.99e-05/0.2382, allocations: 33.48 kB / 0.6503 GB, free: 54.34 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2382, allocations: 3.938 kB / 0.6503 GB, free: 54.34 MB / 0.5573 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.239e-05/0.2383, allocations: 55.72 kB / 0.6504 GB, free: 54.31 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.2383, allocations: 5.281 kB / 0.6504 GB, free: 54.31 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.2383, allocations: 1.625 kB / 0.6504 GB, free: 54.31 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.2383, allocations: 3.938 kB / 0.6504 GB, free: 54.3 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.85e-05/0.2383, allocations: 10.75 kB / 0.6504 GB, free: 54.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.2383, allocations: 0.5938 kB / 0.6504 GB, free: 54.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.15e-05/0.2384, allocations: 4.375 kB / 0.6504 GB, free: 54.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.2384, allocations: 1 kB / 0.6504 GB, free: 54.3 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 (4): * Single equations (assignments): 4 * 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.68e-05/0.2384, allocations: 113.9 kB / 0.6505 GB, free: 54.19 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.847e-06/0.2384, allocations: 4 kB / 0.6505 GB, free: 54.19 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001626/0.2386, allocations: 71.69 kB / 0.6506 GB, free: 54.14 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.2386, allocations: 4.781 kB / 0.6506 GB, free: 54.14 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.854e-06/0.2386, allocations: 1.828 kB / 0.6506 GB, free: 54.14 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.2386, allocations: 0 / 0.6506 GB, free: 54.14 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.701e-05/0.2387, allocations: 129.2 kB / 0.6507 GB, free: 53.99 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.2387, allocations: 1.016 kB / 0.6507 GB, free: 53.99 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.565e-05/0.2387, allocations: 11.38 kB / 0.6507 GB, free: 53.99 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.2387, allocations: 0.6562 kB / 0.6507 GB, free: 53.99 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.2387, allocations: 1.969 kB / 0.6507 GB, free: 53.99 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.2387, allocations: 3.938 kB / 0.6507 GB, free: 53.98 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.2387, allocations: 1.453 kB / 0.6507 GB, free: 53.98 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000126/0.2389, allocations: 89.44 kB / 0.6508 GB, free: 53.91 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.694e-05/0.2389, allocations: 4.484 kB / 0.6508 GB, free: 53.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.657e-05/0.2389, allocations: 4.766 kB / 0.6508 GB, free: 53.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.546e-05/0.239, allocations: 7.469 kB / 0.6509 GB, free: 53.91 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.384e-05/0.239, allocations: 5.156 kB / 0.6509 GB, free: 53.91 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-06/0.239, allocations: 2.344 kB / 0.6509 GB, free: 53.91 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 3.237e-05/0.2391, allocations: 80.8 kB / 0.6509 GB, free: 53.84 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6e-08/0.2391, allocations: 1.312 kB / 0.6509 GB, free: 53.84 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002411/0.2393, allocations: 35.91 kB / 0.651 GB, free: 53.83 MB / 0.5573 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 (4): * Single equations (assignments): 4 * 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.0004015/0.2397, allocations: 0.6635 MB / 0.6516 GB, free: 53.23 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001203/0.2398, allocations: 30.02 kB / 0.6516 GB, free: 53.22 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.2398, allocations: 2.625 kB / 0.6516 GB, free: 53.22 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 3.147e-05/0.2399, allocations: 15.5 kB / 0.6517 GB, free: 53.22 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002207/0.2401, allocations: 10.66 kB / 0.6517 GB, free: 53.22 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003562/0.2405, allocations: 161.3 kB / 0.6518 GB, free: 53.07 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.476e-05/0.2405, allocations: 66.98 kB / 0.6519 GB, free: 53 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 3.104e-05/0.2405, allocations: 1.75 kB / 0.6519 GB, free: 53 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.131e-05/0.2405, allocations: 14.08 kB / 0.6519 GB, free: 52.99 MB / 0.5573 GB Notification: Performance of SimCode: time 5.91e-07/0.2405, allocations: 0 / 0.6519 GB, free: 52.99 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01638/0.2569, allocations: 2.687 MB / 0.6545 GB, free: 52.14 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.44/6.697, allocations: 12.11 kB / 0.6545 GB, free: 52.13 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.302077643573284] Failed to read output from testmodel.py, exit status != 0: 6.773546612821519 6.78323496 6.544803065 Calling exit ...