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.001242/0.001242, 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.001438/0.001438, allocations: 220.4 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.532/1.532, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.291/3.291, allocations: 0.49 GB / 0.7959 GB, free: 35.45 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.002079/0.002079, allocations: 64.78 kB / 1.155 GB, free: 25.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4117/0.4137, allocations: 176.1 MB / 1.327 GB, free: 1.512 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003431/0.4172, allocations: 1.64 MB / 1.328 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1895/0.6067, allocations: 133.1 MB / 1.458 GB, free: 10.25 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001558/0.6069, allocations: 0 / 1.458 GB, free: 10.25 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0001861/0.607, allocations: 27.8 kB / 1.458 GB, free: 10.23 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0002975/0.6073, allocations: 39.7 kB / 1.458 GB, free: 10.19 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005805/0.6079, allocations: 147.4 kB / 1.458 GB, free: 10.04 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0003018/0.6082, allocations: 123.6 kB / 1.458 GB, free: 9.922 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000146/0.6084, allocations: 25.48 kB / 1.459 GB, free: 9.891 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001524/0.6099, allocations: 170.8 kB / 1.459 GB, free: 9.746 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 9.203e-05/0.61, allocations: 51.72 kB / 1.459 GB, free: 9.695 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 2.324e-05/0.61, allocations: 4 kB / 1.459 GB, free: 9.691 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004538/0.6105, allocations: 175.7 kB / 1.459 GB, free: 9.52 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 5.76e-05/0.6105, allocations: 19.92 kB / 1.459 GB, free: 9.5 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 7.264e-05/0.6106, allocations: 43.73 kB / 1.459 GB, free: 9.457 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0004075/0.611, allocations: 203.2 kB / 1.459 GB, free: 9.258 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.611, allocations: 0 / 1.459 GB, free: 9.258 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.503e-06/0.611, allocations: 0 / 1.459 GB, free: 9.258 MB / 1.154 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.611, allocations: 0 / 1.459 GB, free: 9.258 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.0006863/0.6117, allocations: 373.5 kB / 1.46 GB, free: 8.863 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/0.6118, allocations: 15.97 kB / 1.46 GB, free: 8.848 MB / 1.154 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.013e-05/0.6118, allocations: 192 / 1.46 GB, free: 8.848 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.241e-05/0.6118, allocations: 42.5 kB / 1.46 GB, free: 8.797 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001012/0.6128, allocations: 91.8 kB / 1.46 GB, free: 8.707 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003048/0.6131, allocations: 146.2 kB / 1.46 GB, free: 8.539 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.6131, allocations: 4 kB / 1.46 GB, free: 8.535 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.49e-05/0.6132, allocations: 8 kB / 1.46 GB, free: 8.527 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004615/0.6136, allocations: 147.2 kB / 1.46 GB, free: 8.379 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.6136, allocations: 0 / 1.46 GB, free: 8.379 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.168e-05/0.6137, allocations: 7.938 kB / 1.46 GB, free: 8.371 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.6137, allocations: 0 / 1.46 GB, free: 8.371 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005695/0.6142, allocations: 139.9 kB / 1.46 GB, free: 8.234 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008828/0.6151, allocations: 363.5 kB / 1.46 GB, free: 7.836 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007263/0.6158, allocations: 170.6 kB / 1.461 GB, free: 7.66 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002604/0.6161, allocations: 72.8 kB / 1.461 GB, free: 7.586 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 2.62e-05/0.6161, allocations: 4 kB / 1.461 GB, free: 7.582 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.573e-05/0.6162, allocations: 34.56 kB / 1.461 GB, free: 7.539 MB / 1.154 GB Notification: Performance of pre-optimization done (n=8): time 2.134e-06/0.6162, allocations: 0 / 1.461 GB, free: 7.539 MB / 1.154 GB Notification: Performance of matching and sorting (n=8): time 0.0008504/0.617, allocations: 217.6 kB / 1.461 GB, free: 7.32 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.215e-05/0.6171, allocations: 51.41 kB / 1.461 GB, free: 7.258 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/0.6172, allocations: 148.5 kB / 1.461 GB, free: 7.105 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.872e-05/0.6173, allocations: 29.7 kB / 1.461 GB, free: 7.07 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 7.564e-05/0.6173, allocations: 104.1 kB / 1.461 GB, free: 6.965 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 4.974e-05/0.6174, allocations: 27.88 kB / 1.461 GB, free: 6.938 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.872e-05/0.6175, allocations: 25.7 kB / 1.461 GB, free: 6.906 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002558/0.6177, allocations: 330.7 kB / 1.462 GB, free: 6.574 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002344/0.618, allocations: 51.95 kB / 1.462 GB, free: 6.523 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003981/0.6184, allocations: 134 kB / 1.462 GB, free: 6.371 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004331/0.6188, allocations: 124.7 kB / 1.462 GB, free: 6.246 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.6188, allocations: 0 / 1.462 GB, free: 6.246 MB / 1.154 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005804/0.6194, allocations: 157.5 kB / 1.462 GB, free: 6.086 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.6194, allocations: 4 kB / 1.462 GB, free: 6.082 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.6194, allocations: 0 / 1.462 GB, free: 6.082 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.6194, allocations: 4 kB / 1.462 GB, free: 6.078 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002204/0.6196, allocations: 31.95 kB / 1.462 GB, free: 6.047 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.6196, allocations: 0 / 1.462 GB, free: 6.047 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001486/0.6198, allocations: 27.8 kB / 1.462 GB, free: 6.02 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.6198, allocations: 4 kB / 1.462 GB, free: 6.016 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.0001168/0.6199, allocations: 124.5 kB / 1.462 GB, free: 5.887 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.106e-05/0.62, allocations: 15.91 kB / 1.462 GB, free: 5.871 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.681e-05/0.62, allocations: 16.72 kB / 1.462 GB, free: 5.852 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.62, allocations: 4 kB / 1.462 GB, free: 5.848 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.62, allocations: 0 / 1.462 GB, free: 5.848 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.62, allocations: 3.938 kB / 1.462 GB, free: 5.844 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008788/0.6209, allocations: 413.5 kB / 1.463 GB, free: 5.391 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.6209, allocations: 0 / 1.463 GB, free: 5.391 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001873/0.6211, allocations: 35.91 kB / 1.463 GB, free: 5.355 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.6211, allocations: 0 / 1.463 GB, free: 5.355 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.857e-05/0.6211, allocations: 3.938 kB / 1.463 GB, free: 5.352 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.6211, allocations: 0 / 1.463 GB, free: 5.352 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.6211, allocations: 0 / 1.463 GB, free: 5.352 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005386/0.6217, allocations: 263.3 kB / 1.463 GB, free: 5.078 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 1.939e-05/0.6217, allocations: 3.953 kB / 1.463 GB, free: 5.074 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.806e-05/0.6217, allocations: 11.94 kB / 1.463 GB, free: 5.062 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001933/0.6219, allocations: 15.97 kB / 1.463 GB, free: 5.047 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.138e-05/0.622, allocations: 11.98 kB / 1.463 GB, free: 5.035 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.622, allocations: 0 / 1.463 GB, free: 5.035 MB / 1.154 GB Notification: Performance of sorting global known variables: time 9.428e-05/0.6221, allocations: 116.9 kB / 1.463 GB, free: 4.922 MB / 1.154 GB Notification: Performance of sort global known variables: time 8e-08/0.6221, allocations: 0 / 1.463 GB, free: 4.922 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0002836/0.6223, allocations: 31.94 kB / 1.463 GB, free: 4.891 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.001067/0.6234, allocations: 0.8059 MB / 1.464 GB, free: 4.059 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.000502/0.6239, allocations: 128.2 kB / 1.464 GB, free: 3.934 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.6239, allocations: 0 / 1.464 GB, free: 3.934 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0002343/0.6242, allocations: 68.09 kB / 1.464 GB, free: 3.867 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003589/0.6245, allocations: 38.02 kB / 1.464 GB, free: 3.832 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002857/0.6274, allocations: 1.735 MB / 1.466 GB, free: 2.016 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001023/0.6275, allocations: 88.19 kB / 1.466 GB, free: 1.906 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0001385/0.6276, allocations: 28.41 kB / 1.466 GB, free: 1.879 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.061e-05/0.6277, allocations: 27.42 kB / 1.466 GB, free: 1.852 MB / 1.154 GB Notification: Performance of SimCode: time 5.71e-07/0.6277, allocations: 0 / 1.466 GB, free: 1.852 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02606/0.6538, allocations: 3.737 MB / 1.47 GB, free: 14.3 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/12.2, allocations: 6.031 kB / 1.47 GB, free: 14.3 MB / 1.17 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.409160246956162] Failed to read output from testmodel.py, exit status != 0: 12.359008730039932 12.375021155 11.76066807 Calling exit ...