Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 197 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.475/1.475, allocations: 205.1 MB / 222 MB, free: 4.996 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6018/0.6018, allocations: 95.47 MB / 364.8 MB, free: 10.14 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001561/0.001561, allocations: 67.91 kB / 444.7 MB, free: 10.12 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.3259, allocations: 69.07 MB / 0.5017 GB, free: 17.63 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.5978/0.9237, allocations: 194.1 MB / 0.6912 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005806/0.9296, allocations: 3.708 MB / 0.6948 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009241/0.9305, allocations: 19.62 kB / 0.6948 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001102/0.9317, allocations: 295.8 kB / 0.6951 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001549/0.9333, allocations: 487.2 kB / 0.6956 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005799/0.9391, allocations: 1.9 MB / 0.6974 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002967/0.9421, allocations: 2.205 MB / 0.6996 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007494/0.9428, allocations: 455 kB / 0.7 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001519/0.9444, allocations: 0.5952 MB / 0.7006 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007622/0.9451, allocations: 0.5507 MB / 0.7012 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001111/0.9453, allocations: 37.72 kB / 0.7012 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005546/0.9508, allocations: 2.233 MB / 0.7034 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004038/0.9512, allocations: 254 kB / 0.7036 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005452/0.9518, allocations: 401.3 kB / 0.704 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004655/0.9565, allocations: 2.131 MB / 0.7061 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.9565, allocations: 2.094 kB / 0.7061 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.372e-06/0.9565, allocations: 0 / 0.7061 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.123e-05/0.9565, allocations: 0 / 0.7061 GB, free: 4.219 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.002788/0.9593, allocations: 1.272 MB / 0.7073 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.32e-05/0.9594, allocations: 11.77 kB / 0.7073 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004106/0.9598, allocations: 89.41 kB / 0.7074 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007344/0.9605, allocations: 485.8 kB / 0.7079 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.939e-05/0.9606, allocations: 46.94 kB / 0.7079 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/0.9607, allocations: 57.91 kB / 0.708 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001515/0.9622, allocations: 0.7966 MB / 0.7088 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.9622, allocations: 3.938 kB / 0.7088 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.16e-05/0.9623, allocations: 30.78 kB / 0.7088 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.5e-05/0.9623, allocations: 15.53 kB / 0.7088 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001609/0.964, allocations: 0.7473 MB / 0.7095 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004557/0.9685, allocations: 3.451 MB / 0.7129 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000729/0.9693, allocations: 305.2 kB / 0.7132 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004638/0.9698, allocations: 207.9 kB / 0.7134 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009557/0.9707, allocations: 0.8013 MB / 0.7142 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009418/0.9717, allocations: 0.5072 MB / 0.7147 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=38): time 3.396e-06/0.9717, allocations: 0 / 0.7147 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of matching and sorting (n=38): time 0.001861/0.9736, allocations: 0.7083 MB / 0.7154 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003836/0.974, allocations: 0.7786 MB / 0.7161 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008339/0.9748, allocations: 0.6637 MB / 0.7168 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.952e-05/0.9749, allocations: 34.58 kB / 0.7168 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002501/0.9751, allocations: 336 kB / 0.7171 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001169/0.9752, allocations: 136.1 kB / 0.7173 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002462/0.9755, allocations: 145 kB / 0.7174 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001947/0.9757, allocations: 367.6 kB / 0.7177 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005575/0.9763, allocations: 234.9 kB / 0.718 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008368/0.9771, allocations: 485.8 kB / 0.7184 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001182/0.9783, allocations: 0.6326 MB / 0.7191 GB, free: 9.234 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.9783, allocations: 0 / 0.7191 GB, free: 9.234 MB / 0.5137 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001658/0.98, allocations: 0.7632 MB / 0.7198 GB, free: 8.457 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.102e-05/0.9801, allocations: 36.36 kB / 0.7198 GB, free: 8.418 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.9801, allocations: 12.02 kB / 0.7198 GB, free: 8.406 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.219e-05/0.9801, allocations: 8 kB / 0.7199 GB, free: 8.398 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006313/0.9808, allocations: 135.8 kB / 0.72 GB, free: 8.266 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.5e-05/0.9808, allocations: 11.94 kB / 0.72 GB, free: 8.254 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000889/0.9817, allocations: 119.1 kB / 0.7201 GB, free: 8.137 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.024e-05/0.9818, allocations: 31.98 kB / 0.7201 GB, free: 8.105 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 5 (m_flow.count,$PRE.m_flow.count,m_flow.T_start,$PRE.m_flow.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 1 * 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.0003318/0.9821, allocations: 225.6 kB / 0.7204 GB, free: 7.875 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001585/0.9823, allocations: 75.23 kB / 0.7204 GB, free: 7.801 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001378/0.9836, allocations: 0.6574 MB / 0.7211 GB, free: 7.117 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.762e-05/0.9837, allocations: 12 kB / 0.7211 GB, free: 7.105 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.848e-06/0.9837, allocations: 7.938 kB / 0.7211 GB, free: 7.098 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.404e-05/0.9837, allocations: 7.984 kB / 0.7211 GB, free: 7.09 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001699/0.9854, allocations: 1.373 MB / 0.7224 GB, free: 5.648 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.508e-06/0.9854, allocations: 4 kB / 0.7224 GB, free: 5.645 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003888/0.9858, allocations: 71.89 kB / 0.7225 GB, free: 5.574 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.576e-06/0.9859, allocations: 4 kB / 0.7225 GB, free: 5.57 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.433e-05/0.9859, allocations: 19.92 kB / 0.7225 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.025e-06/0.9859, allocations: 16.12 kB / 0.7225 GB, free: 5.535 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.9859, allocations: 4 kB / 0.7225 GB, free: 5.531 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001878/0.9878, allocations: 0.8632 MB / 0.7234 GB, free: 4.609 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003464/0.9882, allocations: 216.1 kB / 0.7236 GB, free: 4.379 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001373/0.9883, allocations: 23.75 kB / 0.7236 GB, free: 4.355 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00059/0.9889, allocations: 52.02 kB / 0.7237 GB, free: 4.305 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001354/0.9891, allocations: 43.83 kB / 0.7237 GB, free: 4.262 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.181e-05/0.9891, allocations: 15.98 kB / 0.7237 GB, free: 4.246 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007696/0.9899, allocations: 0.6083 MB / 0.7243 GB, free: 3.645 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9899, allocations: 0 / 0.7243 GB, free: 3.645 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00165/0.9915, allocations: 451.5 kB / 0.7247 GB, free: 3.203 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 1 (temDyn.T) * Number of discrete variables: 3 ($whenCondition1,m_flow.T_start,m_flow.count) * Number of discrete states: 1 (m_flow.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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.001371/0.9929, allocations: 0.5052 MB / 0.7252 GB, free: 2.719 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001377/0.9943, allocations: 0.5896 MB / 0.7258 GB, free: 2.117 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.9943, allocations: 192 / 0.7258 GB, free: 2.117 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006259/0.995, allocations: 277.6 kB / 0.7261 GB, free: 1.848 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001912/0.9969, allocations: 399.5 kB / 0.7265 GB, free: 1.453 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002406/0.9993, allocations: 1.545 MB / 0.728 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004848/0.9998, allocations: 0.942 MB / 0.7289 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000688/1.001, allocations: 161.8 kB / 0.729 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001814/1.001, allocations: 67.42 kB / 0.7291 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of SimCode: time 2.6e-07/1.001, allocations: 0 / 0.7291 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of Templates: time 0.03628/1.037, allocations: 20.87 MB / 0.7495 GB, free: 9.941 MB / 0.545 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (rm -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)