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.001708/0.001708, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001453/0.001453, allocations: 215.3 kB / 23.04 MB, free: 5.07 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.544/1.544, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.349/3.349, allocations: 0.49 GB / 0.7959 GB, free: 33.55 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.001935/0.001935, allocations: 63.62 kB / 1.155 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.386/0.3879, allocations: 176.1 MB / 1.327 GB, free: 1.969 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.00302/0.3909, allocations: 1.668 MB / 1.328 GB, free: 300 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.2185/0.6094, allocations: 154.9 MB / 1.48 GB, free: 4.773 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001555/0.6095, allocations: 4 kB / 1.48 GB, free: 4.77 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0001813/0.6097, allocations: 15.8 kB / 1.48 GB, free: 4.754 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0003139/0.61, allocations: 43.7 kB / 1.48 GB, free: 4.711 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005319/0.6106, allocations: 159.2 kB / 1.48 GB, free: 4.555 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0002208/0.6108, allocations: 111.6 kB / 1.48 GB, free: 4.445 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.6109, allocations: 29.5 kB / 1.48 GB, free: 4.41 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001522/0.6124, allocations: 180.3 kB / 1.48 GB, free: 4.262 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 8.706e-05/0.6125, allocations: 47.78 kB / 1.48 GB, free: 4.215 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 2.121e-05/0.6125, allocations: 7.938 kB / 1.48 GB, free: 4.207 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005652/0.6131, allocations: 183.7 kB / 1.48 GB, free: 4.027 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 5.393e-05/0.6132, allocations: 27.92 kB / 1.48 GB, free: 4 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 6.961e-05/0.6132, allocations: 47.73 kB / 1.48 GB, free: 3.953 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0004276/0.6137, allocations: 199.3 kB / 1.481 GB, free: 3.758 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.279e-06/0.6137, allocations: 0 / 1.481 GB, free: 3.758 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.314e-06/0.6137, allocations: 0 / 1.481 GB, free: 3.758 MB / 1.17 GB Notification: Performance of Transformations before backend: time 6.002e-06/0.6137, allocations: 0 / 1.481 GB, free: 3.758 MB / 1.17 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.0007578/0.6144, allocations: 373.5 kB / 1.481 GB, free: 3.363 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.6145, allocations: 12.03 kB / 1.481 GB, free: 3.352 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.299e-05/0.6145, allocations: 4.188 kB / 1.481 GB, free: 3.348 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.598e-05/0.6145, allocations: 42.5 kB / 1.481 GB, free: 3.297 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009836/0.6155, allocations: 91.8 kB / 1.481 GB, free: 3.207 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002541/0.6158, allocations: 141 kB / 1.481 GB, free: 3.043 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.6158, allocations: 4 kB / 1.481 GB, free: 3.039 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.847e-05/0.6158, allocations: 15.94 kB / 1.481 GB, free: 3.023 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004779/0.6163, allocations: 129.5 kB / 1.481 GB, free: 2.891 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.6163, allocations: 7.938 kB / 1.481 GB, free: 2.883 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.179e-05/0.6163, allocations: 11.94 kB / 1.481 GB, free: 2.871 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.6163, allocations: 0 / 1.481 GB, free: 2.871 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005548/0.6169, allocations: 131.9 kB / 1.481 GB, free: 2.742 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008672/0.6177, allocations: 391.4 kB / 1.482 GB, free: 2.316 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006998/0.6184, allocations: 162.6 kB / 1.482 GB, free: 2.148 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002537/0.6187, allocations: 76.8 kB / 1.482 GB, free: 2.07 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 3.865e-05/0.6187, allocations: 4 kB / 1.482 GB, free: 2.066 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.6188, allocations: 34.5 kB / 1.482 GB, free: 2.023 MB / 1.17 GB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.6188, allocations: 0 / 1.482 GB, free: 2.023 MB / 1.17 GB Notification: Performance of matching and sorting (n=8): time 0.0008149/0.6196, allocations: 221.5 kB / 1.482 GB, free: 1.801 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001423/0.6197, allocations: 55.39 kB / 1.482 GB, free: 1.734 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/0.6199, allocations: 146.4 kB / 1.483 GB, free: 1.586 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.754e-05/0.6199, allocations: 29.7 kB / 1.483 GB, free: 1.551 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 7.765e-05/0.62, allocations: 104.1 kB / 1.483 GB, free: 1.445 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 3.912e-05/0.62, allocations: 31.89 kB / 1.483 GB, free: 1.414 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.904e-05/0.6201, allocations: 25.7 kB / 1.483 GB, free: 1.383 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.6202, allocations: 322.8 kB / 1.483 GB, free: 1.059 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002268/0.6204, allocations: 51.94 kB / 1.483 GB, free: 1.008 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002407/0.6207, allocations: 86.45 kB / 1.483 GB, free: 0.9141 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004211/0.6211, allocations: 112.8 kB / 1.483 GB, free: 0.8008 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.6211, allocations: 0 / 1.483 GB, free: 0.8008 MB / 1.17 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004961/0.6216, allocations: 161.5 kB / 1.483 GB, free: 0.6367 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.6216, allocations: 8 kB / 1.483 GB, free: 0.6289 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.6216, allocations: 0 / 1.483 GB, free: 0.6289 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.6216, allocations: 3.984 kB / 1.483 GB, free: 0.625 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002208/0.6219, allocations: 31.97 kB / 1.483 GB, free: 0.5938 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.6219, allocations: 3.938 kB / 1.483 GB, free: 0.5898 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001442/0.622, allocations: 23.86 kB / 1.483 GB, free: 0.5664 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.483e-05/0.622, allocations: 7.984 kB / 1.483 GB, free: 0.5586 MB / 1.17 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.0001092/0.6221, allocations: 114.4 kB / 1.484 GB, free: 448 kB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.926e-05/0.6222, allocations: 11.91 kB / 1.484 GB, free: 436 kB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.98e-05/0.6222, allocations: 24.7 kB / 1.484 GB, free: 408 kB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.6222, allocations: 0 / 1.484 GB, free: 408 kB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.6223, allocations: 4 kB / 1.484 GB, free: 404 kB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.6223, allocations: 7.938 kB / 1.484 GB, free: 396 kB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009263/0.6232, allocations: 433.4 kB / 1.484 GB, free: 15.91 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.6232, allocations: 0 / 1.484 GB, free: 15.91 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000189/0.6234, allocations: 27.97 kB / 1.484 GB, free: 15.89 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.6234, allocations: 3.938 kB / 1.484 GB, free: 15.88 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/0.6234, allocations: 7.938 kB / 1.484 GB, free: 15.88 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.6234, allocations: 0 / 1.484 GB, free: 15.88 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.6234, allocations: 0 / 1.484 GB, free: 15.88 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005587/0.624, allocations: 259.3 kB / 1.484 GB, free: 15.61 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 1.93e-05/0.624, allocations: 7.953 kB / 1.484 GB, free: 15.6 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.691e-05/0.624, allocations: 3.938 kB / 1.484 GB, free: 15.59 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000174/0.6242, allocations: 19.97 kB / 1.484 GB, free: 15.57 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.634e-05/0.6242, allocations: 11.98 kB / 1.484 GB, free: 15.56 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-06/0.6242, allocations: 3.938 kB / 1.484 GB, free: 15.56 MB / 1.186 GB Notification: Performance of sorting global known variables: time 8.416e-05/0.6243, allocations: 111.2 kB / 1.485 GB, free: 15.45 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/0.6243, allocations: 0 / 1.485 GB, free: 15.45 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.000324/0.6247, allocations: 31.94 kB / 1.485 GB, free: 15.42 MB / 1.186 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.001037/0.6257, allocations: 0.8028 MB / 1.485 GB, free: 14.59 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0005302/0.6262, allocations: 131.8 kB / 1.485 GB, free: 14.46 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.6262, allocations: 0 / 1.485 GB, free: 14.46 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0002553/0.6265, allocations: 63.94 kB / 1.486 GB, free: 14.4 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003613/0.6268, allocations: 27.97 kB / 1.486 GB, free: 14.37 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002961/0.6298, allocations: 1.744 MB / 1.487 GB, free: 12.55 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003595/0.6302, allocations: 0.7002 MB / 1.488 GB, free: 11.82 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0001345/0.6303, allocations: 20.42 kB / 1.488 GB, free: 11.8 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.562e-05/0.6304, allocations: 35.36 kB / 1.488 GB, free: 11.77 MB / 1.186 GB Notification: Performance of SimCode: time 5.72e-07/0.6304, allocations: 4 kB / 1.488 GB, free: 11.76 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.025/0.6554, allocations: 3.543 MB / 1.491 GB, free: 8.383 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.83, allocations: 11.53 kB / 1.491 GB, free: 8.375 MB / 1.186 GB " [Timeout remaining time 288] (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: 19.04141038301168] Failed to read output from testmodel.py, exit status != 0: 12.041931163985282 12.07059801 11.451736522 Calling exit ...