Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.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.001016/0.001016, allocations: 80.52 kB / 19.95 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.001082/0.001082, allocations: 173.6 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 1.002/1.002, allocations: 177.1 MB / 203.5 MB, free: 5.754 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.59 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.TemperatureDryBulb,fileNamePrefix="Buildings_13_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_13_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.285e-06/2.285e-06, allocations: 0 / 1.001 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.328e-05/2.557e-05, allocations: 2.281 kB / 1.001 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.7142/0.7142, allocations: 160.5 MB / 1.157 GB, free: 15.19 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.006241/0.7205, allocations: 4.127 MB / 1.161 GB, free: 12.4 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001019/0.7215, allocations: 28.47 kB / 1.161 GB, free: 12.38 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 0.0008183/0.7223, allocations: 256.3 kB / 1.162 GB, free: 12.21 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 0.002098/0.7244, allocations: 0.7711 MB / 1.162 GB, free: 11.79 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.003839/0.7283, allocations: 1.603 MB / 1.164 GB, free: 11 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 0.001705/0.73, allocations: 1.222 MB / 1.165 GB, free: 10.43 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005189/0.7305, allocations: 327.8 kB / 1.166 GB, free: 10.29 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001822/0.7323, allocations: 0.9718 MB / 1.166 GB, free: 9.867 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004566/0.7328, allocations: 352.4 kB / 1.167 GB, free: 9.758 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 6.409e-05/0.7328, allocations: 49.91 kB / 1.167 GB, free: 9.754 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00247/0.7353, allocations: 1.269 MB / 1.168 GB, free: 9.27 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 0.0002342/0.7355, allocations: 199.9 kB / 1.168 GB, free: 9.172 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.0002414/0.7358, allocations: 208.9 kB / 1.169 GB, free: 9.094 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.00223/0.738, allocations: 1.325 MB / 1.17 GB, free: 8.652 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.738, allocations: 0.6562 kB / 1.17 GB, free: 8.652 MB / 1.026 GB Notification: Performance of FrontEnd: time 1.473e-06/0.738, allocations: 0 / 1.17 GB, free: 8.652 MB / 1.026 GB Notification: Performance of Transformations before backend: time 9.257e-06/0.738, allocations: 0 / 1.17 GB, free: 8.652 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001403/0.7394, allocations: 0.9473 MB / 1.171 GB, free: 7.977 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.7395, allocations: 11.69 kB / 1.171 GB, free: 7.977 MB / 1.026 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.197e-05/0.7395, allocations: 78.52 kB / 1.171 GB, free: 7.914 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001329/0.7409, allocations: 291.4 kB / 1.171 GB, free: 7.852 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000628/0.7415, allocations: 399.4 kB / 1.171 GB, free: 7.59 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.049e-05/0.7415, allocations: 30.84 kB / 1.172 GB, free: 7.574 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.452e-05/0.7416, allocations: 42.75 kB / 1.172 GB, free: 7.562 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007822/0.7424, allocations: 0.5519 MB / 1.172 GB, free: 7.305 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.7424, allocations: 0 / 1.172 GB, free: 7.305 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.289e-05/0.7424, allocations: 21.95 kB / 1.172 GB, free: 7.289 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/0.7424, allocations: 14.22 kB / 1.172 GB, free: 7.285 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008038/0.7432, allocations: 459.3 kB / 1.173 GB, free: 7.148 MB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002037/0.7453, allocations: 1.771 MB / 1.174 GB, free: 5.891 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006916/0.746, allocations: 393 kB / 1.175 GB, free: 5.766 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003271/0.7463, allocations: 214.7 kB / 1.175 GB, free: 5.703 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003605/0.7467, allocations: 94.16 kB / 1.175 GB, free: 5.695 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004636/0.7471, allocations: 295.8 kB / 1.175 GB, free: 5.586 MB / 1.026 GB Notification: Performance of pre-optimization done (n=37): time 4.979e-06/0.7471, allocations: 3.938 kB / 1.175 GB, free: 5.582 MB / 1.026 GB Notification: Performance of matching and sorting (n=37): time 0.001376/0.7485, allocations: 0.684 MB / 1.176 GB, free: 5.371 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/0.7485, allocations: 65.34 kB / 1.176 GB, free: 5.301 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004734/0.749, allocations: 494.6 kB / 1.176 GB, free: 5.074 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 3.693e-05/0.749, allocations: 34.17 kB / 1.176 GB, free: 5.039 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001601/0.7492, allocations: 260.6 kB / 1.177 GB, free: 4.828 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 9.133e-05/0.7493, allocations: 132.3 kB / 1.177 GB, free: 4.723 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/0.7494, allocations: 89.97 kB / 1.177 GB, free: 4.676 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.7495, allocations: 364.6 kB / 1.177 GB, free: 4.34 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003634/0.7499, allocations: 255.6 kB / 1.178 GB, free: 4.223 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000457/0.7504, allocations: 0.4962 MB / 1.178 GB, free: 3.832 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000705/0.7511, allocations: 0.546 MB / 1.179 GB, free: 3.52 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.7511, allocations: 1.156 kB / 1.179 GB, free: 3.52 MB / 1.026 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009436/0.752, allocations: 0.6997 MB / 1.179 GB, free: 3.184 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 5.051e-05/0.7521, allocations: 64.19 kB / 1.179 GB, free: 3.117 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.7521, allocations: 8.281 kB / 1.179 GB, free: 3.113 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.145e-05/0.7521, allocations: 4.578 kB / 1.179 GB, free: 3.113 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002818/0.7524, allocations: 98.98 kB / 1.179 GB, free: 3.102 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.7524, allocations: 10.53 kB / 1.179 GB, free: 3.098 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003657/0.7528, allocations: 77.33 kB / 1.179 GB, free: 3.062 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.038e-05/0.7528, allocations: 23.06 kB / 1.179 GB, free: 3.059 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 (m_flow2.count,$PRE.m_flow2.count,m_flow2.T_start,$PRE.m_flow2.T_start,m_flow1.count,$PRE.m_flow1.count,m_flow1.T_start,$PRE.m_flow1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 2 * 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.0001974/0.753, allocations: 196.5 kB / 1.18 GB, free: 2.898 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.913e-05/0.7531, allocations: 66.52 kB / 1.18 GB, free: 2.859 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008253/0.7539, allocations: 0.5303 MB / 1.18 GB, free: 2.664 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.7539, allocations: 4.375 kB / 1.18 GB, free: 2.664 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.7539, allocations: 0 / 1.18 GB, free: 2.664 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/0.7539, allocations: 9.953 kB / 1.18 GB, free: 2.656 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001658/0.7556, allocations: 1.264 MB / 1.182 GB, free: 1.98 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.7556, allocations: 5.656 kB / 1.182 GB, free: 1.98 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002231/0.7558, allocations: 73.09 kB / 1.182 GB, free: 1.973 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.7558, allocations: 5.406 kB / 1.182 GB, free: 1.973 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.418e-05/0.7558, allocations: 17.84 kB / 1.182 GB, free: 1.965 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.542e-06/0.7558, allocations: 8.844 kB / 1.182 GB, free: 1.961 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.7558, allocations: 8.25 kB / 1.182 GB, free: 1.957 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001186/0.757, allocations: 0.9308 MB / 1.183 GB, free: 1.477 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000182/0.7572, allocations: 98.16 kB / 1.183 GB, free: 1.426 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.339e-05/0.7573, allocations: 14.34 kB / 1.183 GB, free: 1.418 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002347/0.7575, allocations: 36.36 kB / 1.183 GB, free: 1.414 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001227/0.7576, allocations: 47.36 kB / 1.183 GB, free: 1.402 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.024e-05/0.7576, allocations: 16.62 kB / 1.183 GB, free: 1.398 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0004081/0.758, allocations: 349.3 kB / 1.183 GB, free: 1.238 MB / 1.026 GB Notification: Performance of sort global known variables: time 1.71e-07/0.758, allocations: 1.219 kB / 1.183 GB, free: 1.238 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0006113/0.7587, allocations: 150 kB / 1.183 GB, free: 1.215 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (temDyn.T,temDynLoss.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,m_flow1.T_start,m_flow1.count,m_flow2.T_start,m_flow2.count) * Number of discrete states: 2 (m_flow2.count,m_flow1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001725/0.7604, allocations: 1.551 MB / 1.185 GB, free: 180 kB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.0008741/0.7613, allocations: 0.6306 MB / 1.185 GB, free: 15.85 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.7613, allocations: 0 / 1.185 GB, free: 15.85 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004354/0.7617, allocations: 269.9 kB / 1.186 GB, free: 15.77 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009493/0.7626, allocations: 261.8 kB / 1.186 GB, free: 15.7 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00626/0.7689, allocations: 5.182 MB / 1.191 GB, free: 12.57 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002213/0.7691, allocations: 261.4 kB / 1.191 GB, free: 12.47 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.0004251/0.7696, allocations: 123.7 kB / 1.191 GB, free: 12.45 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000209/0.7698, allocations: 176.8 kB / 1.191 GB, free: 12.32 MB / 1.042 GB Notification: Performance of SimCode: time 1.423e-06/0.7698, allocations: 0 / 1.191 GB, free: 12.32 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1016/0.8713, allocations: 17.4 MB / 1.208 GB, free: 4.77 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.737/8.608, allocations: 7.172 kB / 1.208 GB, free: 4.766 MB / 1.042 GB " [Timeout remaining time 291] (rm -f Buildings_13_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_13_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_13_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.fmu) > Buildings_13_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_fmpy.pipe ; mkfifo Buildings_13_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_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_TemperatureDryBulb.fmu) > Buildings_13_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.420544816181064]