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.001339/0.001339, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001606/0.001606, allocations: 214.7 kB / 22.25 MB, free: 5.242 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.438/1.438, allocations: 230.6 MB / 256 MB, free: 7.809 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.002551/0.002551, allocations: 287.3 kB / 312.7 MB, free: 2.629 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.238/1.238, allocations: 180.6 MB / 0.5369 GB, free: 14.62 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",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.002916/0.002916, allocations: 93.11 kB / 0.7395 GB, free: 28.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1775/0.1804, allocations: 95.39 MB / 0.8326 GB, free: 8.379 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002932/0.1834, allocations: 1.664 MB / 0.8343 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.173/0.3564, allocations: 131.5 MB / 0.9627 GB, free: 2.672 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001436/0.3565, allocations: 0 / 0.9627 GB, free: 2.672 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0001859/0.3567, allocations: 23.8 kB / 0.9627 GB, free: 2.648 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.0003011/0.357, allocations: 51.58 kB / 0.9628 GB, free: 2.598 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005857/0.3576, allocations: 195.3 kB / 0.963 GB, free: 2.406 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0002242/0.3578, allocations: 167.4 kB / 0.9631 GB, free: 2.242 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.3579, allocations: 25.22 kB / 0.9631 GB, free: 2.219 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001355/0.3593, allocations: 198.7 kB / 0.9633 GB, free: 2.047 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001212/0.3594, allocations: 63.73 kB / 0.9634 GB, free: 1.984 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 2.554e-05/0.3594, allocations: 8 kB / 0.9634 GB, free: 1.977 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003255/0.3598, allocations: 163.8 kB / 0.9636 GB, free: 1.816 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 4.797e-05/0.3598, allocations: 27.86 kB / 0.9636 GB, free: 1.789 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 6.508e-05/0.3599, allocations: 47.78 kB / 0.9636 GB, free: 1.742 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0003773/0.3602, allocations: 207.2 kB / 0.9638 GB, free: 1.539 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.3602, allocations: 0 / 0.9638 GB, free: 1.539 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3602, allocations: 0 / 0.9638 GB, free: 1.539 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.3603, allocations: 0 / 0.9638 GB, free: 1.539 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.0008713/0.3611, allocations: 401.5 kB / 0.9642 GB, free: 1.117 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.3612, allocations: 9.344 kB / 0.9642 GB, free: 1.109 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.564e-05/0.3612, allocations: 46.72 kB / 0.9643 GB, free: 1.055 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008282/0.362, allocations: 76.56 kB / 0.9643 GB, free: 0.9805 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002341/0.3623, allocations: 149 kB / 0.9645 GB, free: 0.8086 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.3623, allocations: 4 kB / 0.9645 GB, free: 0.8047 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.109e-05/0.3623, allocations: 8 kB / 0.9645 GB, free: 0.7969 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004754/0.3628, allocations: 188.2 kB / 0.9647 GB, free: 0.5938 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.3628, allocations: 0 / 0.9647 GB, free: 0.5938 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.76e-05/0.3628, allocations: 7.938 kB / 0.9647 GB, free: 0.5859 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.3628, allocations: 0 / 0.9647 GB, free: 0.5859 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005155/0.3633, allocations: 151.7 kB / 0.9648 GB, free: 448 kB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001197/0.3645, allocations: 0.7188 MB / 0.9655 GB, free: 15.66 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004266/0.365, allocations: 130.5 kB / 0.9656 GB, free: 15.52 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002504/0.3652, allocations: 72.8 kB / 0.9657 GB, free: 15.45 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.3652, allocations: 4 kB / 0.9657 GB, free: 15.45 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/0.3653, allocations: 34.56 kB / 0.9658 GB, free: 15.4 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.353e-06/0.3653, allocations: 0 / 0.9658 GB, free: 15.4 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.002148/0.3674, allocations: 386.2 kB / 0.9661 GB, free: 15.02 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.3675, allocations: 55.34 kB / 0.9662 GB, free: 14.95 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001672/0.3676, allocations: 161 kB / 0.9663 GB, free: 14.78 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.8e-05/0.3677, allocations: 29.7 kB / 0.9664 GB, free: 14.75 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.633e-05/0.3677, allocations: 108.2 kB / 0.9665 GB, free: 14.64 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.738e-05/0.3678, allocations: 27.75 kB / 0.9665 GB, free: 14.61 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.345e-05/0.3679, allocations: 25.7 kB / 0.9665 GB, free: 14.58 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.368, allocations: 326.8 kB / 0.9668 GB, free: 14.25 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002693/0.3683, allocations: 75.92 kB / 0.9669 GB, free: 14.18 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002811/0.3686, allocations: 100.2 kB / 0.967 GB, free: 14.06 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005316/0.3691, allocations: 176.4 kB / 0.9672 GB, free: 13.88 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.3691, allocations: 0 / 0.9672 GB, free: 13.88 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.00109/0.3702, allocations: 286.1 kB / 0.9674 GB, free: 13.59 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.3702, allocations: 11.88 kB / 0.9674 GB, free: 13.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.3702, allocations: 7.938 kB / 0.9674 GB, free: 13.57 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005896/0.3708, allocations: 88.89 kB / 0.9675 GB, free: 13.48 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002268/0.371, allocations: 31.95 kB / 0.9676 GB, free: 13.45 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002274/0.3733, allocations: 1.556 MB / 0.9691 GB, free: 11.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002167/0.3735, allocations: 19.97 kB / 0.9691 GB, free: 11.75 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.782e-05/0.3736, allocations: 15.92 kB / 0.9691 GB, free: 11.73 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.0001312/0.3737, allocations: 122.4 kB / 0.9692 GB, free: 11.6 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.262e-05/0.3737, allocations: 7.953 kB / 0.9692 GB, free: 11.59 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001104/0.3748, allocations: 318.9 kB / 0.9695 GB, free: 11.28 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.3748, allocations: 4 kB / 0.9695 GB, free: 11.27 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-06/0.3748, allocations: 0 / 0.9695 GB, free: 11.27 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.3748, allocations: 0 / 0.9695 GB, free: 11.27 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002796/0.3751, allocations: 192.7 kB / 0.9697 GB, free: 11.04 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.3751, allocations: 0 / 0.9697 GB, free: 11.04 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002106/0.3753, allocations: 35.91 kB / 0.9698 GB, free: 11.01 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004432/0.3758, allocations: 72.77 kB / 0.9698 GB, free: 10.93 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.122e-05/0.3758, allocations: 11.94 kB / 0.9698 GB, free: 10.92 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002043/0.3778, allocations: 1.579 MB / 0.9714 GB, free: 9.223 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3778, allocations: 0 / 0.9714 GB, free: 9.223 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001075/0.3789, allocations: 381.6 kB / 0.9718 GB, free: 8.832 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.379, allocations: 27.88 kB / 0.9718 GB, free: 8.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.407e-05/0.3791, allocations: 0 / 0.9718 GB, free: 8.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003299/0.3794, allocations: 23.92 kB / 0.9718 GB, free: 8.781 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.453e-05/0.3795, allocations: 11.97 kB / 0.9718 GB, free: 8.77 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.412e-05/0.3795, allocations: 15.98 kB / 0.9718 GB, free: 8.754 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001249/0.3796, allocations: 111.4 kB / 0.9719 GB, free: 8.648 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.3796, allocations: 3.938 kB / 0.9719 GB, free: 8.645 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003285/0.38, allocations: 47.94 kB / 0.972 GB, free: 8.598 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.001458/0.3814, allocations: 0.9223 MB / 0.9729 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0009106/0.3823, allocations: 306.5 kB / 0.9732 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3823, allocations: 3.938 kB / 0.9732 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0005561/0.3829, allocations: 226.8 kB / 0.9734 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003214/0.3832, allocations: 26.33 kB / 0.9734 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004533/0.3877, allocations: 2.068 MB / 0.9754 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001261/0.3879, allocations: 89.69 kB / 0.9755 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002058/0.3881, allocations: 28.91 kB / 0.9756 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/0.3882, allocations: 39.41 kB / 0.9756 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of SimCode: time 5.41e-07/0.3882, allocations: 4 kB / 0.9756 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4482/0.8364, allocations: 5.351 MB / 0.9808 GB, free: 151.2 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.6/13.43, allocations: 2.531 kB / 0.9808 GB, free: 151.2 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.623676671646535] Failed to read output from testmodel.py, exit status != 0: 13.550278167705983 13.573433353 13.208168895 Calling exit ...