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.001026/0.001026, allocations: 80.55 kB / 19.96 MB, free: 4.602 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.001839/0.001839, 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 0.9214/0.9214, allocations: 177.1 MB / 203.5 MB, free: 5.75 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.845/1.845, 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.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 3.066e-06/3.066e-06, allocations: 0 / 1.001 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.382e-05/2.688e-05, allocations: 6.281 kB / 1.001 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002852/0.002878, allocations: 1.286 MB / 1.002 GB, free: 12.23 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001679/0.004557, allocations: 0.7717 MB / 1.003 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.022e-05/0.004597, allocations: 0 / 1.003 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.32e-05/0.004621, allocations: 3.938 kB / 1.003 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.106e-05/0.004682, allocations: 7.938 kB / 1.003 GB, free: 11.44 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007257/0.005407, allocations: 135.2 kB / 1.003 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 9.921e-05/0.005506, allocations: 27.86 kB / 1.003 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.891e-05/0.005555, allocations: 4 kB / 1.003 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.963e-05/0.005635, allocations: 19.98 kB / 1.003 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 8.075e-05/0.005716, allocations: 7.984 kB / 1.003 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.943e-05/0.005735, allocations: 0 / 1.003 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003689/0.006104, allocations: 163.6 kB / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.551e-05/0.00613, allocations: 4 kB / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.787e-05/0.006157, allocations: 4 kB / 1.003 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003351/0.006493, allocations: 143.6 kB / 1.003 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.006496, allocations: 0 / 1.003 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.763e-06/0.006497, allocations: 4 kB / 1.003 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.792e-06/0.006504, allocations: 0 / 1.003 GB, free: 10.94 MB / 0.9636 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.0005964/0.0071, allocations: 290 kB / 1.003 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 6.569e-05/0.007166, allocations: 9.344 kB / 1.003 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.196e-05/0.007238, allocations: 34.75 kB / 1.003 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.05e-05/0.007289, allocations: 4.938 kB / 1.003 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.00741, allocations: 105.7 kB / 1.004 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001223/0.007532, allocations: 55.97 kB / 1.004 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.391e-05/0.007546, allocations: 8.312 kB / 1.004 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/0.007738, allocations: 71.94 kB / 1.004 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.007749, allocations: 192 / 1.004 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.007762, allocations: 384 / 1.004 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.166e-06/0.00777, allocations: 7.938 kB / 1.004 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/0.007871, allocations: 19.98 kB / 1.004 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000186/0.008057, allocations: 124.7 kB / 1.004 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002821/0.008339, allocations: 54.53 kB / 1.004 GB, free: 10.03 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.971e-05/0.008389, allocations: 8.859 kB / 1.004 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002274/0.008616, allocations: 36.06 kB / 1.004 GB, free: 9.98 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.008643, allocations: 34.56 kB / 1.004 GB, free: 9.938 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.008644, allocations: 0 / 1.004 GB, free: 9.938 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4): time 0.000247/0.008891, allocations: 73.59 kB / 1.004 GB, free: 9.859 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.179e-05/0.008923, allocations: 51.41 kB / 1.004 GB, free: 9.797 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.379e-05/0.008997, allocations: 101.8 kB / 1.004 GB, free: 9.688 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.009013, allocations: 29.7 kB / 1.004 GB, free: 9.652 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.694e-05/0.00904, allocations: 80.14 kB / 1.004 GB, free: 9.57 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.27e-05/0.009073, allocations: 15.84 kB / 1.004 GB, free: 9.555 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-05/0.009118, allocations: 21.72 kB / 1.004 GB, free: 9.527 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.00922, allocations: 310.8 kB / 1.005 GB, free: 9.215 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.136e-05/0.009261, allocations: 15.98 kB / 1.005 GB, free: 9.199 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.56e-05/0.009297, allocations: 11.98 kB / 1.005 GB, free: 9.188 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.143e-05/0.009378, allocations: 28.8 kB / 1.005 GB, free: 9.156 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.009381, allocations: 0 / 1.005 GB, free: 9.156 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001236/0.009504, allocations: 57.67 kB / 1.005 GB, free: 9.094 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.009523, allocations: 4 kB / 1.005 GB, free: 9.09 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.00953, allocations: 3.984 kB / 1.005 GB, free: 9.086 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.009547, allocations: 7.875 kB / 1.005 GB, free: 9.078 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.975e-05/0.009597, allocations: 12 kB / 1.005 GB, free: 9.066 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.009604, allocations: 0 / 1.005 GB, free: 9.066 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.885e-05/0.009633, allocations: 3.984 kB / 1.005 GB, free: 9.062 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.009639, allocations: 4 kB / 1.005 GB, free: 9.059 MB / 0.9636 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 8.418e-05/0.009723, allocations: 112.5 kB / 1.005 GB, free: 8.941 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.44e-05/0.009738, allocations: 7.953 kB / 1.005 GB, free: 8.934 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001644/0.009902, allocations: 61.36 kB / 1.005 GB, free: 8.859 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/0.009911, allocations: 7.938 kB / 1.005 GB, free: 8.852 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.009917, allocations: 3.938 kB / 1.005 GB, free: 8.848 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.00992, allocations: 4 kB / 1.005 GB, free: 8.844 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001084/0.01003, allocations: 128.8 kB / 1.005 GB, free: 8.676 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.01003, allocations: 0 / 1.005 GB, free: 8.676 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.649e-05/0.01007, allocations: 11.94 kB / 1.005 GB, free: 8.664 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.195e-06/0.01007, allocations: 0 / 1.005 GB, free: 8.664 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.01008, allocations: 0 / 1.005 GB, free: 8.664 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.155e-06/0.01008, allocations: 3.938 kB / 1.005 GB, free: 8.66 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.01008, allocations: 0 / 1.005 GB, free: 8.66 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001323/0.01021, allocations: 85.11 kB / 1.005 GB, free: 8.559 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 4.366e-05/0.01026, allocations: 4.594 kB / 1.005 GB, free: 8.555 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.355e-05/0.01027, allocations: 8 kB / 1.005 GB, free: 8.547 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.822e-05/0.01031, allocations: 7.938 kB / 1.005 GB, free: 8.539 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.776e-05/0.01035, allocations: 3.984 kB / 1.005 GB, free: 8.535 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.623e-06/0.01035, allocations: 4 kB / 1.005 GB, free: 8.531 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.212e-05/0.01039, allocations: 79.27 kB / 1.005 GB, free: 8.453 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01039, allocations: 0 / 1.005 GB, free: 8.453 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002958/0.01068, allocations: 39.81 kB / 1.005 GB, free: 8.414 MB / 0.9636 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.0007071/0.01139, allocations: 0.663 MB / 1.006 GB, free: 7.723 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001338/0.01152, allocations: 27.98 kB / 1.006 GB, free: 7.695 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.01153, allocations: 0 / 1.006 GB, free: 7.695 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 4.499e-05/0.01157, allocations: 19.92 kB / 1.006 GB, free: 7.676 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002895/0.01186, allocations: 7.938 kB / 1.006 GB, free: 7.668 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004697/0.01233, allocations: 162.3 kB / 1.006 GB, free: 7.469 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.974e-05/0.01238, allocations: 63.34 kB / 1.006 GB, free: 7.387 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 4.032e-05/0.01242, allocations: 4 kB / 1.006 GB, free: 7.383 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.469e-05/0.01245, allocations: 16.44 kB / 1.006 GB, free: 7.367 MB / 0.9636 GB Notification: Performance of SimCode: time 6.31e-07/0.01245, allocations: 0 / 1.006 GB, free: 7.367 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0839/0.09636, allocations: 2.681 MB / 1.009 GB, free: 4.832 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.299/7.396, allocations: 10.88 kB / 1.009 GB, free: 4.824 MB / 0.9636 GB " [Timeout remaining time 293] (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: 11.971137592568994]