Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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.001054/0.001054, 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.0009597/0.0009597, allocations: 177.2 kB / 23.24 MB, free: 1.32 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.9275/0.9275, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.778/1.778, allocations: 389.6 MB / 0.6343 GB, free: 12.61 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.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_13_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_13_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 1.001 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.962e-05/2.117e-05, allocations: 5.234 kB / 1.001 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.7163/0.7163, allocations: 158.4 MB / 1.155 GB, free: 0.6211 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.007345/0.7236, allocations: 7.166 MB / 1.162 GB, free: 11.8 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003627/0.724, allocations: 27.81 kB / 1.162 GB, free: 11.79 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 0.000634/0.7246, allocations: 246.9 kB / 1.163 GB, free: 11.63 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 0.002588/0.7272, allocations: 1.255 MB / 1.164 GB, free: 10.96 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.001502/0.7287, allocations: 0.7929 MB / 1.165 GB, free: 10.58 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 0.001052/0.7298, allocations: 1.04 MB / 1.166 GB, free: 10.1 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005494/0.7303, allocations: 309.3 kB / 1.166 GB, free: 9.969 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002333/0.7326, allocations: 1.156 MB / 1.167 GB, free: 9.473 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004502/0.7331, allocations: 385.2 kB / 1.167 GB, free: 9.359 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 5.015e-05/0.7332, allocations: 36.56 kB / 1.167 GB, free: 9.359 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001261/0.7344, allocations: 0.7933 MB / 1.168 GB, free: 9.066 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 0.0001763/0.7346, allocations: 171.3 kB / 1.168 GB, free: 8.984 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.0001757/0.7348, allocations: 170.6 kB / 1.169 GB, free: 8.918 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.001183/0.7359, allocations: 0.9475 MB / 1.169 GB, free: 8.594 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.7359, allocations: 5 kB / 1.169 GB, free: 8.594 MB / 1.026 GB Notification: Performance of FrontEnd: time 1.453e-06/0.736, allocations: 0 / 1.169 GB, free: 8.594 MB / 1.026 GB Notification: Performance of Transformations before backend: time 8.496e-06/0.736, allocations: 0 / 1.169 GB, free: 8.594 MB / 1.026 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.0008913/0.7369, allocations: 0.7417 MB / 1.17 GB, free: 8.043 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.7369, allocations: 9.938 kB / 1.17 GB, free: 8.043 MB / 1.026 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.554e-05/0.737, allocations: 76.97 kB / 1.17 GB, free: 7.98 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005736/0.7375, allocations: 153 kB / 1.17 GB, free: 7.941 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004522/0.738, allocations: 336.4 kB / 1.171 GB, free: 7.695 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.57e-05/0.738, allocations: 28.72 kB / 1.171 GB, free: 7.684 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.901e-05/0.7381, allocations: 37.11 kB / 1.171 GB, free: 7.672 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000543/0.7386, allocations: 456.2 kB / 1.171 GB, free: 7.449 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.7386, allocations: 0 / 1.171 GB, free: 7.449 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.469e-05/0.7386, allocations: 16.38 kB / 1.171 GB, free: 7.438 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.7387, allocations: 9.156 kB / 1.171 GB, free: 7.438 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004308/0.7391, allocations: 323.7 kB / 1.172 GB, free: 7.328 MB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00138/0.7405, allocations: 1.485 MB / 1.173 GB, free: 6.27 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000293/0.7408, allocations: 220.5 kB / 1.173 GB, free: 6.176 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000175/0.7409, allocations: 148 kB / 1.173 GB, free: 6.121 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002681/0.7412, allocations: 76.86 kB / 1.173 GB, free: 6.117 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/0.7412, allocations: 34.2 kB / 1.174 GB, free: 6.078 MB / 1.026 GB Notification: Performance of pre-optimization done (n=24): time 1.873e-06/0.7412, allocations: 0 / 1.174 GB, free: 6.078 MB / 1.026 GB Notification: Performance of matching and sorting (n=24): time 0.0007155/0.7419, allocations: 460.5 kB / 1.174 GB, free: 5.906 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/0.742, allocations: 53.75 kB / 1.174 GB, free: 5.844 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003732/0.7423, allocations: 394.3 kB / 1.174 GB, free: 5.652 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/0.7424, allocations: 26.89 kB / 1.174 GB, free: 5.621 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001629/0.7425, allocations: 236.7 kB / 1.175 GB, free: 5.426 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 5.572e-05/0.7426, allocations: 88.86 kB / 1.175 GB, free: 5.355 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.464e-05/0.7427, allocations: 52.69 kB / 1.175 GB, free: 5.324 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.7428, allocations: 353.1 kB / 1.175 GB, free: 4.992 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001653/0.7429, allocations: 114 kB / 1.175 GB, free: 4.957 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002226/0.7432, allocations: 257.5 kB / 1.175 GB, free: 4.762 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003505/0.7435, allocations: 312.6 kB / 1.176 GB, free: 4.598 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.7435, allocations: 0 / 1.176 GB, free: 4.598 MB / 1.026 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004404/0.7439, allocations: 366 kB / 1.176 GB, free: 4.445 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.744, allocations: 9.25 kB / 1.176 GB, free: 4.445 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.744, allocations: 4.328 kB / 1.176 GB, free: 4.445 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.744, allocations: 7.719 kB / 1.176 GB, free: 4.441 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001662/0.7442, allocations: 62.33 kB / 1.176 GB, free: 4.434 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.7442, allocations: 3.312 kB / 1.176 GB, free: 4.434 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001289/0.7443, allocations: 43.45 kB / 1.176 GB, free: 4.406 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.384e-05/0.7443, allocations: 14.62 kB / 1.176 GB, free: 4.402 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (31): * Single equations (assignments): 31 * 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.0001994/0.7445, allocations: 165.8 kB / 1.176 GB, free: 4.262 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.175e-05/0.7446, allocations: 43.14 kB / 1.176 GB, free: 4.238 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004884/0.7451, allocations: 376.5 kB / 1.177 GB, free: 4.086 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.7451, allocations: 2.312 kB / 1.177 GB, free: 4.086 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.7451, allocations: 0.5156 kB / 1.177 GB, free: 4.086 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.718e-06/0.7451, allocations: 2.547 kB / 1.177 GB, free: 4.086 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009865/0.7461, allocations: 0.8707 MB / 1.178 GB, free: 3.562 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.7461, allocations: 3.5 kB / 1.178 GB, free: 3.562 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001441/0.7462, allocations: 50.52 kB / 1.178 GB, free: 3.555 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.7462, allocations: 3.25 kB / 1.178 GB, free: 3.555 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/0.7462, allocations: 9.5 kB / 1.178 GB, free: 3.551 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.758e-06/0.7462, allocations: 3.016 kB / 1.178 GB, free: 3.551 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.7462, allocations: 7.406 kB / 1.178 GB, free: 3.547 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007021/0.7469, allocations: 0.6279 MB / 1.178 GB, free: 3.188 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001116/0.747, allocations: 69.95 kB / 1.178 GB, free: 3.152 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.867e-05/0.7471, allocations: 8.516 kB / 1.178 GB, free: 3.148 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.7472, allocations: 16.98 kB / 1.178 GB, free: 3.141 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.776e-05/0.7473, allocations: 16.3 kB / 1.178 GB, free: 3.141 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/0.7473, allocations: 15.44 kB / 1.178 GB, free: 3.133 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0002548/0.7475, allocations: 282.3 kB / 1.179 GB, free: 2.996 MB / 1.026 GB Notification: Performance of sort global known variables: time 5e-08/0.7475, allocations: 0 / 1.179 GB, free: 2.996 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0003396/0.7479, allocations: 113.8 kB / 1.179 GB, free: 2.973 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senH.h_out) * 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 (24): * Single equations (assignments): 24 * 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.001236/0.7491, allocations: 1.218 MB / 1.18 GB, free: 2.07 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.0004203/0.7495, allocations: 279.1 kB / 1.18 GB, free: 1.988 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.7495, allocations: 1.25 kB / 1.18 GB, free: 1.988 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0001818/0.7497, allocations: 143 kB / 1.18 GB, free: 1.945 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006407/0.7504, allocations: 215.1 kB / 1.181 GB, free: 1.887 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003819/0.7542, allocations: 3.767 MB / 1.184 GB, free: 15.61 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002024/0.7544, allocations: 230 kB / 1.185 GB, free: 15.5 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.0002141/0.7546, allocations: 94.03 kB / 1.185 GB, free: 15.49 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001417/0.7547, allocations: 134.6 kB / 1.185 GB, free: 15.39 MB / 1.042 GB Notification: Performance of SimCode: time 5.62e-07/0.7547, allocations: 4 kB / 1.185 GB, free: 15.39 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.087/0.8417, allocations: 12.96 MB / 1.197 GB, free: 11.32 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.039/8.881, allocations: 9.969 kB / 1.197 GB, free: 11.31 MB / 1.042 GB " [Timeout remaining time 291] (rm -f Buildings_13_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_13_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_13_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu) > Buildings_13_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_fmpy.pipe ; mkfifo Buildings_13_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_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_MoistAirEnthalpyFlowRate.fmu) > Buildings_13_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.524492273107171]