Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.0008772/0.0008772, allocations: 80.55 kB / 19.96 MB, free: 4.598 MB / 18.57 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.0009674/0.0009674, allocations: 173.2 kB / 23.24 MB, free: 1.324 MB / 18.57 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.004/1.004, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.835/1.835, allocations: 389.6 MB / 0.6343 GB, free: 12.57 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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_13_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_13_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.674e-06/1.674e-06, allocations: 3.938 kB / 1.001 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.884e-05/2.051e-05, allocations: 6.281 kB / 1.001 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002143/0.002164, allocations: 1.623 MB / 1.002 GB, free: 11.9 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.6101/0.6123, allocations: 133.2 MB / 1.132 GB, free: 324 kB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001554/0.6124, allocations: 1.156 kB / 1.132 GB, free: 324 kB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001847/0.6126, allocations: 12.33 kB / 1.132 GB, free: 316 kB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003135/0.6129, allocations: 46.12 kB / 1.132 GB, free: 288 kB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005356/0.6134, allocations: 152.5 kB / 1.133 GB, free: 212 kB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0002138/0.6137, allocations: 131 kB / 1.133 GB, free: 144 kB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001556/0.6138, allocations: 16.44 kB / 1.133 GB, free: 136 kB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001019/0.6148, allocations: 201 kB / 1.133 GB, free: 80 kB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.562e-05/0.6149, allocations: 38.94 kB / 1.133 GB, free: 64 kB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 2.308e-05/0.6149, allocations: 6.812 kB / 1.133 GB, free: 64 kB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003853/0.6153, allocations: 171.2 kB / 1.133 GB, free: 20 kB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 4.758e-05/0.6153, allocations: 22.48 kB / 1.133 GB, free: 8 kB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 6.717e-05/0.6154, allocations: 35.33 kB / 1.133 GB, free: 15.99 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.000416/0.6158, allocations: 215.6 kB / 1.133 GB, free: 15.91 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.6158, allocations: 5.156 kB / 1.133 GB, free: 15.91 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.413e-06/0.6158, allocations: 0 / 1.133 GB, free: 15.91 MB / 1.01 GB Notification: Performance of Transformations before backend: time 5.77e-06/0.6158, allocations: 0 / 1.133 GB, free: 15.91 MB / 1.01 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.0005506/0.6164, allocations: 368.9 kB / 1.134 GB, free: 15.59 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.36e-05/0.6165, allocations: 10.97 kB / 1.134 GB, free: 15.59 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.192e-05/0.6165, allocations: 40 kB / 1.134 GB, free: 15.55 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006104/0.6171, allocations: 91.44 kB / 1.134 GB, free: 15.53 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002068/0.6173, allocations: 144.7 kB / 1.134 GB, free: 15.39 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.6173, allocations: 2.406 kB / 1.134 GB, free: 15.39 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.786e-05/0.6173, allocations: 9.938 kB / 1.134 GB, free: 15.38 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003203/0.6177, allocations: 150.2 kB / 1.134 GB, free: 15.32 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.6177, allocations: 0 / 1.134 GB, free: 15.32 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.6177, allocations: 1.125 kB / 1.134 GB, free: 15.32 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.6177, allocations: 1.219 kB / 1.134 GB, free: 15.32 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003132/0.618, allocations: 135.7 kB / 1.134 GB, free: 15.29 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005739/0.6186, allocations: 363.7 kB / 1.135 GB, free: 15 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004329/0.619, allocations: 170.2 kB / 1.135 GB, free: 14.93 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001492/0.6192, allocations: 77.38 kB / 1.135 GB, free: 14.91 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.6192, allocations: 1.781 kB / 1.135 GB, free: 14.91 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.6192, allocations: 32.56 kB / 1.135 GB, free: 14.87 MB / 1.01 GB Notification: Performance of pre-optimization done (n=8): time 1.293e-06/0.6192, allocations: 0 / 1.135 GB, free: 14.87 MB / 1.01 GB Notification: Performance of matching and sorting (n=8): time 0.0005471/0.6197, allocations: 225.8 kB / 1.135 GB, free: 14.78 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.351e-05/0.6198, allocations: 53.97 kB / 1.135 GB, free: 14.72 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.6199, allocations: 143.8 kB / 1.135 GB, free: 14.61 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.6199, allocations: 31.14 kB / 1.135 GB, free: 14.57 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 5.322e-05/0.62, allocations: 100.2 kB / 1.135 GB, free: 14.48 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 3.002e-05/0.62, allocations: 28.8 kB / 1.135 GB, free: 14.46 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.594e-05/0.62, allocations: 23.28 kB / 1.135 GB, free: 14.44 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 8.828e-05/0.6201, allocations: 321.7 kB / 1.136 GB, free: 14.12 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.6203, allocations: 54.52 kB / 1.136 GB, free: 14.11 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001661/0.6204, allocations: 132.4 kB / 1.136 GB, free: 14.01 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002567/0.6207, allocations: 126.9 kB / 1.136 GB, free: 13.97 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.6207, allocations: 0 / 1.136 GB, free: 13.97 MB / 1.01 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002972/0.621, allocations: 162.9 kB / 1.136 GB, free: 13.9 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.621, allocations: 5.531 kB / 1.136 GB, free: 13.9 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.621, allocations: 5.25 kB / 1.136 GB, free: 13.9 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.621, allocations: 0 / 1.136 GB, free: 13.9 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.6211, allocations: 27.25 kB / 1.136 GB, free: 13.9 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.6212, allocations: 4.484 kB / 1.136 GB, free: 13.9 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.757e-05/0.6212, allocations: 22.67 kB / 1.136 GB, free: 13.89 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.6212, allocations: 3.562 kB / 1.136 GB, free: 13.89 MB / 1.01 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 7.903e-05/0.6213, allocations: 124.7 kB / 1.136 GB, free: 13.77 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.23e-05/0.6213, allocations: 16.42 kB / 1.136 GB, free: 13.75 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.532e-05/0.6214, allocations: 17.62 kB / 1.136 GB, free: 13.74 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.6214, allocations: 5.203 kB / 1.136 GB, free: 13.74 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.6214, allocations: 0.7031 kB / 1.136 GB, free: 13.74 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.6214, allocations: 0 / 1.136 GB, free: 13.74 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005786/0.622, allocations: 427.4 kB / 1.137 GB, free: 13.41 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.622, allocations: 1.219 kB / 1.137 GB, free: 13.41 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.859e-05/0.6221, allocations: 30.95 kB / 1.137 GB, free: 13.41 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.6221, allocations: 0.5156 kB / 1.137 GB, free: 13.41 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.6221, allocations: 2.203 kB / 1.137 GB, free: 13.41 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.6221, allocations: 0.5156 kB / 1.137 GB, free: 13.41 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.706e-06/0.6221, allocations: 1.312 kB / 1.137 GB, free: 13.41 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000322/0.6224, allocations: 259.4 kB / 1.137 GB, free: 13.24 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 1.588e-05/0.6225, allocations: 12.03 kB / 1.137 GB, free: 13.23 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.791e-05/0.6225, allocations: 1.641 kB / 1.137 GB, free: 13.23 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.564e-05/0.6226, allocations: 16.05 kB / 1.137 GB, free: 13.23 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.928e-05/0.6226, allocations: 13.97 kB / 1.137 GB, free: 13.23 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.6226, allocations: 3.375 kB / 1.137 GB, free: 13.23 MB / 1.01 GB Notification: Performance of sorting global known variables: time 6.647e-05/0.6227, allocations: 116.4 kB / 1.137 GB, free: 13.14 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.6227, allocations: 1.188 kB / 1.137 GB, free: 13.14 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0002163/0.6229, allocations: 31.19 kB / 1.137 GB, free: 13.13 MB / 1.01 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.0006758/0.6236, allocations: 0.8037 MB / 1.138 GB, free: 12.43 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0003266/0.6239, allocations: 121.9 kB / 1.138 GB, free: 12.41 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.6239, allocations: 1.094 kB / 1.138 GB, free: 12.41 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001334/0.624, allocations: 67.97 kB / 1.138 GB, free: 12.39 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002718/0.6243, allocations: 40.58 kB / 1.138 GB, free: 12.38 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002039/0.6263, allocations: 1.732 MB / 1.14 GB, free: 11.04 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.157e-05/0.6264, allocations: 85.61 kB / 1.14 GB, free: 10.97 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0001265/0.6266, allocations: 25.88 kB / 1.14 GB, free: 10.96 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.609e-05/0.6266, allocations: 34.89 kB / 1.14 GB, free: 10.94 MB / 1.01 GB Notification: Performance of SimCode: time 7.51e-07/0.6266, allocations: 0 / 1.14 GB, free: 10.94 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08733/0.714, allocations: 4.215 MB / 1.144 GB, free: 9.895 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.377/8.091, allocations: 6.188 kB / 1.144 GB, free: 9.891 MB / 1.01 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_13_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_13_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu) > Buildings_13_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_fmpy.pipe ; mkfifo Buildings_13_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu) > Buildings_13_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.682471608743072]