Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.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.001666/0.001666, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001985/0.001985, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.605/1.605, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.139/3.139, allocations: 0.49 GB / 0.7923 GB, free: 1.289 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.002031/0.002031, allocations: 63.91 kB / 1.15 GB, free: 14.52 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.03/1.032, allocations: 176.1 MB / 1.321 GB, free: 7.57 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003462/1.035, allocations: 1.668 MB / 1.323 GB, free: 6.262 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.209/1.244, allocations: 154.9 MB / 1.474 GB, free: 9.066 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000182/1.244, allocations: 4 kB / 1.474 GB, free: 9.062 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0002089/1.244, allocations: 15.8 kB / 1.474 GB, free: 9.047 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0003345/1.245, allocations: 43.7 kB / 1.474 GB, free: 9.004 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004763/1.245, allocations: 143.4 kB / 1.475 GB, free: 8.863 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0002265/1.245, allocations: 123.5 kB / 1.475 GB, free: 8.742 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/1.246, allocations: 29.39 kB / 1.475 GB, free: 8.707 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001402/1.247, allocations: 184.3 kB / 1.475 GB, free: 8.551 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 9.01e-05/1.247, allocations: 47.78 kB / 1.475 GB, free: 8.504 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 2.301e-05/1.247, allocations: 4 kB / 1.475 GB, free: 8.5 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004885/1.248, allocations: 191.6 kB / 1.475 GB, free: 8.312 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 5.943e-05/1.248, allocations: 19.92 kB / 1.475 GB, free: 8.293 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 7.325e-05/1.248, allocations: 47.73 kB / 1.475 GB, free: 8.246 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0004606/1.248, allocations: 191.3 kB / 1.475 GB, free: 8.059 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/1.248, allocations: 0 / 1.475 GB, free: 8.059 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.763e-06/1.248, allocations: 7.938 kB / 1.475 GB, free: 8.051 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.139e-05/1.248, allocations: 0 / 1.475 GB, free: 8.051 MB / 1.154 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.0009329/1.249, allocations: 448.5 kB / 1.476 GB, free: 7.566 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 6.64e-05/1.249, allocations: 11.98 kB / 1.476 GB, free: 7.555 MB / 1.154 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.687e-05/1.249, allocations: 4.188 kB / 1.476 GB, free: 7.551 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.105e-05/1.249, allocations: 46.48 kB / 1.476 GB, free: 7.496 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001068/1.25, allocations: 79.86 kB / 1.476 GB, free: 7.418 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002966/1.251, allocations: 206.8 kB / 1.476 GB, free: 7.176 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/1.251, allocations: 8 kB / 1.476 GB, free: 7.168 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.638e-05/1.251, allocations: 8 kB / 1.476 GB, free: 7.16 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004738/1.251, allocations: 133.5 kB / 1.476 GB, free: 7.023 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/1.251, allocations: 3.938 kB / 1.476 GB, free: 7.02 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.272e-05/1.251, allocations: 7.938 kB / 1.476 GB, free: 7.012 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/1.251, allocations: 4 kB / 1.476 GB, free: 7.008 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005858/1.252, allocations: 143.7 kB / 1.476 GB, free: 6.867 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009322/1.253, allocations: 408.7 kB / 1.477 GB, free: 6.418 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008009/1.254, allocations: 251.7 kB / 1.477 GB, free: 6.145 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002657/1.254, allocations: 76.8 kB / 1.477 GB, free: 6.066 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 2.626e-05/1.254, allocations: 4 kB / 1.477 GB, free: 6.062 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.665e-05/1.254, allocations: 34.56 kB / 1.477 GB, free: 6.02 MB / 1.154 GB Notification: Performance of pre-optimization done (n=8): time 1.333e-06/1.254, allocations: 0 / 1.477 GB, free: 6.02 MB / 1.154 GB Notification: Performance of matching and sorting (n=8): time 0.0008787/1.255, allocations: 221.4 kB / 1.477 GB, free: 5.797 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.895e-05/1.255, allocations: 51.41 kB / 1.477 GB, free: 5.734 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/1.255, allocations: 142.5 kB / 1.478 GB, free: 5.586 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.448e-05/1.255, allocations: 33.7 kB / 1.478 GB, free: 5.547 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 8.386e-05/1.255, allocations: 104 kB / 1.478 GB, free: 5.441 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 4.895e-05/1.255, allocations: 31.73 kB / 1.478 GB, free: 5.41 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.187e-05/1.255, allocations: 21.7 kB / 1.478 GB, free: 5.383 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001617/1.255, allocations: 334.7 kB / 1.478 GB, free: 5.047 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002306/1.256, allocations: 47.95 kB / 1.478 GB, free: 5 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002459/1.256, allocations: 74.52 kB / 1.478 GB, free: 4.918 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000459/1.256, allocations: 120.8 kB / 1.478 GB, free: 4.797 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/1.256, allocations: 0 / 1.478 GB, free: 4.797 MB / 1.154 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000535/1.257, allocations: 165.5 kB / 1.478 GB, free: 4.629 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/1.257, allocations: 4 kB / 1.478 GB, free: 4.625 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.455e-06/1.257, allocations: 4 kB / 1.478 GB, free: 4.621 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.09e-05/1.257, allocations: 0 / 1.478 GB, free: 4.621 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002408/1.257, allocations: 27.95 kB / 1.478 GB, free: 4.594 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/1.257, allocations: 4 kB / 1.478 GB, free: 4.59 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001558/1.257, allocations: 23.92 kB / 1.478 GB, free: 4.566 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/1.257, allocations: 4 kB / 1.478 GB, free: 4.562 MB / 1.154 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.0001187/1.257, allocations: 125.8 kB / 1.479 GB, free: 4.43 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.395e-05/1.257, allocations: 11.91 kB / 1.479 GB, free: 4.418 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.663e-05/1.258, allocations: 16.72 kB / 1.479 GB, free: 4.398 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/1.258, allocations: 0 / 1.479 GB, free: 4.398 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/1.258, allocations: 0 / 1.479 GB, free: 4.398 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/1.258, allocations: 7.938 kB / 1.479 GB, free: 4.391 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009543/1.259, allocations: 454.9 kB / 1.479 GB, free: 3.891 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/1.259, allocations: 0 / 1.479 GB, free: 3.891 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001927/1.259, allocations: 35.97 kB / 1.479 GB, free: 3.855 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/1.259, allocations: 0 / 1.479 GB, free: 3.855 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.751e-05/1.259, allocations: 7.922 kB / 1.479 GB, free: 3.848 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.646e-06/1.259, allocations: 4 kB / 1.479 GB, free: 3.844 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/1.259, allocations: 80 / 1.479 GB, free: 3.844 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005822/1.259, allocations: 267.2 kB / 1.479 GB, free: 3.566 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 6.243e-05/1.259, allocations: 89 kB / 1.479 GB, free: 3.461 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.915e-05/1.259, allocations: 7.938 kB / 1.479 GB, free: 3.453 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001768/1.26, allocations: 11.98 kB / 1.479 GB, free: 3.441 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.434e-05/1.26, allocations: 11.98 kB / 1.479 GB, free: 3.43 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/1.26, allocations: 4 kB / 1.479 GB, free: 3.426 MB / 1.154 GB Notification: Performance of sorting global known variables: time 9.243e-05/1.26, allocations: 118.5 kB / 1.48 GB, free: 3.312 MB / 1.154 GB Notification: Performance of sort global known variables: time 7e-08/1.26, allocations: 0 / 1.48 GB, free: 3.312 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0002775/1.26, allocations: 31.94 kB / 1.48 GB, free: 3.281 MB / 1.154 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.0009912/1.261, allocations: 0.8021 MB / 1.48 GB, free: 2.453 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.000538/1.262, allocations: 127.8 kB / 1.481 GB, free: 2.328 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/1.262, allocations: 3.938 kB / 1.481 GB, free: 2.324 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0002442/1.262, allocations: 67.88 kB / 1.481 GB, free: 2.258 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000368/1.262, allocations: 23.98 kB / 1.481 GB, free: 2.234 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00279/1.265, allocations: 1.743 MB / 1.482 GB, free: 424 kB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003411/1.265, allocations: 0.7002 MB / 1.483 GB, free: 15.69 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0001322/1.265, allocations: 32.44 kB / 1.483 GB, free: 15.66 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.028e-05/1.266, allocations: 31.42 kB / 1.483 GB, free: 15.62 MB / 1.17 GB Notification: Performance of SimCode: time 6.91e-07/1.266, allocations: 0 / 1.483 GB, free: 15.62 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02052/1.286, allocations: 3.416 MB / 1.486 GB, free: 12.36 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.74/10.03, allocations: 5.734 kB / 1.486 GB, free: 12.36 MB / 1.17 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.865971532010008] Failed to read output from testmodel.py, exit status != 0: 10.156616626947653 10.179710706 8.926933593 Calling exit ...