Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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.001264/0.001264, allocations: 100.3 kB / 19.72 MB, free: 428 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.001493/0.001493, allocations: 215.3 kB / 23.02 MB, free: 2.973 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.017/1.017, allocations: 230.6 MB / 256.8 MB, free: 9.605 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.119/2.119, allocations: 0.5045 GB / 0.8104 GB, free: 2.785 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.Functions.Examples.phi_pTX,fileNamePrefix="Buildings_13_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="Buildings_13_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001064/0.001064, allocations: 62.69 kB / 1.177 GB, free: 15.47 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3515/0.3526, allocations: 180 MB / 1.352 GB, free: 9.184 MB / 1.042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001971/0.3546, allocations: 1.286 MB / 1.354 GB, free: 7.887 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.0009835/0.3555, allocations: 0.775 MB / 1.354 GB, free: 7.109 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.199e-05/0.3556, allocations: 0 / 1.354 GB, free: 7.109 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 2.199e-05/0.3556, allocations: 3.938 kB / 1.354 GB, free: 7.105 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 4.236e-05/0.3556, allocations: 3.984 kB / 1.354 GB, free: 7.102 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004924/0.3561, allocations: 131.4 kB / 1.355 GB, free: 6.973 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 8.059e-05/0.3562, allocations: 27.86 kB / 1.355 GB, free: 6.945 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.587e-05/0.3563, allocations: 3.984 kB / 1.355 GB, free: 6.941 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.791e-05/0.3563, allocations: 15.88 kB / 1.355 GB, free: 6.926 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.867e-05/0.3564, allocations: 11.97 kB / 1.355 GB, free: 6.914 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.365e-05/0.3564, allocations: 0 / 1.355 GB, free: 6.914 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002591/0.3566, allocations: 155.8 kB / 1.355 GB, free: 6.762 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 2.339e-05/0.3567, allocations: 7.984 kB / 1.355 GB, free: 6.754 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 2.189e-05/0.3567, allocations: 11.94 kB / 1.355 GB, free: 6.742 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002106/0.3569, allocations: 127.8 kB / 1.355 GB, free: 6.617 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.3569, allocations: 0 / 1.355 GB, free: 6.617 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.224e-06/0.3569, allocations: 0 / 1.355 GB, free: 6.617 MB / 1.042 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.3569, allocations: 0 / 1.355 GB, free: 6.617 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004532/0.3574, allocations: 286.1 kB / 1.355 GB, free: 6.305 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.3574, allocations: 12.92 kB / 1.355 GB, free: 6.293 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.477e-05/0.3575, allocations: 30.75 kB / 1.355 GB, free: 6.254 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.935e-05/0.3575, allocations: 12.89 kB / 1.355 GB, free: 6.242 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.768e-05/0.3576, allocations: 102.5 kB / 1.355 GB, free: 6.117 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.755e-05/0.3577, allocations: 67.95 kB / 1.355 GB, free: 6.039 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.414e-06/0.3577, allocations: 384 / 1.355 GB, free: 6.039 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.3578, allocations: 71.7 kB / 1.355 GB, free: 5.957 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.3578, allocations: 3.938 kB / 1.355 GB, free: 5.953 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.3578, allocations: 4 kB / 1.355 GB, free: 5.949 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.3578, allocations: 3.938 kB / 1.356 GB, free: 5.945 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.583e-05/0.3579, allocations: 15.98 kB / 1.356 GB, free: 5.93 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001312/0.358, allocations: 132.7 kB / 1.356 GB, free: 5.758 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001825/0.3582, allocations: 38.56 kB / 1.356 GB, free: 5.711 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.484e-05/0.3582, allocations: 20.86 kB / 1.356 GB, free: 5.688 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001618/0.3584, allocations: 28.06 kB / 1.356 GB, free: 5.66 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.3584, allocations: 38.5 kB / 1.356 GB, free: 5.613 MB / 1.042 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.3584, allocations: 4 kB / 1.356 GB, free: 5.609 MB / 1.042 GB Notification: Performance of matching and sorting (n=4): time 0.0001937/0.3586, allocations: 65.61 kB / 1.356 GB, free: 5.539 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.832e-05/0.3586, allocations: 55.41 kB / 1.356 GB, free: 5.473 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.443e-05/0.3587, allocations: 97.84 kB / 1.356 GB, free: 5.367 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.3587, allocations: 29.7 kB / 1.356 GB, free: 5.332 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 2.13e-05/0.3587, allocations: 80.14 kB / 1.356 GB, free: 5.25 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.579e-05/0.3587, allocations: 11.91 kB / 1.356 GB, free: 5.238 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.682e-05/0.3588, allocations: 17.7 kB / 1.356 GB, free: 5.215 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 8.362e-05/0.3589, allocations: 318.8 kB / 1.356 GB, free: 4.895 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.285e-05/0.3589, allocations: 4 kB / 1.356 GB, free: 4.891 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.485e-05/0.3589, allocations: 16.36 kB / 1.356 GB, free: 4.875 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.908e-05/0.359, allocations: 32.86 kB / 1.356 GB, free: 4.84 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.359, allocations: 0 / 1.356 GB, free: 4.84 MB / 1.042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.344e-05/0.3591, allocations: 61.64 kB / 1.357 GB, free: 4.773 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.3591, allocations: 11.94 kB / 1.357 GB, free: 4.762 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.3591, allocations: 3.938 kB / 1.357 GB, free: 4.758 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.3591, allocations: 0 / 1.357 GB, free: 4.758 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.815e-05/0.3591, allocations: 11.98 kB / 1.357 GB, free: 4.746 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.3591, allocations: 0 / 1.357 GB, free: 4.746 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.641e-05/0.3591, allocations: 0 / 1.357 GB, free: 4.746 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-06/0.3592, allocations: 0 / 1.357 GB, free: 4.746 MB / 1.042 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 (4): * Single equations (assignments): 4 * 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 5.979e-05/0.3592, allocations: 110.4 kB / 1.357 GB, free: 4.629 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.816e-06/0.3592, allocations: 11.94 kB / 1.357 GB, free: 4.617 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001317/0.3594, allocations: 69.3 kB / 1.357 GB, free: 4.543 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.3594, allocations: 0 / 1.357 GB, free: 4.543 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3594, allocations: 0 / 1.357 GB, free: 4.543 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.3594, allocations: 3.984 kB / 1.357 GB, free: 4.539 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.513e-05/0.3594, allocations: 124.8 kB / 1.357 GB, free: 4.375 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3594, allocations: 0 / 1.357 GB, free: 4.375 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.67e-05/0.3595, allocations: 11.92 kB / 1.357 GB, free: 4.363 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.3595, allocations: 7.938 kB / 1.357 GB, free: 4.355 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.3595, allocations: 0 / 1.357 GB, free: 4.355 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.3595, allocations: 4 kB / 1.357 GB, free: 4.352 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3595, allocations: 0 / 1.357 GB, free: 4.352 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.49e-05/0.3596, allocations: 89.02 kB / 1.357 GB, free: 4.246 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.031e-05/0.3596, allocations: 15.86 kB / 1.357 GB, free: 4.23 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.02e-05/0.3596, allocations: 4 kB / 1.357 GB, free: 4.227 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.505e-05/0.3596, allocations: 0 / 1.357 GB, free: 4.227 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.219e-05/0.3597, allocations: 7.984 kB / 1.357 GB, free: 4.219 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.3597, allocations: 0 / 1.357 GB, free: 4.219 MB / 1.042 GB Notification: Performance of sorting global known variables: time 2.676e-05/0.3597, allocations: 79.28 kB / 1.357 GB, free: 4.141 MB / 1.042 GB Notification: Performance of sort global known variables: time 6e-08/0.3597, allocations: 0 / 1.357 GB, free: 4.141 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001904/0.3599, allocations: 43.86 kB / 1.357 GB, free: 4.098 MB / 1.042 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 (4): * Single equations (assignments): 4 * 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.0004152/0.3603, allocations: 0.6552 MB / 1.358 GB, free: 3.41 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0001208/0.3604, allocations: 28.3 kB / 1.358 GB, free: 3.383 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.3604, allocations: 4 kB / 1.358 GB, free: 3.379 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 2.551e-05/0.3605, allocations: 8 kB / 1.358 GB, free: 3.371 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002267/0.3607, allocations: 7.984 kB / 1.358 GB, free: 3.363 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000545/0.3612, allocations: 169.2 kB / 1.358 GB, free: 3.156 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.025e-05/0.3613, allocations: 63.28 kB / 1.358 GB, free: 3.074 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 3.505e-05/0.3613, allocations: 11.97 kB / 1.358 GB, free: 3.062 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.091e-05/0.3613, allocations: 11.44 kB / 1.358 GB, free: 3.051 MB / 1.042 GB Notification: Performance of SimCode: time 8.31e-07/0.3613, allocations: 4 kB / 1.358 GB, free: 3.047 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08375/0.4451, allocations: 2.522 MB / 1.361 GB, free: 0.668 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.32/7.766, allocations: 5.547 kB / 1.361 GB, free: 0.668 MB / 1.042 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_13_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_13_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu) > Buildings_13_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_fmpy.pipe ; mkfifo Buildings_13_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_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_Functions_Examples_phi_pTX.fmu) > Buildings_13_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.475687860511243]