Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001526/0.001526, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.001483/0.001483, allocations: 210.6 kB / 22.24 MB, free: 4.855 MB / 14.72 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.383/1.383, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002416/0.002416, allocations: 291.5 kB / 312.7 MB, free: 2.719 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.175/1.175, allocations: 180.6 MB / 0.5369 GB, free: 14.58 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00284/0.00284, allocations: 105.3 kB / 0.7395 GB, free: 28.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1783/0.1811, allocations: 95.38 MB / 0.8327 GB, free: 8.27 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.605/0.7861, allocations: 160.6 MB / 0.9895 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005716/0.7918, allocations: 4.147 MB / 0.9936 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005229/0.7923, allocations: 27.97 kB / 0.9936 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0007604/0.7931, allocations: 258.2 kB / 0.9938 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002045/0.7952, allocations: 0.769 MB / 0.9946 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003597/0.7988, allocations: 1.542 MB / 0.9961 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00146/0.8002, allocations: 1.269 MB / 0.9973 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005698/0.8008, allocations: 359.1 kB / 0.9977 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001013/0.8018, allocations: 0.5964 MB / 0.9983 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005556/0.8024, allocations: 410.6 kB / 0.9986 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.743e-05/0.8024, allocations: 46.06 kB / 0.9987 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002275/0.8047, allocations: 1.266 MB / 0.9999 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002151/0.8049, allocations: 192.2 kB / 1 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003154/0.8052, allocations: 254.9 kB / 1 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002021/0.8073, allocations: 1.262 MB / 1.002 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.8073, allocations: 0 / 1.002 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.933e-06/0.8073, allocations: 1.125 kB / 1.002 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.025e-05/0.8073, allocations: 0.5625 kB / 1.002 GB, free: 2.984 MB / 0.7169 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.001876/0.8092, allocations: 0.9627 MB / 1.003 GB, free: 18.4 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.8092, allocations: 11.5 kB / 1.003 GB, free: 18.4 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.506e-05/0.8093, allocations: 84.33 kB / 1.003 GB, free: 18.36 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001963/0.8112, allocations: 291.7 kB / 1.003 GB, free: 18.32 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008427/0.8121, allocations: 403.6 kB / 1.003 GB, free: 18.12 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.668e-05/0.8121, allocations: 33.84 kB / 1.003 GB, free: 18.12 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.99e-05/0.8122, allocations: 45.3 kB / 1.003 GB, free: 18.12 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008954/0.8131, allocations: 0.5524 MB / 1.004 GB, free: 18 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.8131, allocations: 2.469 kB / 1.004 GB, free: 18 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.157e-05/0.8132, allocations: 14.81 kB / 1.004 GB, free: 18 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.203e-05/0.8132, allocations: 10.19 kB / 1.004 GB, free: 18 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009073/0.8141, allocations: 461.7 kB / 1.004 GB, free: 18 MB / 0.7325 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002202/0.8163, allocations: 1.782 MB / 1.006 GB, free: 17.03 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008346/0.8171, allocations: 392.4 kB / 1.006 GB, free: 17 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004132/0.8175, allocations: 208.4 kB / 1.007 GB, free: 17 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004764/0.818, allocations: 93.16 kB / 1.007 GB, free: 17 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005562/0.8186, allocations: 292.9 kB / 1.007 GB, free: 16.94 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=37): time 3.136e-06/0.8186, allocations: 1.906 kB / 1.007 GB, free: 16.94 MB / 0.7325 GB Notification: Performance of matching and sorting (n=37): time 0.001653/0.8202, allocations: 0.6951 MB / 1.008 GB, free: 16.87 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.31e-05/0.8203, allocations: 65.86 kB / 1.008 GB, free: 16.8 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005217/0.8208, allocations: 499.5 kB / 1.008 GB, free: 16.67 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.762e-05/0.8209, allocations: 36.17 kB / 1.008 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000173/0.821, allocations: 263.3 kB / 1.009 GB, free: 16.51 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.032e-05/0.8211, allocations: 130.5 kB / 1.009 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001337/0.8213, allocations: 91.19 kB / 1.009 GB, free: 16.41 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001654/0.8214, allocations: 366.5 kB / 1.009 GB, free: 16.1 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004745/0.8219, allocations: 248.4 kB / 1.009 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006264/0.8225, allocations: 0.4909 MB / 1.01 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008985/0.8234, allocations: 0.5432 MB / 1.01 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.8234, allocations: 0.9062 kB / 1.01 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001108/0.8245, allocations: 0.7173 MB / 1.011 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.906e-05/0.8246, allocations: 65.75 kB / 1.011 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.8246, allocations: 3.031 kB / 1.011 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.8246, allocations: 8.922 kB / 1.011 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004053/0.825, allocations: 94.41 kB / 1.011 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.825, allocations: 6.125 kB / 1.011 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005163/0.8255, allocations: 82.03 kB / 1.011 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.459e-05/0.8256, allocations: 20.5 kB / 1.011 GB, free: 15.26 MB / 0.7325 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.0002162/0.8258, allocations: 192.2 kB / 1.012 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.484e-05/0.8259, allocations: 64.66 kB / 1.012 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001061/0.8269, allocations: 0.5315 MB / 1.012 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.8269, allocations: 4.75 kB / 1.012 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.8269, allocations: 0 / 1.012 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.827, allocations: 3.516 kB / 1.012 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001914/0.8289, allocations: 1.262 MB / 1.013 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.8289, allocations: 4.031 kB / 1.013 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003657/0.8292, allocations: 78.03 kB / 1.013 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/0.8292, allocations: 9.156 kB / 1.013 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.25e-05/0.8293, allocations: 12.95 kB / 1.013 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.113e-06/0.8293, allocations: 10.92 kB / 1.013 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.8293, allocations: 5.562 kB / 1.013 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001473/0.8308, allocations: 0.9429 MB / 1.014 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002064/0.831, allocations: 103.4 kB / 1.014 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.182e-05/0.831, allocations: 20.77 kB / 1.014 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000404/0.8315, allocations: 35.33 kB / 1.015 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.8316, allocations: 55.88 kB / 1.015 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.726e-05/0.8316, allocations: 16.5 kB / 1.015 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003676/0.8319, allocations: 342 kB / 1.015 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8319, allocations: 4.125 kB / 1.015 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005717/0.8325, allocations: 155.1 kB / 1.015 GB, free: 14.22 MB / 0.7325 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.001909/0.8344, allocations: 1.57 MB / 1.017 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001038/0.8355, allocations: 0.621 MB / 1.017 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.8355, allocations: 0.9375 kB / 1.017 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005421/0.836, allocations: 268.8 kB / 1.017 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001235/0.8372, allocations: 298.2 kB / 1.018 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006478/0.8437, allocations: 5.221 MB / 1.023 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002279/0.844, allocations: 267.2 kB / 1.023 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000449/0.8444, allocations: 131.7 kB / 1.023 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002284/0.8446, allocations: 179.2 kB / 1.023 GB, free: 10.78 MB / 0.7325 GB Notification: Performance of SimCode: time 4.91e-07/0.8446, allocations: 0 / 1.023 GB, free: 10.78 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04793/0.8926, allocations: 17.66 MB / 1.041 GB, free: 7.375 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.89, allocations: 7.156 kB / 1.041 GB, free: 7.375 MB / 0.7325 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.958774366881698] Failed to read output from testmodel.py, exit status != 0: 12.001052914187312 12.012978627 11.203209637 Calling exit ...