Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.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.001126/0.001126, 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.00103/0.00103, 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.9829/0.9829, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.968/1.968, allocations: 389.5 MB / 0.6343 GB, free: 12.58 MB / 0.6042 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.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_13_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_13_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 1.001 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.376e-05/1.51e-05, allocations: 2.281 kB / 1.001 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.6136/0.6137, allocations: 147.7 MB / 1.145 GB, free: 7.738 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.005131/0.6188, allocations: 5.958 MB / 1.151 GB, free: 3.738 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002036/0.619, allocations: 19.22 kB / 1.151 GB, free: 3.727 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0004625/0.6195, allocations: 173.5 kB / 1.151 GB, free: 3.613 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.001451/0.6209, allocations: 0.8595 MB / 1.152 GB, free: 3.164 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006987/0.6216, allocations: 373.6 kB / 1.152 GB, free: 2.988 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.0005786/0.6222, allocations: 0.6876 MB / 1.153 GB, free: 2.668 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003051/0.6225, allocations: 209.5 kB / 1.153 GB, free: 2.574 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001148/0.6236, allocations: 0.808 MB / 1.154 GB, free: 2.215 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002803/0.6239, allocations: 237.2 kB / 1.154 GB, free: 2.145 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 3.636e-05/0.6239, allocations: 23.47 kB / 1.154 GB, free: 2.145 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000402/0.6244, allocations: 292.6 kB / 1.154 GB, free: 2.047 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0001185/0.6245, allocations: 112.4 kB / 1.154 GB, free: 1.996 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0001146/0.6246, allocations: 106.5 kB / 1.155 GB, free: 1.957 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0005842/0.6252, allocations: 482.5 kB / 1.155 GB, free: 1.785 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.6252, allocations: 6.344 kB / 1.155 GB, free: 1.781 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.034e-06/0.6252, allocations: 0 / 1.155 GB, free: 1.781 MB / 1.01 GB Notification: Performance of Transformations before backend: time 7.263e-06/0.6252, allocations: 5.062 kB / 1.155 GB, free: 1.777 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0008545/0.626, allocations: 0.5404 MB / 1.156 GB, free: 1.348 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.6261, allocations: 14.91 kB / 1.156 GB, free: 1.344 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.798e-05/0.6262, allocations: 61.39 kB / 1.156 GB, free: 1.289 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002835/0.6264, allocations: 59.03 kB / 1.156 GB, free: 1.27 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004165/0.6269, allocations: 258.4 kB / 1.156 GB, free: 1.07 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/0.6269, allocations: 20.66 kB / 1.156 GB, free: 1.062 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.012e-05/0.6269, allocations: 24.31 kB / 1.156 GB, free: 1.055 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004394/0.6274, allocations: 317.6 kB / 1.156 GB, free: 0.8828 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.6274, allocations: 1.938 kB / 1.156 GB, free: 0.8828 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.941e-05/0.6274, allocations: 14.53 kB / 1.156 GB, free: 0.8711 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.6274, allocations: 6.375 kB / 1.156 GB, free: 0.8711 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002846/0.6277, allocations: 205.1 kB / 1.156 GB, free: 0.8086 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001154/0.6288, allocations: 1.198 MB / 1.158 GB, free: 15.86 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002044/0.629, allocations: 105.2 kB / 1.158 GB, free: 15.81 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001409/0.6292, allocations: 90.52 kB / 1.158 GB, free: 15.78 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003166/0.6295, allocations: 71.11 kB / 1.158 GB, free: 15.78 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/0.6295, allocations: 41.39 kB / 1.158 GB, free: 15.73 MB / 1.026 GB Notification: Performance of pre-optimization done (n=13): time 2.856e-06/0.6295, allocations: 3.984 kB / 1.158 GB, free: 15.73 MB / 1.026 GB Notification: Performance of matching and sorting (n=13): time 0.0005086/0.63, allocations: 270 kB / 1.158 GB, free: 15.62 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.116e-05/0.6301, allocations: 53.34 kB / 1.158 GB, free: 15.56 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002998/0.6304, allocations: 318.1 kB / 1.159 GB, free: 15.39 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.6304, allocations: 29.67 kB / 1.159 GB, free: 15.36 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.6305, allocations: 189.6 kB / 1.159 GB, free: 15.2 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 3.164e-05/0.6305, allocations: 48.75 kB / 1.159 GB, free: 15.16 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.927e-05/0.6306, allocations: 34.42 kB / 1.159 GB, free: 15.13 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.6307, allocations: 338.9 kB / 1.159 GB, free: 14.81 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.735e-05/0.6308, allocations: 58.34 kB / 1.159 GB, free: 14.79 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001538/0.6309, allocations: 191.3 kB / 1.159 GB, free: 14.63 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002074/0.6311, allocations: 179.6 kB / 1.16 GB, free: 14.53 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.6311, allocations: 1.156 kB / 1.16 GB, free: 14.53 MB / 1.026 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002768/0.6314, allocations: 221.5 kB / 1.16 GB, free: 14.43 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.6314, allocations: 6.375 kB / 1.16 GB, free: 14.43 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.6314, allocations: 6.141 kB / 1.16 GB, free: 14.43 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.6314, allocations: 1.438 kB / 1.16 GB, free: 14.43 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.6316, allocations: 32.06 kB / 1.16 GB, free: 14.43 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.024e-06/0.6316, allocations: 2.625 kB / 1.16 GB, free: 14.43 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.46e-05/0.6317, allocations: 28.42 kB / 1.16 GB, free: 14.41 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.222e-05/0.6317, allocations: 7.359 kB / 1.16 GB, free: 14.41 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * 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.0001118/0.6318, allocations: 154.8 kB / 1.16 GB, free: 14.27 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.259e-05/0.6318, allocations: 32.64 kB / 1.16 GB, free: 14.25 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003152/0.6321, allocations: 212.8 kB / 1.16 GB, free: 14.16 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.6321, allocations: 6.219 kB / 1.16 GB, free: 14.16 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.6321, allocations: 0 / 1.16 GB, free: 14.16 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.6321, allocations: 1.266 kB / 1.16 GB, free: 14.16 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007097/0.6329, allocations: 0.6268 MB / 1.161 GB, free: 13.72 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.6329, allocations: 2.812 kB / 1.161 GB, free: 13.72 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.309e-05/0.6329, allocations: 26.91 kB / 1.161 GB, free: 13.72 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.6329, allocations: 2.125 kB / 1.161 GB, free: 13.72 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.633, allocations: 9.25 kB / 1.161 GB, free: 13.71 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.56e-06/0.633, allocations: 6.656 kB / 1.161 GB, free: 13.71 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.103e-06/0.633, allocations: 1.281 kB / 1.161 GB, free: 13.71 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002992/0.6333, allocations: 337.3 kB / 1.161 GB, free: 13.46 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 6.193e-05/0.6333, allocations: 50.5 kB / 1.161 GB, free: 13.43 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.561e-05/0.6333, allocations: 4.703 kB / 1.161 GB, free: 13.43 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.183e-05/0.6334, allocations: 11.81 kB / 1.161 GB, free: 13.43 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.542e-05/0.6335, allocations: 18.89 kB / 1.161 GB, free: 13.42 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/0.6335, allocations: 4.562 kB / 1.161 GB, free: 13.42 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0001641/0.6336, allocations: 219.2 kB / 1.162 GB, free: 13.3 MB / 1.026 GB Notification: Performance of sort global known variables: time 6e-08/0.6336, allocations: 0 / 1.162 GB, free: 13.3 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0002534/0.6339, allocations: 79.27 kB / 1.162 GB, free: 13.29 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (13): * Single equations (assignments): 13 * 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.0006137/0.6345, allocations: 0.9041 MB / 1.162 GB, free: 12.5 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.0002702/0.6348, allocations: 161.5 kB / 1.163 GB, free: 12.45 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.6348, allocations: 0 / 1.163 GB, free: 12.45 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0001123/0.6349, allocations: 76.27 kB / 1.163 GB, free: 12.43 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005145/0.6354, allocations: 144.3 kB / 1.163 GB, free: 12.39 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002566/0.638, allocations: 2.784 MB / 1.166 GB, free: 10.49 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001425/0.6381, allocations: 181.1 kB / 1.166 GB, free: 10.4 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.0001295/0.6383, allocations: 59.86 kB / 1.166 GB, free: 10.39 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.783e-05/0.6383, allocations: 92.03 kB / 1.166 GB, free: 10.32 MB / 1.026 GB Notification: Performance of SimCode: time 5.71e-07/0.6383, allocations: 0 / 1.166 GB, free: 10.32 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08162/0.72, allocations: 9.087 MB / 1.175 GB, free: 8.809 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.315/8.035, allocations: 1.438 kB / 1.175 GB, free: 8.809 MB / 1.026 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_13_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_13_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu) > Buildings_13_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_fmpy.pipe ; mkfifo Buildings_13_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_fmpy_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ../Buildings_13_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu) > Buildings_13_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.84269686974585]