Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.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/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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(Annex60.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(Annex60.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.001547/0.001547, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002204/0.002204, allocations: 192 kB / 16.25 MB, free: 6.633 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.588/1.588, allocations: 205.1 MB / 222.1 MB, free: 4.73 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4129/0.4129, allocations: 54.93 MB / 324.4 MB, free: 192 kB / 254.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: Annex60 requested package Modelica of version 3.2.2. 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.001572/0.001573, allocations: 71.91 kB / 394.9 MB, free: 12.13 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1407, allocations: 59.59 MB / 454.5 MB, free: 484 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.4257/0.5664, allocations: 179.4 MB / 0.619 GB, free: 4.332 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005527/0.572, allocations: 4.358 MB / 0.6233 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006379/0.5726, allocations: 19.88 kB / 0.6233 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001076/0.5738, allocations: 318.3 kB / 0.6236 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00128/0.5751, allocations: 0.5485 MB / 0.6242 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003714/0.5788, allocations: 1.523 MB / 0.6256 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002467/0.5813, allocations: 1.76 MB / 0.6274 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001081/0.5824, allocations: 0.5323 MB / 0.6279 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002584/0.585, allocations: 0.8562 MB / 0.6287 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008361/0.5858, allocations: 0.576 MB / 0.6293 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001189/0.586, allocations: 76.78 kB / 0.6293 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002657/0.5886, allocations: 1.239 MB / 0.6306 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004855/0.5891, allocations: 303.2 kB / 0.6308 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005819/0.5897, allocations: 442.1 kB / 0.6313 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00292/0.5927, allocations: 1.617 MB / 0.6328 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.5927, allocations: 0 / 0.6328 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.304e-06/0.5927, allocations: 8 kB / 0.6329 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.264e-05/0.5927, allocations: 0 / 0.6329 GB, free: 6.152 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.002396/0.5951, allocations: 1.191 MB / 0.634 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.5952, allocations: 13.62 kB / 0.634 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001913/0.5971, allocations: 270.9 kB / 0.6343 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007537/0.5978, allocations: 0.4897 MB / 0.6348 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.745e-05/0.5979, allocations: 45.31 kB / 0.6348 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.708e-05/0.598, allocations: 64 kB / 0.6349 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001447/0.5995, allocations: 0.7739 MB / 0.6356 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.675e-05/0.5995, allocations: 0 / 0.6356 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.641e-05/0.5996, allocations: 28 kB / 0.6357 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.023e-05/0.5996, allocations: 16 kB / 0.6357 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001307/0.6009, allocations: 0.6139 MB / 0.6363 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2321/0.833, allocations: 2.829 MB / 0.639 GB, free: 161.9 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001072/0.8341, allocations: 446.1 kB / 0.6395 GB, free: 161.8 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004441/0.8346, allocations: 216.3 kB / 0.6397 GB, free: 161.8 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003568/0.8349, allocations: 128.1 kB / 0.6398 GB, free: 161.7 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008144/0.8357, allocations: 451.7 kB / 0.6402 GB, free: 161.6 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=36): time 2.505e-06/0.8358, allocations: 0.8125 kB / 0.6402 GB, free: 161.6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=36): time 0.001666/0.8374, allocations: 0.6875 MB / 0.6409 GB, free: 161.5 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001497/0.8376, allocations: 476.7 kB / 0.6413 GB, free: 161 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006665/0.8383, allocations: 0.649 MB / 0.642 GB, free: 160.8 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.431e-05/0.8383, allocations: 39.84 kB / 0.642 GB, free: 160.8 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000212/0.8386, allocations: 342.7 kB / 0.6423 GB, free: 160.7 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.362e-05/0.8387, allocations: 125.7 kB / 0.6425 GB, free: 160.6 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001961/0.8389, allocations: 134.5 kB / 0.6426 GB, free: 160.6 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.522e-05/0.839, allocations: 375.5 kB / 0.643 GB, free: 160.2 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004516/0.8394, allocations: 224.8 kB / 0.6432 GB, free: 160.2 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006023/0.84, allocations: 470.8 kB / 0.6436 GB, free: 160 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009747/0.841, allocations: 0.6358 MB / 0.6442 GB, free: 159.8 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.841, allocations: 0 / 0.6442 GB, free: 159.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.00133/0.8424, allocations: 0.7594 MB / 0.645 GB, free: 159.7 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.299e-05/0.8424, allocations: 61.38 kB / 0.645 GB, free: 159.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.8424, allocations: 7.5 kB / 0.645 GB, free: 159.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/0.8425, allocations: 6.656 kB / 0.645 GB, free: 159.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005033/0.843, allocations: 120.5 kB / 0.6452 GB, free: 159.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.411e-05/0.843, allocations: 11.06 kB / 0.6452 GB, free: 159.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007427/0.8437, allocations: 120.9 kB / 0.6453 GB, free: 159.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.701e-05/0.8438, allocations: 27.42 kB / 0.6453 GB, free: 159.5 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (66): * Single equations (assignments): 64 * 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.0002599/0.8441, allocations: 226.6 kB / 0.6455 GB, free: 159.4 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.576e-05/0.8442, allocations: 73.5 kB / 0.6456 GB, free: 159.4 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001048/0.8452, allocations: 0.5241 MB / 0.6461 GB, free: 159.3 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.8452, allocations: 6.266 kB / 0.6461 GB, free: 159.3 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.8453, allocations: 2.875 kB / 0.6461 GB, free: 159.3 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.8453, allocations: 0 / 0.6461 GB, free: 159.3 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001854/0.8471, allocations: 1.557 MB / 0.6476 GB, free: 158.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.8471, allocations: 0 / 0.6476 GB, free: 158.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003641/0.8475, allocations: 73.39 kB / 0.6477 GB, free: 158.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.8475, allocations: 5.438 kB / 0.6477 GB, free: 158.7 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.492e-05/0.8476, allocations: 16.41 kB / 0.6477 GB, free: 158.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.8476, allocations: 9.625 kB / 0.6477 GB, free: 158.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.8476, allocations: 5.75 kB / 0.6477 GB, free: 158.7 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001434/0.849, allocations: 0.9366 MB / 0.6487 GB, free: 158.3 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002435/0.8493, allocations: 208.7 kB / 0.6489 GB, free: 158.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001168/0.8494, allocations: 19.03 kB / 0.6489 GB, free: 158.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006267/0.85, allocations: 54.61 kB / 0.6489 GB, free: 158.2 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.8502, allocations: 46.47 kB / 0.649 GB, free: 158.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.158e-05/0.8502, allocations: 15.12 kB / 0.649 GB, free: 158.1 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004484/0.8507, allocations: 466.4 kB / 0.6494 GB, free: 157.9 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.192e-06/0.8507, allocations: 0 / 0.6494 GB, free: 157.9 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006953/0.8514, allocations: 206.2 kB / 0.6496 GB, free: 157.9 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (36): * Single equations (assignments): 32 * 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.0004077/0.8518, allocations: 177.3 kB / 0.6498 GB, free: 157.8 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001174/0.853, allocations: 0.6602 MB / 0.6504 GB, free: 157.6 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.853, allocations: 2.062 kB / 0.6504 GB, free: 157.6 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005884/0.8536, allocations: 284.6 kB / 0.6507 GB, free: 157.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001883/0.8555, allocations: 401.8 kB / 0.6511 GB, free: 157.4 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002387/0.8579, allocations: 1.433 MB / 0.6525 GB, free: 156.6 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004369/0.8583, allocations: 0.916 MB / 0.6534 GB, free: 155.9 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0008224/0.8592, allocations: 159.7 kB / 0.6535 GB, free: 155.8 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001625/0.8593, allocations: 53.66 kB / 0.6536 GB, free: 155.8 MB / 0.4981 GB Notification: Performance of SimCode: time 8.42e-07/0.8593, allocations: 0 / 0.6536 GB, free: 155.8 MB / 0.4981 GB Notification: Performance of Templates: time 0.03094/0.8903, allocations: 15.46 MB / 0.6687 GB, free: 155 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)