Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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.001589/0.001589, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.002007/0.002007, allocations: 220.9 kB / 23.03 MB, free: 4.945 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.478/1.478, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.002479/0.002479, allocations: 290.3 kB / 313.5 MB, free: 2.621 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.194/1.194, allocations: 180.6 MB / 0.5377 GB, free: 14.54 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_TDryBulXi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",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.002782/0.002782, allocations: 104.6 kB / 0.7402 GB, free: 28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1823/0.1851, allocations: 95.38 MB / 0.8334 GB, free: 8.355 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.00351/0.1886, allocations: 1.661 MB / 0.835 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.1668/0.3554, allocations: 131.4 MB / 0.9634 GB, free: 2.738 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001523/0.3556, allocations: 0 / 0.9634 GB, free: 2.738 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0002183/0.3558, allocations: 27.73 kB / 0.9634 GB, free: 2.711 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.0003907/0.3562, allocations: 51.62 kB / 0.9635 GB, free: 2.66 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005881/0.3568, allocations: 191.3 kB / 0.9636 GB, free: 2.473 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0003015/0.3571, allocations: 163.5 kB / 0.9638 GB, free: 2.312 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001453/0.3572, allocations: 29.22 kB / 0.9638 GB, free: 2.285 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00148/0.3587, allocations: 205.5 kB / 0.964 GB, free: 2.105 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001454/0.3588, allocations: 67.75 kB / 0.9641 GB, free: 2.039 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 2.902e-05/0.3589, allocations: 8 kB / 0.9641 GB, free: 2.031 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003507/0.3592, allocations: 167.7 kB / 0.9642 GB, free: 1.867 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 5.587e-05/0.3593, allocations: 23.92 kB / 0.9643 GB, free: 1.844 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 7.461e-05/0.3593, allocations: 51.78 kB / 0.9643 GB, free: 1.793 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0004781/0.3598, allocations: 207.2 kB / 0.9645 GB, free: 1.59 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/0.3598, allocations: 0 / 0.9645 GB, free: 1.59 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.994e-06/0.3598, allocations: 0 / 0.9645 GB, free: 1.59 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 9.768e-06/0.3598, allocations: 4 kB / 0.9645 GB, free: 1.586 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001021/0.3609, allocations: 397.5 kB / 0.9649 GB, free: 1.168 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.3609, allocations: 17.22 kB / 0.9649 GB, free: 1.152 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.799e-05/0.3609, allocations: 4.188 kB / 0.9649 GB, free: 1.148 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.621e-05/0.361, allocations: 46.73 kB / 0.965 GB, free: 1.094 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009356/0.3619, allocations: 76.38 kB / 0.965 GB, free: 1.02 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002532/0.3622, allocations: 147.2 kB / 0.9652 GB, free: 0.8516 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.132e-05/0.3622, allocations: 8 kB / 0.9652 GB, free: 0.8438 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.112e-05/0.3622, allocations: 4 kB / 0.9652 GB, free: 0.8398 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004938/0.3627, allocations: 183.8 kB / 0.9654 GB, free: 0.6406 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.3627, allocations: 4 kB / 0.9654 GB, free: 0.6367 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.231e-05/0.3628, allocations: 4 kB / 0.9654 GB, free: 0.6328 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.3628, allocations: 0 / 0.9654 GB, free: 0.6328 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005212/0.3633, allocations: 147.7 kB / 0.9655 GB, free: 500 kB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001219/0.3645, allocations: 0.7227 MB / 0.9662 GB, free: 15.71 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004114/0.3649, allocations: 130.4 kB / 0.9663 GB, free: 15.57 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002504/0.3652, allocations: 76.78 kB / 0.9664 GB, free: 15.49 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.672e-05/0.3652, allocations: 4 kB / 0.9664 GB, free: 15.49 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/0.3652, allocations: 34.56 kB / 0.9665 GB, free: 15.45 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.3652, allocations: 0 / 0.9665 GB, free: 15.45 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.001936/0.3672, allocations: 378.2 kB / 0.9668 GB, free: 15.07 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.817e-05/0.3672, allocations: 63.34 kB / 0.9669 GB, free: 14.99 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/0.3674, allocations: 153 kB / 0.967 GB, free: 14.83 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/0.3674, allocations: 33.7 kB / 0.9671 GB, free: 14.79 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.242e-05/0.3675, allocations: 108.2 kB / 0.9672 GB, free: 14.68 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.424e-05/0.3675, allocations: 27.78 kB / 0.9672 GB, free: 14.66 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.627e-05/0.3676, allocations: 29.66 kB / 0.9672 GB, free: 14.62 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.3677, allocations: 322.8 kB / 0.9675 GB, free: 14.3 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000265/0.368, allocations: 75.86 kB / 0.9676 GB, free: 14.22 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002636/0.3683, allocations: 104.2 kB / 0.9677 GB, free: 14.11 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005146/0.3688, allocations: 176.1 kB / 0.9679 GB, free: 13.92 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3688, allocations: 0 / 0.9679 GB, free: 13.92 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001079/0.3699, allocations: 286 kB / 0.9681 GB, free: 13.63 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.3699, allocations: 8 kB / 0.9681 GB, free: 13.62 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.3699, allocations: 0 / 0.9681 GB, free: 13.62 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006235/0.3705, allocations: 84.89 kB / 0.9682 GB, free: 13.54 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002282/0.3707, allocations: 39.89 kB / 0.9683 GB, free: 13.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002454/0.3732, allocations: 1.552 MB / 0.9698 GB, free: 11.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002365/0.3734, allocations: 27.88 kB / 0.9698 GB, free: 11.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.773e-05/0.3735, allocations: 11.98 kB / 0.9698 GB, free: 11.79 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001579/0.3736, allocations: 120.5 kB / 0.9699 GB, free: 11.66 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.329e-05/0.3737, allocations: 11.95 kB / 0.9699 GB, free: 11.65 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001127/0.3748, allocations: 318.8 kB / 0.9702 GB, free: 11.33 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.3748, allocations: 0 / 0.9702 GB, free: 11.33 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.3748, allocations: 0 / 0.9702 GB, free: 11.33 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.3748, allocations: 4 kB / 0.9702 GB, free: 11.33 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003021/0.3751, allocations: 192.6 kB / 0.9704 GB, free: 11.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.3751, allocations: 4 kB / 0.9704 GB, free: 11.09 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000212/0.3753, allocations: 31.97 kB / 0.9705 GB, free: 11.06 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004749/0.3758, allocations: 72.7 kB / 0.9705 GB, free: 10.99 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.557e-05/0.3758, allocations: 12 kB / 0.9705 GB, free: 10.98 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00202/0.3779, allocations: 1.579 MB / 0.9721 GB, free: 9.277 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.3779, allocations: 3.938 kB / 0.9721 GB, free: 9.273 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001092/0.3789, allocations: 376.2 kB / 0.9724 GB, free: 8.887 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.715e-05/0.379, allocations: 27.88 kB / 0.9725 GB, free: 8.859 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.969e-05/0.3791, allocations: 7.875 kB / 0.9725 GB, free: 8.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002286/0.3793, allocations: 16.05 kB / 0.9725 GB, free: 8.836 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.197e-05/0.3794, allocations: 23.91 kB / 0.9725 GB, free: 8.812 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.647e-05/0.3794, allocations: 8 kB / 0.9725 GB, free: 8.805 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001118/0.3795, allocations: 119 kB / 0.9726 GB, free: 8.688 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7e-08/0.3795, allocations: 0 / 0.9726 GB, free: 8.688 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003596/0.3799, allocations: 43.94 kB / 0.9727 GB, free: 8.645 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001495/0.3814, allocations: 0.9247 MB / 0.9736 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0009101/0.3823, allocations: 302.5 kB / 0.9739 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.3823, allocations: 0 / 0.9739 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0005469/0.3828, allocations: 229.8 kB / 0.9741 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003279/0.3831, allocations: 19.98 kB / 0.9741 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004129/0.3873, allocations: 2.067 MB / 0.9761 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001141/0.3874, allocations: 93.69 kB / 0.9762 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001424/0.3875, allocations: 29.03 kB / 0.9762 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.79e-05/0.3876, allocations: 35.42 kB / 0.9763 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of SimCode: time 5.41e-07/0.3876, allocations: 0 / 0.9763 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3664/0.7541, allocations: 5.028 MB / 0.9812 GB, free: 151.6 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.8/13.55, allocations: 14.52 kB / 0.9812 GB, free: 151.6 MB / 0.7169 GB " [Timeout remaining time 646] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.851620910922065] Failed to read output from testmodel.py, exit status != 0: 13.730706334928982 13.752693662 13.388849491 Calling exit ...