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.001592/0.001592, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002131/0.002131, allocations: 209 kB / 22.24 MB, free: 5.262 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.395/1.395, allocations: 230.6 MB / 256 MB, free: 7.75 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.002723/0.002723, allocations: 294.3 kB / 312.7 MB, free: 2.594 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.183/1.183, allocations: 180.6 MB / 0.5369 GB, free: 14.59 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.003035/0.003035, allocations: 108.5 kB / 0.7395 GB, free: 28.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1896/0.1926, allocations: 95.38 MB / 0.8327 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.6251/0.8177, allocations: 160.6 MB / 0.9895 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00584/0.8235, allocations: 4.144 MB / 0.9936 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005391/0.824, allocations: 33.59 kB / 0.9936 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006156/0.8247, allocations: 255 kB / 0.9938 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001807/0.8265, allocations: 0.7703 MB / 0.9946 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003382/0.8298, allocations: 1.545 MB / 0.9961 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001266/0.8311, allocations: 1.261 MB / 0.9973 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000514/0.8316, allocations: 368.7 kB / 0.9977 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009904/0.8326, allocations: 0.5977 MB / 0.9983 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005794/0.8332, allocations: 403.9 kB / 0.9986 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.415e-05/0.8333, allocations: 46.41 kB / 0.9987 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002413/0.8357, allocations: 1.271 MB / 0.9999 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002348/0.8359, allocations: 185.7 kB / 1 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003413/0.8363, allocations: 257.8 kB / 1 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002257/0.8385, allocations: 1.255 MB / 1.002 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.8385, allocations: 1.312 kB / 1.002 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.674e-06/0.8385, allocations: 0.5 kB / 1.002 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.031e-05/0.8386, allocations: 1 kB / 1.002 GB, free: 3.398 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.002003/0.8406, allocations: 0.9642 MB / 1.003 GB, free: 18.81 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.8406, allocations: 13.73 kB / 1.003 GB, free: 18.81 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.833e-05/0.8407, allocations: 83.56 kB / 1.003 GB, free: 18.77 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001941/0.8426, allocations: 291.4 kB / 1.003 GB, free: 18.73 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008846/0.8435, allocations: 410.2 kB / 1.003 GB, free: 18.54 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.812e-05/0.8436, allocations: 36.14 kB / 1.003 GB, free: 18.54 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/0.8437, allocations: 44.25 kB / 1.003 GB, free: 18.54 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009916/0.8447, allocations: 0.5444 MB / 1.004 GB, free: 18.42 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.8447, allocations: 1.062 kB / 1.004 GB, free: 18.42 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.535e-05/0.8447, allocations: 25.88 kB / 1.004 GB, free: 18.42 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.8447, allocations: 10.5 kB / 1.004 GB, free: 18.42 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009502/0.8457, allocations: 460.1 kB / 1.004 GB, free: 18.41 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.002368/0.8481, allocations: 1.774 MB / 1.006 GB, free: 17.44 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008733/0.8489, allocations: 399.1 kB / 1.006 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004387/0.8494, allocations: 213.6 kB / 1.007 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004935/0.8499, allocations: 88.42 kB / 1.007 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005614/0.8504, allocations: 300.6 kB / 1.007 GB, free: 17.35 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=37): time 1.924e-06/0.8504, allocations: 0 / 1.007 GB, free: 17.35 MB / 0.7325 GB Notification: Performance of matching and sorting (n=37): time 0.001664/0.8521, allocations: 0.6945 MB / 1.008 GB, free: 17.28 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.166e-05/0.8521, allocations: 60.17 kB / 1.008 GB, free: 17.21 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005295/0.8527, allocations: 498.4 kB / 1.008 GB, free: 17.09 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.778e-05/0.8527, allocations: 36.89 kB / 1.008 GB, free: 17.05 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000164/0.8529, allocations: 266 kB / 1.009 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.184e-05/0.853, allocations: 128.6 kB / 1.009 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001346/0.8531, allocations: 88.52 kB / 1.009 GB, free: 16.83 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001698/0.8533, allocations: 366.9 kB / 1.009 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000488/0.8538, allocations: 251.1 kB / 1.009 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006113/0.8544, allocations: 0.4907 MB / 1.01 GB, free: 16.13 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009224/0.8553, allocations: 0.5426 MB / 1.01 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.8553, allocations: 2.312 kB / 1.01 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001174/0.8565, allocations: 0.7127 MB / 1.011 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.174e-05/0.8565, allocations: 63 kB / 1.011 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.8565, allocations: 3.594 kB / 1.011 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.8566, allocations: 6.031 kB / 1.011 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00042/0.857, allocations: 96.69 kB / 1.011 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.158e-06/0.857, allocations: 8.938 kB / 1.011 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005228/0.8575, allocations: 82.98 kB / 1.011 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.583e-05/0.8576, allocations: 22.92 kB / 1.011 GB, free: 15.67 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.000219/0.8578, allocations: 196.1 kB / 1.012 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.433e-05/0.8578, allocations: 62.34 kB / 1.012 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001074/0.8589, allocations: 0.5307 MB / 1.012 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.8589, allocations: 4.531 kB / 1.012 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.8589, allocations: 0 / 1.012 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.8589, allocations: 6.719 kB / 1.012 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001997/0.8609, allocations: 1.262 MB / 1.013 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.8609, allocations: 4.031 kB / 1.013 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003702/0.8613, allocations: 73.72 kB / 1.013 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.025e-06/0.8613, allocations: 10.5 kB / 1.013 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.396e-05/0.8613, allocations: 15.86 kB / 1.013 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/0.8614, allocations: 6.25 kB / 1.013 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.8614, allocations: 8.172 kB / 1.013 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00149/0.8628, allocations: 0.9478 MB / 1.014 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002181/0.8631, allocations: 107.4 kB / 1.014 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.221e-05/0.8631, allocations: 14.94 kB / 1.014 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004108/0.8636, allocations: 38.11 kB / 1.015 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.8637, allocations: 54.02 kB / 1.015 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.102e-05/0.8637, allocations: 18.12 kB / 1.015 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000387/0.8641, allocations: 346.6 kB / 1.015 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/0.8641, allocations: 0 / 1.015 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005596/0.8646, allocations: 150.5 kB / 1.015 GB, free: 14.63 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.001959/0.8666, allocations: 1.562 MB / 1.017 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001074/0.8677, allocations: 0.6233 MB / 1.017 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.8677, allocations: 0.9062 kB / 1.017 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005488/0.8682, allocations: 271.5 kB / 1.017 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001266/0.8695, allocations: 293.2 kB / 1.018 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006734/0.8762, allocations: 5.221 MB / 1.023 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002336/0.8765, allocations: 273.1 kB / 1.023 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0005226/0.877, allocations: 124.6 kB / 1.023 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002547/0.8772, allocations: 175 kB / 1.023 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of SimCode: time 7.41e-07/0.8772, allocations: 0.9688 kB / 1.023 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04765/0.9249, allocations: 17.67 MB / 1.041 GB, free: 7.777 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.88, allocations: 9.141 kB / 1.041 GB, free: 7.773 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_TemperatureDryBulb_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 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.901836688164622] Failed to read output from testmodel.py, exit status != 0: 11.993520328775048 12.005019853 11.163858013 Calling exit ...