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.0009943/0.0009943, allocations: 104.3 kB / 19.72 MB, free: 420 kB / 13.93 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.001753/0.001753, allocations: 207.8 kB / 23.02 MB, free: 2.961 MB / 13.93 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.015/1.015, allocations: 230.6 MB / 256.8 MB, free: 9.609 MB / 202.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 2.092/2.092, allocations: 0.5045 GB / 0.8104 GB, free: 2.762 MB / 0.6511 GB " [Timeout remaining time 177] 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 0.00142/0.00142, allocations: 71.89 kB / 1.177 GB, free: 12.05 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7877/0.7891, allocations: 180 MB / 1.352 GB, free: 1.703 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002335/0.7915, allocations: 1.623 MB / 1.354 GB, free: 72 kB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.1327/0.9242, allocations: 133.2 MB / 1.484 GB, free: 10.36 MB / 1.167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001269/0.9243, allocations: 4 kB / 1.484 GB, free: 10.36 MB / 1.167 GB Notification: Performance of NFTyping.typeComponents: time 0.0001691/0.9245, allocations: 19.8 kB / 1.484 GB, free: 10.34 MB / 1.167 GB Notification: Performance of NFTyping.typeBindings: time 0.0002882/0.9248, allocations: 43.66 kB / 1.484 GB, free: 10.29 MB / 1.167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004112/0.9252, allocations: 151.4 kB / 1.484 GB, free: 10.14 MB / 1.167 GB Notification: Performance of NFFlatten.flatten: time 0.0002226/0.9254, allocations: 127.6 kB / 1.484 GB, free: 10.02 MB / 1.167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001766/0.9256, allocations: 25.48 kB / 1.484 GB, free: 9.992 MB / 1.167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001096/0.9267, allocations: 173.6 kB / 1.485 GB, free: 9.844 MB / 1.167 GB Notification: Performance of NFSimplifyModel.simplify: time 6.159e-05/0.9268, allocations: 39.78 kB / 1.485 GB, free: 9.805 MB / 1.167 GB Notification: Performance of NFPackage.collectConstants: time 1.837e-05/0.9268, allocations: 8 kB / 1.485 GB, free: 9.797 MB / 1.167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003243/0.9271, allocations: 171.7 kB / 1.485 GB, free: 9.629 MB / 1.167 GB Notification: Performance of NFScalarize.scalarize: time 4.584e-05/0.9271, allocations: 23.92 kB / 1.485 GB, free: 9.605 MB / 1.167 GB Notification: Performance of NFVerifyModel.verify: time 4.503e-05/0.9272, allocations: 39.78 kB / 1.485 GB, free: 9.566 MB / 1.167 GB Notification: Performance of NFConvertDAE.convert: time 0.0002804/0.9275, allocations: 195.2 kB / 1.485 GB, free: 9.375 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.056e-05/0.9275, allocations: 4 kB / 1.485 GB, free: 9.371 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.854e-06/0.9275, allocations: 0 / 1.485 GB, free: 9.371 MB / 1.167 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.9275, allocations: 0 / 1.485 GB, free: 9.371 MB / 1.167 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.0005456/0.928, allocations: 369.5 kB / 1.485 GB, free: 8.98 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.9281, allocations: 8.922 kB / 1.485 GB, free: 8.973 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.89e-05/0.9281, allocations: 42.73 kB / 1.485 GB, free: 8.922 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005501/0.9287, allocations: 91.75 kB / 1.486 GB, free: 8.832 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002256/0.9289, allocations: 153 kB / 1.486 GB, free: 8.656 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.9289, allocations: 0 / 1.486 GB, free: 8.656 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/0.9289, allocations: 12 kB / 1.486 GB, free: 8.645 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002903/0.9292, allocations: 140.2 kB / 1.486 GB, free: 8.504 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.497e-06/0.9292, allocations: 0 / 1.486 GB, free: 8.504 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.9292, allocations: 7.938 kB / 1.486 GB, free: 8.496 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.9292, allocations: 0 / 1.486 GB, free: 8.496 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002807/0.9295, allocations: 135.9 kB / 1.486 GB, free: 8.363 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005874/0.9301, allocations: 371.5 kB / 1.486 GB, free: 7.957 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004112/0.9305, allocations: 170.6 kB / 1.487 GB, free: 7.781 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001232/0.9307, allocations: 76.8 kB / 1.487 GB, free: 7.703 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.47e-05/0.9307, allocations: 0 / 1.487 GB, free: 7.703 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.9307, allocations: 38.48 kB / 1.487 GB, free: 7.656 MB / 1.167 GB Notification: Performance of pre-optimization done (n=8): time 1.523e-06/0.9307, allocations: 0 / 1.487 GB, free: 7.656 MB / 1.167 GB Notification: Performance of matching and sorting (n=8): time 0.0004932/0.9312, allocations: 217.4 kB / 1.487 GB, free: 7.438 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.754e-05/0.9312, allocations: 55.41 kB / 1.487 GB, free: 7.371 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.9313, allocations: 149.3 kB / 1.487 GB, free: 7.215 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.9314, allocations: 25.7 kB / 1.487 GB, free: 7.184 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 7.637e-05/0.9314, allocations: 112.2 kB / 1.487 GB, free: 7.07 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 2.806e-05/0.9315, allocations: 19.75 kB / 1.487 GB, free: 7.051 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-05/0.9315, allocations: 29.7 kB / 1.487 GB, free: 7.016 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.9316, allocations: 326.8 kB / 1.488 GB, free: 6.688 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/0.9317, allocations: 55.94 kB / 1.488 GB, free: 6.633 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002606/0.932, allocations: 125.9 kB / 1.488 GB, free: 6.488 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000214/0.9322, allocations: 124.7 kB / 1.488 GB, free: 6.363 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.9322, allocations: 4 kB / 1.488 GB, free: 6.359 MB / 1.167 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002757/0.9325, allocations: 153.5 kB / 1.488 GB, free: 6.203 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.9325, allocations: 12 kB / 1.488 GB, free: 6.191 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.9325, allocations: 3.938 kB / 1.488 GB, free: 6.188 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.152e-05/0.9325, allocations: 0 / 1.488 GB, free: 6.188 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.9327, allocations: 27.97 kB / 1.488 GB, free: 6.16 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.9327, allocations: 0 / 1.488 GB, free: 6.16 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.165e-05/0.9327, allocations: 19.94 kB / 1.488 GB, free: 6.141 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.9327, allocations: 15.86 kB / 1.488 GB, free: 6.125 MB / 1.167 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.53e-05/0.9328, allocations: 118.4 kB / 1.488 GB, free: 6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.845e-05/0.9328, allocations: 7.953 kB / 1.488 GB, free: 5.992 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.149e-05/0.9329, allocations: 16.72 kB / 1.488 GB, free: 5.977 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.9329, allocations: 3.984 kB / 1.488 GB, free: 5.973 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.9329, allocations: 0 / 1.488 GB, free: 5.973 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.9329, allocations: 4 kB / 1.488 GB, free: 5.969 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005283/0.9334, allocations: 421.4 kB / 1.489 GB, free: 5.508 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.9334, allocations: 0 / 1.489 GB, free: 5.508 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.349e-05/0.9335, allocations: 27.91 kB / 1.489 GB, free: 5.48 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.9335, allocations: 0 / 1.489 GB, free: 5.48 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.9335, allocations: 7.984 kB / 1.489 GB, free: 5.473 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.9335, allocations: 3.938 kB / 1.489 GB, free: 5.469 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.9335, allocations: 0 / 1.489 GB, free: 5.469 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002669/0.9338, allocations: 259.3 kB / 1.489 GB, free: 5.199 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.626e-05/0.9338, allocations: 15.84 kB / 1.489 GB, free: 5.184 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.9338, allocations: 0 / 1.489 GB, free: 5.184 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.148e-05/0.9339, allocations: 23.92 kB / 1.489 GB, free: 5.16 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.214e-05/0.9339, allocations: 11.98 kB / 1.489 GB, free: 5.148 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.934, allocations: 4 kB / 1.489 GB, free: 5.145 MB / 1.167 GB Notification: Performance of sorting global known variables: time 5.357e-05/0.934, allocations: 115.1 kB / 1.489 GB, free: 5.031 MB / 1.167 GB Notification: Performance of sort global known variables: time 5e-08/0.934, allocations: 3.938 kB / 1.489 GB, free: 5.027 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0001797/0.9342, allocations: 27.94 kB / 1.489 GB, free: 5 MB / 1.167 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.0007232/0.9349, allocations: 0.799 MB / 1.49 GB, free: 4.176 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0003033/0.9352, allocations: 127.9 kB / 1.49 GB, free: 4.051 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.9352, allocations: 0 / 1.49 GB, free: 4.051 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001176/0.9353, allocations: 67.94 kB / 1.49 GB, free: 3.984 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002659/0.9356, allocations: 29.64 kB / 1.49 GB, free: 3.957 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00167/0.9373, allocations: 1.731 MB / 1.492 GB, free: 2.145 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.124e-05/0.9373, allocations: 87.97 kB / 1.492 GB, free: 2.039 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0001035/0.9374, allocations: 36.42 kB / 1.492 GB, free: 2.004 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.803e-05/0.9375, allocations: 31.42 kB / 1.492 GB, free: 1.973 MB / 1.167 GB Notification: Performance of SimCode: time 1.032e-06/0.9375, allocations: 0 / 1.492 GB, free: 1.973 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07823/1.016, allocations: 4.076 MB / 1.496 GB, free: 14.08 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.31/8.326, allocations: 0 / 1.496 GB, free: 14.08 MB / 1.182 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: 13.48125924821943]