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/BuildingSystems 2.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) 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/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8314/0.8314, allocations: 143.4 MB / 159.2 MB, free: 4.879 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 184.5 kB / 191.9 MB, free: 5.727 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.561/1.561, allocations: 222.9 MB / 447.3 MB, free: 5.848 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 103.7 kB / 0.517 GB, free: 3.715 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001928/0.001928, allocations: 278.5 kB / 0.5973 GB, free: 49.38 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00207/0.00207, allocations: 83.88 kB / 0.6885 GB, free: 3.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3991/0.4012, allocations: 81.29 MB / 0.7679 GB, free: 27.67 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.4847/0.8859, allocations: 179.5 MB / 0.9432 GB, free: 136 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.005284/0.8912, allocations: 4.481 MB / 0.9476 GB, free: 12 kB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006948/0.892, allocations: 21.45 kB / 0.9476 GB, free: 12 kB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.000659/0.8926, allocations: 198.7 kB / 0.9478 GB, free: 8 kB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001739/0.8944, allocations: 0.7044 MB / 0.9485 GB, free: 15.97 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.003193/0.8976, allocations: 1.408 MB / 0.9499 GB, free: 15.91 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.001496/0.8991, allocations: 1.69 MB / 0.9515 GB, free: 15.91 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004799/0.8996, allocations: 382.5 kB / 0.9519 GB, free: 15.86 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008263/0.9005, allocations: 0.5315 MB / 0.9524 GB, free: 15.85 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000431/0.9009, allocations: 424.1 kB / 0.9528 GB, free: 15.84 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 7.077e-05/0.901, allocations: 29.25 kB / 0.9528 GB, free: 15.84 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002811/0.9038, allocations: 1.81 MB / 0.9546 GB, free: 15.83 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002017/0.904, allocations: 174.9 kB / 0.9548 GB, free: 15.82 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0003505/0.9044, allocations: 292.3 kB / 0.9551 GB, free: 15.82 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.00245/0.9068, allocations: 1.383 MB / 0.9564 GB, free: 15.69 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.9069, allocations: 2.062 kB / 0.9564 GB, free: 15.69 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.393e-06/0.9069, allocations: 0 / 0.9564 GB, free: 15.69 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.017e-05/0.9069, allocations: 0 / 0.9564 GB, free: 15.69 MB / 0.573 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.002119/0.909, allocations: 1.022 MB / 0.9574 GB, free: 15.01 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.811e-05/0.9091, allocations: 12.53 kB / 0.9574 GB, free: 15.01 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00201/0.9111, allocations: 287.9 kB / 0.9577 GB, free: 14.97 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008714/0.912, allocations: 442.3 kB / 0.9581 GB, free: 14.71 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.383e-05/0.912, allocations: 36.72 kB / 0.9582 GB, free: 14.71 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.84e-05/0.9121, allocations: 42.84 kB / 0.9582 GB, free: 14.71 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00102/0.9132, allocations: 0.5469 MB / 0.9587 GB, free: 14.59 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.9132, allocations: 2.531 kB / 0.9587 GB, free: 14.59 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.11e-05/0.9132, allocations: 15.75 kB / 0.9587 GB, free: 14.59 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.639e-05/0.9133, allocations: 17.94 kB / 0.9588 GB, free: 14.58 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009848/0.9143, allocations: 457.5 kB / 0.9592 GB, free: 14.57 MB / 0.573 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.00268/0.917, allocations: 2.121 MB / 0.9613 GB, free: 13.3 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008966/0.9179, allocations: 404.8 kB / 0.9617 GB, free: 13.27 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004574/0.9183, allocations: 227.9 kB / 0.9619 GB, free: 13.27 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006987/0.919, allocations: 399.9 kB / 0.9623 GB, free: 12.88 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005625/0.9196, allocations: 294.2 kB / 0.9625 GB, free: 12.83 MB / 0.573 GB Notification: Performance of pre-optimization done (n=37): time 3.086e-06/0.9196, allocations: 0 / 0.9625 GB, free: 12.83 MB / 0.573 GB Notification: Performance of matching and sorting (n=37): time 0.001711/0.9213, allocations: 0.6861 MB / 0.9632 GB, free: 12.76 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/0.9214, allocations: 62.44 kB / 0.9633 GB, free: 12.69 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005007/0.9219, allocations: 0.4904 MB / 0.9637 GB, free: 12.56 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 3.95e-05/0.922, allocations: 38.09 kB / 0.9638 GB, free: 12.53 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001511/0.9221, allocations: 261.7 kB / 0.964 GB, free: 12.41 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/0.9222, allocations: 119 kB / 0.9641 GB, free: 12.33 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001497/0.9224, allocations: 93.7 kB / 0.9642 GB, free: 12.31 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.9225, allocations: 361.5 kB / 0.9646 GB, free: 12 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004566/0.923, allocations: 200.6 kB / 0.9648 GB, free: 11.99 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005361/0.9235, allocations: 313.8 kB / 0.9651 GB, free: 11.89 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009659/0.9245, allocations: 0.5441 MB / 0.9656 GB, free: 11.71 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.9245, allocations: 2.594 kB / 0.9656 GB, free: 11.71 MB / 0.573 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001266/0.9258, allocations: 0.6487 MB / 0.9662 GB, free: 11.57 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 4.873e-05/0.9259, allocations: 60.44 kB / 0.9663 GB, free: 11.51 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.9259, allocations: 3.062 kB / 0.9663 GB, free: 11.51 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.9259, allocations: 5.5 kB / 0.9663 GB, free: 11.51 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004433/0.9263, allocations: 96.91 kB / 0.9664 GB, free: 11.51 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.9264, allocations: 8.047 kB / 0.9664 GB, free: 11.51 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005578/0.9269, allocations: 85.03 kB / 0.9665 GB, free: 11.48 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.976e-05/0.927, allocations: 30.45 kB / 0.9665 GB, free: 11.47 MB / 0.573 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.0002183/0.9272, allocations: 189.7 kB / 0.9667 GB, free: 11.36 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.158e-05/0.9273, allocations: 56.33 kB / 0.9667 GB, free: 11.32 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001164/0.9285, allocations: 0.5312 MB / 0.9673 GB, free: 11.27 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.9285, allocations: 9.344 kB / 0.9673 GB, free: 11.27 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.9285, allocations: 0 / 0.9673 GB, free: 11.27 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.9285, allocations: 1.922 kB / 0.9673 GB, free: 11.27 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002135/0.9306, allocations: 1.35 MB / 0.9686 GB, free: 10.71 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.9307, allocations: 6.656 kB / 0.9686 GB, free: 10.7 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003922/0.9311, allocations: 81.28 kB / 0.9687 GB, free: 10.68 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-06/0.9311, allocations: 9.031 kB / 0.9687 GB, free: 10.68 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.437e-05/0.9311, allocations: 10.09 kB / 0.9687 GB, free: 10.68 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/0.9311, allocations: 8.125 kB / 0.9687 GB, free: 10.68 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.9311, allocations: 7 kB / 0.9687 GB, free: 10.68 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01125/0.9424, allocations: 4.509 MB / 0.9731 GB, free: 7.957 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002333/0.9427, allocations: 169.1 kB / 0.9733 GB, free: 7.801 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.544e-05/0.9427, allocations: 14.91 kB / 0.9733 GB, free: 7.793 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004537/0.9432, allocations: 43.92 kB / 0.9733 GB, free: 7.773 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/0.9433, allocations: 49.97 kB / 0.9734 GB, free: 7.746 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.077e-05/0.9434, allocations: 17.41 kB / 0.9734 GB, free: 7.742 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0003739/0.9437, allocations: 343.8 kB / 0.9737 GB, free: 7.539 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9437, allocations: 0 / 0.9737 GB, free: 7.539 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0007301/0.9445, allocations: 224 kB / 0.9739 GB, free: 7.504 MB / 0.573 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.0004087/0.9449, allocations: 199.5 kB / 0.9741 GB, free: 7.371 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001116/0.946, allocations: 0.5819 MB / 0.9747 GB, free: 7.047 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.946, allocations: 128 / 0.9747 GB, free: 7.047 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.000644/0.9467, allocations: 291.5 kB / 0.975 GB, free: 6.93 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001347/0.9481, allocations: 270.3 kB / 0.9752 GB, free: 6.801 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001932/0.95, allocations: 1.471 MB / 0.9767 GB, free: 5.672 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004081/0.9504, allocations: 0.8771 MB / 0.9775 GB, free: 4.887 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0004963/0.9509, allocations: 129.4 kB / 0.9777 GB, free: 4.824 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001481/0.9511, allocations: 42.5 kB / 0.9777 GB, free: 4.816 MB / 0.573 GB Notification: Performance of SimCode: time 6.91e-07/0.9511, allocations: 0 / 0.9777 GB, free: 4.816 MB / 0.573 GB Notification: Performance of Templates: time 0.01709/0.9682, allocations: 10.82 MB / 0.9883 GB, free: 13.81 MB / 0.5886 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)