Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.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.001306/0.001306, 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.001416/0.001416, allocations: 219 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.46/1.46, allocations: 230.6 MB / 256.8 MB, free: 7.773 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.002516/0.002516, allocations: 290.7 kB / 313.5 MB, free: 2.617 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.232/1.232, allocations: 180.6 MB / 0.5377 GB, free: 14.56 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.MassFraction_pTphi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_MassFraction_pTphi",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.003207/0.003207, allocations: 95.95 kB / 0.7402 GB, free: 28.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2094/0.2126, allocations: 95.39 MB / 0.8334 GB, free: 8.379 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003607/0.2162, allocations: 1.632 MB / 0.835 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.1876/0.4038, allocations: 133.1 MB / 0.965 GB, free: 1.117 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000177/0.404, allocations: 3.938 kB / 0.965 GB, free: 1.113 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0002031/0.4042, allocations: 15.86 kB / 0.965 GB, free: 1.098 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.0003859/0.4045, allocations: 47.64 kB / 0.965 GB, free: 1.051 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005897/0.4051, allocations: 151.4 kB / 0.9652 GB, free: 0.9023 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0002602/0.4054, allocations: 123.6 kB / 0.9653 GB, free: 0.7812 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001514/0.4055, allocations: 21.58 kB / 0.9653 GB, free: 0.7578 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001593/0.4071, allocations: 183.4 kB / 0.9655 GB, free: 0.6016 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 9.57e-05/0.4072, allocations: 35.84 kB / 0.9655 GB, free: 0.5664 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 2.59e-05/0.4073, allocations: 8 kB / 0.9655 GB, free: 0.5586 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004521/0.4077, allocations: 187.6 kB / 0.9657 GB, free: 384 kB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 5.831e-05/0.4078, allocations: 23.91 kB / 0.9657 GB, free: 360 kB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 6.299e-05/0.4078, allocations: 39.8 kB / 0.9658 GB, free: 320 kB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0004533/0.4083, allocations: 183.4 kB / 0.966 GB, free: 136 kB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.4083, allocations: 0 / 0.966 GB, free: 136 kB / 0.7012 GB Notification: Performance of FrontEnd: time 1.854e-06/0.4083, allocations: 4 kB / 0.966 GB, free: 132 kB / 0.7012 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.4083, allocations: 0 / 0.966 GB, free: 132 kB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007323/0.409, allocations: 373.7 kB / 0.9663 GB, free: 15.73 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.4091, allocations: 9.344 kB / 0.9663 GB, free: 15.72 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.132e-05/0.4091, allocations: 8.125 kB / 0.9663 GB, free: 15.71 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.233e-05/0.4091, allocations: 38.5 kB / 0.9664 GB, free: 15.67 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001077/0.4102, allocations: 87.84 kB / 0.9665 GB, free: 15.58 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002868/0.4105, allocations: 153 kB / 0.9666 GB, free: 15.41 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.4105, allocations: 8 kB / 0.9666 GB, free: 15.4 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.062e-05/0.4105, allocations: 4 kB / 0.9666 GB, free: 15.39 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004815/0.411, allocations: 137.6 kB / 0.9667 GB, free: 15.25 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.411, allocations: 0 / 0.9667 GB, free: 15.25 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.078e-05/0.4111, allocations: 7.875 kB / 0.9668 GB, free: 15.25 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.4111, allocations: 7.984 kB / 0.9668 GB, free: 15.24 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005808/0.4117, allocations: 139.9 kB / 0.9669 GB, free: 15.1 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000921/0.4126, allocations: 363.6 kB / 0.9672 GB, free: 14.7 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007355/0.4133, allocations: 170.6 kB / 0.9674 GB, free: 14.53 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002516/0.4136, allocations: 72.8 kB / 0.9675 GB, free: 14.45 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.389e-05/0.4136, allocations: 4 kB / 0.9675 GB, free: 14.45 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.4136, allocations: 38.5 kB / 0.9675 GB, free: 14.4 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.553e-06/0.4136, allocations: 0 / 0.9675 GB, free: 14.4 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0008749/0.4145, allocations: 217.6 kB / 0.9677 GB, free: 14.18 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.192e-05/0.4146, allocations: 51.41 kB / 0.9678 GB, free: 14.12 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001634/0.4147, allocations: 152.7 kB / 0.9679 GB, free: 13.96 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.589e-05/0.4147, allocations: 25.7 kB / 0.9679 GB, free: 13.93 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.968e-05/0.4148, allocations: 100.1 kB / 0.968 GB, free: 13.83 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.115e-05/0.4149, allocations: 27.89 kB / 0.9681 GB, free: 13.8 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.294e-05/0.4149, allocations: 25.7 kB / 0.9681 GB, free: 13.77 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.4151, allocations: 326.8 kB / 0.9684 GB, free: 13.44 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002257/0.4153, allocations: 55.95 kB / 0.9685 GB, free: 13.39 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002768/0.4156, allocations: 134 kB / 0.9686 GB, free: 13.23 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004318/0.416, allocations: 120.8 kB / 0.9687 GB, free: 13.11 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.416, allocations: 3.938 kB / 0.9687 GB, free: 13.11 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000506/0.4165, allocations: 157.5 kB / 0.9689 GB, free: 12.95 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.4165, allocations: 8 kB / 0.9689 GB, free: 12.94 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.4166, allocations: 0 / 0.9689 GB, free: 12.94 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.4166, allocations: 0 / 0.9689 GB, free: 12.94 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002203/0.4168, allocations: 27.97 kB / 0.9689 GB, free: 12.91 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.4168, allocations: 0 / 0.9689 GB, free: 12.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001554/0.417, allocations: 23.88 kB / 0.9689 GB, free: 12.89 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.438e-05/0.417, allocations: 3.984 kB / 0.9689 GB, free: 12.89 MB / 0.7169 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 (8): * Single equations (assignments): 8 * 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 0.0001157/0.4171, allocations: 130.4 kB / 0.969 GB, free: 12.75 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.586e-05/0.4171, allocations: 7.953 kB / 0.969 GB, free: 12.74 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.573e-05/0.4172, allocations: 16.72 kB / 0.9691 GB, free: 12.73 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.4172, allocations: 0 / 0.9691 GB, free: 12.73 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.4172, allocations: 3.984 kB / 0.9691 GB, free: 12.72 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.4172, allocations: 3.938 kB / 0.9691 GB, free: 12.72 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008708/0.4181, allocations: 421.4 kB / 0.9695 GB, free: 12.26 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.4181, allocations: 3.938 kB / 0.9695 GB, free: 12.25 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001933/0.4183, allocations: 27.97 kB / 0.9695 GB, free: 12.23 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.4183, allocations: 0 / 0.9695 GB, free: 12.23 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.849e-05/0.4183, allocations: 11.88 kB / 0.9695 GB, free: 12.21 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.4183, allocations: 3.984 kB / 0.9695 GB, free: 12.21 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.4183, allocations: 4 kB / 0.9695 GB, free: 12.21 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005532/0.4189, allocations: 247.4 kB / 0.9698 GB, free: 11.95 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.677e-05/0.4189, allocations: 15.89 kB / 0.9698 GB, free: 11.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.764e-05/0.4189, allocations: 7.938 kB / 0.9698 GB, free: 11.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001739/0.4191, allocations: 11.98 kB / 0.9698 GB, free: 11.91 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.796e-05/0.4191, allocations: 19.92 kB / 0.9698 GB, free: 11.89 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.4192, allocations: 0 / 0.9698 GB, free: 11.89 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.644e-05/0.4193, allocations: 112.1 kB / 0.9699 GB, free: 11.79 MB / 0.7169 GB Notification: Performance of sort global known variables: time 6e-08/0.4193, allocations: 0 / 0.9699 GB, free: 11.79 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002873/0.4195, allocations: 31.94 kB / 0.9699 GB, free: 11.75 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 (8): * Single equations (assignments): 8 * 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.0009688/0.4205, allocations: 0.8021 MB / 0.9707 GB, free: 10.93 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005173/0.421, allocations: 124.3 kB / 0.9708 GB, free: 10.8 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.421, allocations: 0 / 0.9708 GB, free: 10.8 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002373/0.4213, allocations: 72.03 kB / 0.9709 GB, free: 10.73 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004055/0.4217, allocations: 38.23 kB / 0.971 GB, free: 10.7 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002905/0.4246, allocations: 1.728 MB / 0.9726 GB, free: 8.895 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.579e-05/0.4247, allocations: 84.19 kB / 0.9727 GB, free: 8.793 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001466/0.4248, allocations: 36.42 kB / 0.9728 GB, free: 8.758 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.4249, allocations: 31.42 kB / 0.9728 GB, free: 8.727 MB / 0.7169 GB Notification: Performance of SimCode: time 8.42e-07/0.4249, allocations: 0 / 0.9728 GB, free: 8.727 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02364/0.4486, allocations: 3.75 MB / 0.9764 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.62, allocations: 16.72 kB / 0.9765 GB, free: 5.16 MB / 0.7169 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_MassFraction_pTphi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.321381864021532] Failed to read output from testmodel.py, exit status != 0: 11.780931360903196 12.14980645 11.73864172 Calling exit ...