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.001333/0.001333, allocations: 97.31 kB / 19.73 MB, free: 2.117 MB / 14.72 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.0016/0.0016, allocations: 220 kB / 23.03 MB, free: 4.922 MB / 14.72 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 1.512/1.512, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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.002555/0.002555, allocations: 296.8 kB / 313.5 MB, free: 2.609 MB / 238.1 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 1.225/1.225, allocations: 180.6 MB / 0.5377 GB, free: 14.5 MB / 382.1 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002754/0.002754, allocations: 101.7 kB / 0.7403 GB, free: 28.03 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1846/0.1873, allocations: 95.38 MB / 0.8334 GB, free: 8.234 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003574/0.1909, allocations: 1.871 MB / 0.8352 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.172/0.3629, allocations: 136.6 MB / 0.9687 GB, free: 13.18 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002322/0.3632, allocations: 4 kB / 0.9687 GB, free: 13.18 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002384/0.3634, allocations: 19.73 kB / 0.9687 GB, free: 13.16 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004388/0.3639, allocations: 83.41 kB / 0.9688 GB, free: 13.08 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009064/0.3648, allocations: 263.1 kB / 0.969 GB, free: 12.82 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004291/0.3652, allocations: 275 kB / 0.9693 GB, free: 12.55 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001785/0.3654, allocations: 46.55 kB / 0.9693 GB, free: 12.5 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001526/0.3669, allocations: 259.3 kB / 0.9696 GB, free: 12.27 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001906/0.3671, allocations: 91.61 kB / 0.9697 GB, free: 12.18 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.822e-05/0.3671, allocations: 16 kB / 0.9697 GB, free: 12.17 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004153/0.3676, allocations: 179.7 kB / 0.9699 GB, free: 11.99 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.87e-05/0.3676, allocations: 55.81 kB / 0.9699 GB, free: 11.94 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001144/0.3678, allocations: 71.66 kB / 0.97 GB, free: 11.87 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005931/0.3683, allocations: 302.8 kB / 0.9703 GB, free: 11.57 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3684, allocations: 0 / 0.9703 GB, free: 11.57 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.823e-06/0.3684, allocations: 8 kB / 0.9703 GB, free: 11.56 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.929e-06/0.3684, allocations: 0 / 0.9703 GB, free: 11.56 MB / 0.7169 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.001086/0.3695, allocations: 457.3 kB / 0.9707 GB, free: 11.09 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.3695, allocations: 17.34 kB / 0.9707 GB, free: 11.07 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.003e-05/0.3695, allocations: 8.266 kB / 0.9707 GB, free: 11.06 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.192e-05/0.3696, allocations: 50.55 kB / 0.9708 GB, free: 11 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001276/0.3709, allocations: 111.8 kB / 0.9709 GB, free: 10.89 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003443/0.3712, allocations: 168.8 kB / 0.971 GB, free: 10.7 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001081/0.3713, allocations: 71.72 kB / 0.9711 GB, free: 10.62 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.431e-05/0.3714, allocations: 15.94 kB / 0.9711 GB, free: 10.61 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006504/0.372, allocations: 318.6 kB / 0.9714 GB, free: 10.25 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.372, allocations: 4 kB / 0.9714 GB, free: 10.25 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.971e-05/0.372, allocations: 4 kB / 0.9714 GB, free: 10.25 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.3721, allocations: 4 kB / 0.9714 GB, free: 10.24 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004853/0.3725, allocations: 175.7 kB / 0.9716 GB, free: 10.07 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001817/0.3744, allocations: 1.11 MB / 0.9727 GB, free: 8.891 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008024/0.3752, allocations: 198.6 kB / 0.9729 GB, free: 8.688 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001872/0.3754, allocations: 68.81 kB / 0.973 GB, free: 8.617 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.549e-05/0.3754, allocations: 0 / 0.973 GB, free: 8.617 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/0.3754, allocations: 38.5 kB / 0.973 GB, free: 8.57 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=12): time 1.282e-06/0.3754, allocations: 3.938 kB / 0.973 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12): time 0.002742/0.3781, allocations: 486.8 kB / 0.9735 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/0.3782, allocations: 51.41 kB / 0.9735 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002746/0.3785, allocations: 220.1 kB / 0.9737 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.948e-05/0.3785, allocations: 33.7 kB / 0.9737 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.3786, allocations: 136.2 kB / 0.9739 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.499e-05/0.3786, allocations: 39.64 kB / 0.9739 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.3787, allocations: 49.62 kB / 0.974 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.3789, allocations: 326.8 kB / 0.9743 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002299/0.3791, allocations: 71.94 kB / 0.9743 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000289/0.3794, allocations: 163.4 kB / 0.9745 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004547/0.3799, allocations: 200.6 kB / 0.9747 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.3799, allocations: 4 kB / 0.9747 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.00154/0.3814, allocations: 378.7 kB / 0.9751 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.3814, allocations: 8.219 kB / 0.9751 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.3814, allocations: 4 kB / 0.9751 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001154/0.3826, allocations: 157.5 kB / 0.9752 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002345/0.3828, allocations: 39.91 kB / 0.9753 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004321/0.3871, allocations: 3.038 MB / 0.9782 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003934/0.3875, allocations: 39.78 kB / 0.9783 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.089e-05/0.3876, allocations: 15.94 kB / 0.9783 GB, free: 2.785 MB / 0.7169 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.0001695/0.3877, allocations: 129.8 kB / 0.9784 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.531e-05/0.3878, allocations: 19.89 kB / 0.9784 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00134/0.3891, allocations: 370.5 kB / 0.9788 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.3891, allocations: 0 / 0.9788 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.3891, allocations: 0 / 0.9788 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.3892, allocations: 3.984 kB / 0.9788 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003454/0.3895, allocations: 224.5 kB / 0.979 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.3895, allocations: 7.922 kB / 0.979 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000137/0.3896, allocations: 19.98 kB / 0.979 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008417/0.3905, allocations: 137.6 kB / 0.9791 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.194e-05/0.3905, allocations: 4.141 kB / 0.9792 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3972/0.7877, allocations: 3.082 MB / 0.9822 GB, free: 149.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.7877, allocations: 0.5312 kB / 0.9822 GB, free: 149.6 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001366/0.7891, allocations: 430.4 kB / 0.9826 GB, free: 149.4 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.7892, allocations: 40.09 kB / 0.9826 GB, free: 149.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.689e-05/0.7892, allocations: 6.156 kB / 0.9826 GB, free: 149.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002927/0.7895, allocations: 18.28 kB / 0.9826 GB, free: 149.4 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.7896, allocations: 21.67 kB / 0.9827 GB, free: 149.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.126e-05/0.7897, allocations: 5.516 kB / 0.9827 GB, free: 149.4 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001966/0.7898, allocations: 159.2 kB / 0.9828 GB, free: 149.4 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7e-08/0.7898, allocations: 0 / 0.9828 GB, free: 149.4 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004726/0.7903, allocations: 71.31 kB / 0.9829 GB, free: 149.4 MB / 0.7169 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.001585/0.7919, allocations: 0.973 MB / 0.9838 GB, free: 148.7 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001075/0.793, allocations: 439.9 kB / 0.9842 GB, free: 148.5 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.793, allocations: 0 / 0.9842 GB, free: 148.5 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0006499/0.7936, allocations: 359.5 kB / 0.9846 GB, free: 148.2 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004455/0.7941, allocations: 53.25 kB / 0.9846 GB, free: 148.2 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004815/0.7989, allocations: 2.528 MB / 0.9871 GB, free: 146.8 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001066/0.799, allocations: 129.1 kB / 0.9872 GB, free: 146.8 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001878/0.7992, allocations: 39.55 kB / 0.9873 GB, free: 146.8 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.448e-05/0.7993, allocations: 51.8 kB / 0.9873 GB, free: 146.8 MB / 0.7169 GB Notification: Performance of SimCode: time 3.01e-07/0.7993, allocations: 0 / 0.9873 GB, free: 146.8 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03328/0.8326, allocations: 7.747 MB / 0.9949 GB, free: 145.4 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.14/13.98, allocations: 10.53 kB / 0.9949 GB, free: 145.4 MB / 0.7169 GB " [Timeout remaining time 646] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 18.386323934071697] Failed to read output from testmodel.py, exit status != 0: 14.150180411990732 14.170533378 13.798942672 Calling exit ...