Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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.0008316/0.0008316, 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.0008253/0.0008253, allocations: 165.9 kB / 22.46 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.8819/0.8819, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.001482/0.001482, allocations: 234.2 kB / 259.4 MB, free: 13.02 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.6587/0.6587, allocations: 138.4 MB / 454.3 MB, free: 30.02 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.Examples.TWetBul_TDryBulPhi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 0.6463 GB, free: 1.891 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.116e-05/2.301e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.887 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.2337/0.2337, allocations: 1.879 MB / 0.6481 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.1192/0.3529, allocations: 136.7 MB / 0.7816 GB, free: 496 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001721/0.3531, allocations: 3.938 kB / 0.7816 GB, free: 492 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002054/0.3533, allocations: 27.67 kB / 0.7817 GB, free: 464 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000317/0.3536, allocations: 79.34 kB / 0.7817 GB, free: 384 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000603/0.3542, allocations: 270.9 kB / 0.782 GB, free: 112 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002766/0.3545, allocations: 275 kB / 0.7822 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001593/0.3547, allocations: 47.12 kB / 0.7823 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009952/0.3557, allocations: 291.8 kB / 0.7826 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001142/0.3558, allocations: 75.78 kB / 0.7826 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.626e-05/0.3558, allocations: 16 kB / 0.7827 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002779/0.3561, allocations: 183.6 kB / 0.7828 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.864e-05/0.3561, allocations: 47.81 kB / 0.7829 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.496e-05/0.3562, allocations: 60.45 kB / 0.7829 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003953/0.3566, allocations: 323 kB / 0.7832 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3566, allocations: 0 / 0.7832 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3566, allocations: 0 / 0.7832 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.441e-06/0.3566, allocations: 0 / 0.7832 GB, free: 14.85 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007037/0.3573, allocations: 470.1 kB / 0.7837 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.3574, allocations: 9.938 kB / 0.7837 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.438e-05/0.3574, allocations: 50.55 kB / 0.7838 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005957/0.358, allocations: 115.8 kB / 0.7839 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002513/0.3583, allocations: 164.9 kB / 0.784 GB, free: 14 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.405e-05/0.3583, allocations: 75.66 kB / 0.7841 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.704e-05/0.3584, allocations: 16 kB / 0.7841 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003698/0.3587, allocations: 315.4 kB / 0.7844 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.3588, allocations: 0 / 0.7844 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.129e-05/0.3588, allocations: 8 kB / 0.7844 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.3588, allocations: 15.92 kB / 0.7844 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002628/0.359, allocations: 167.8 kB / 0.7846 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001054/0.3601, allocations: 1.111 MB / 0.7857 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004547/0.3606, allocations: 198.6 kB / 0.7859 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.904e-05/0.3607, allocations: 68.81 kB / 0.7859 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/0.3607, allocations: 4 kB / 0.7859 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/0.3607, allocations: 30.56 kB / 0.786 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=12): time 1.413e-06/0.3607, allocations: 0 / 0.786 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12): time 0.00125/0.3619, allocations: 486.7 kB / 0.7864 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/0.362, allocations: 55.41 kB / 0.7865 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001756/0.3621, allocations: 216.2 kB / 0.7867 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.353e-05/0.3622, allocations: 29.7 kB / 0.7867 GB, free: 11.06 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.018e-05/0.3622, allocations: 144.3 kB / 0.7869 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.693e-05/0.3623, allocations: 47.56 kB / 0.7869 GB, free: 10.87 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.548e-05/0.3623, allocations: 49.64 kB / 0.7869 GB, free: 10.81 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.001e-05/0.3624, allocations: 330.8 kB / 0.7873 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001238/0.3625, allocations: 71.94 kB / 0.7873 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001477/0.3627, allocations: 154.6 kB / 0.7875 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002484/0.3629, allocations: 210.5 kB / 0.7877 GB, free: 10 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3629, allocations: 0 / 0.7877 GB, free: 10 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000722/0.3637, allocations: 374 kB / 0.788 GB, free: 9.625 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.3637, allocations: 9.875 kB / 0.788 GB, free: 9.617 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.395e-06/0.3637, allocations: 0 / 0.788 GB, free: 9.617 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000525/0.3642, allocations: 165.8 kB / 0.7882 GB, free: 9.449 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.3643, allocations: 35.91 kB / 0.7882 GB, free: 9.414 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002526/0.3669, allocations: 3.028 MB / 0.7912 GB, free: 6.152 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001844/0.367, allocations: 31.83 kB / 0.7912 GB, free: 6.121 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.778e-05/0.3671, allocations: 12.61 kB / 0.7912 GB, free: 6.109 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000113/0.3672, allocations: 129.9 kB / 0.7914 GB, free: 5.973 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.15e-05/0.3672, allocations: 15.91 kB / 0.7914 GB, free: 5.957 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006278/0.3678, allocations: 383.5 kB / 0.7917 GB, free: 5.578 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.3678, allocations: 4 kB / 0.7917 GB, free: 5.574 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.3678, allocations: 0 / 0.7917 GB, free: 5.574 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3678, allocations: 4 kB / 0.7917 GB, free: 5.57 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002131/0.3681, allocations: 222.8 kB / 0.792 GB, free: 5.312 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.3681, allocations: 0 / 0.792 GB, free: 5.312 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.231e-05/0.3681, allocations: 27.91 kB / 0.792 GB, free: 5.285 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003548/0.3685, allocations: 145.5 kB / 0.7921 GB, free: 5.137 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.3685, allocations: 0 / 0.7921 GB, free: 5.137 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002151/0.3706, allocations: 3.071 MB / 0.7951 GB, free: 1.824 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.3706, allocations: 3.938 kB / 0.7951 GB, free: 1.82 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006226/0.3713, allocations: 439.4 kB / 0.7955 GB, free: 1.371 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.746e-05/0.3713, allocations: 31.83 kB / 0.7956 GB, free: 1.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.066e-05/0.3714, allocations: 7.984 kB / 0.7956 GB, free: 1.332 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/0.3715, allocations: 19.92 kB / 0.7956 GB, free: 1.312 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.933e-05/0.3716, allocations: 15.97 kB / 0.7956 GB, free: 1.297 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.3716, allocations: 6.312 kB / 0.7956 GB, free: 1.293 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001155/0.3717, allocations: 171.1 kB / 0.7958 GB, free: 1.129 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8e-08/0.3717, allocations: 0 / 0.7958 GB, free: 1.129 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003199/0.372, allocations: 67.89 kB / 0.7959 GB, free: 1.062 MB / 0.6198 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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008788/0.3729, allocations: 0.981 MB / 0.7968 GB, free: 52 kB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006361/0.3735, allocations: 442.3 kB / 0.7972 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3735, allocations: 4 kB / 0.7972 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003066/0.3738, allocations: 351.2 kB / 0.7976 GB, free: 15.22 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003036/0.3741, allocations: 64.66 kB / 0.7976 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002898/0.377, allocations: 2.524 MB / 0.8001 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.781e-05/0.3771, allocations: 124.6 kB / 0.8002 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001374/0.3773, allocations: 33.98 kB / 0.8002 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.843e-05/0.3773, allocations: 56.47 kB / 0.8003 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of SimCode: time 1.212e-06/0.3773, allocations: 4 kB / 0.8003 GB, free: 12.28 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02207/0.3994, allocations: 8.181 MB / 0.8083 GB, free: 4.406 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.486/7.886, allocations: 10.97 kB / 0.8083 GB, free: 4.402 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_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_Examples_TWetBul_TDryBulPhi.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.546263900585473] Failed to read output from testmodel.py, exit status != 0: 7.976031678728759 7.984423791 7.625552954 Calling exit ...