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.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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008817/0.008817, allocations: 100.7 kB / 15.73 MB, free: 6.039 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.001213/0.001213, allocations: 188.9 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00215/0.00215, allocations: 290.9 kB / 290.8 MB, free: 1.781 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9487/0.9487, allocations: 169.3 MB / 0.4983 GB, free: 13.85 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001723/0.001723, allocations: 103.8 kB / 0.6815 GB, free: 15.48 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1788/0.1806, allocations: 86.98 MB / 0.7664 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.6008/0.7814, allocations: 181.8 MB / 0.9439 GB, free: 12.96 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.00577/0.7872, allocations: 4.454 MB / 0.9483 GB, free: 8.492 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005639/0.7879, allocations: 19.88 kB / 0.9483 GB, free: 8.473 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0006607/0.7885, allocations: 246.1 kB / 0.9485 GB, free: 8.23 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001758/0.7903, allocations: 0.7619 MB / 0.9493 GB, free: 7.465 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.003408/0.7937, allocations: 1.513 MB / 0.9507 GB, free: 5.953 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.001415/0.7952, allocations: 1.262 MB / 0.952 GB, free: 4.688 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005949/0.7958, allocations: 452.8 kB / 0.9524 GB, free: 4.242 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001033/0.7968, allocations: 0.5799 MB / 0.953 GB, free: 3.66 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004885/0.7973, allocations: 406.3 kB / 0.9533 GB, free: 3.262 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 7.58e-05/0.7974, allocations: 44 kB / 0.9534 GB, free: 3.219 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002504/0.7999, allocations: 1.547 MB / 0.9549 GB, free: 1.668 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001917/0.8001, allocations: 183.5 kB / 0.9551 GB, free: 1.488 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0003003/0.8004, allocations: 310.5 kB / 0.9554 GB, free: 1.184 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001911/0.8023, allocations: 1.312 MB / 0.9567 GB, free: 15.87 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.8023, allocations: 0 / 0.9567 GB, free: 15.87 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.533e-06/0.8024, allocations: 0 / 0.9567 GB, free: 15.87 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.526e-06/0.8024, allocations: 0 / 0.9567 GB, free: 15.87 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.001825/0.8042, allocations: 1.023 MB / 0.9577 GB, free: 14.79 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.938e-05/0.8043, allocations: 8.031 kB / 0.9577 GB, free: 14.78 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002206/0.8065, allocations: 290.9 kB / 0.9579 GB, free: 14.5 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008589/0.8074, allocations: 461.5 kB / 0.9584 GB, free: 14.01 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.44e-05/0.8074, allocations: 36.98 kB / 0.9584 GB, free: 13.97 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.586e-05/0.8075, allocations: 40 kB / 0.9585 GB, free: 13.93 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001087/0.8086, allocations: 0.5507 MB / 0.959 GB, free: 13.35 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/0.8086, allocations: 2.25 kB / 0.959 GB, free: 13.35 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.885e-05/0.8087, allocations: 20 kB / 0.959 GB, free: 13.33 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.759e-05/0.8087, allocations: 11.94 kB / 0.959 GB, free: 13.32 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001057/0.8098, allocations: 463.5 kB / 0.9595 GB, free: 12.86 MB / 0.7169 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.002485/0.8123, allocations: 2.123 MB / 0.9615 GB, free: 10.61 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009932/0.8133, allocations: 403 kB / 0.9619 GB, free: 10.2 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005151/0.8138, allocations: 228.7 kB / 0.9621 GB, free: 9.977 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006941/0.8145, allocations: 400.3 kB / 0.9625 GB, free: 9.512 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006138/0.8151, allocations: 291.5 kB / 0.9628 GB, free: 9.215 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=37): time 2.474e-06/0.8152, allocations: 0 / 0.9628 GB, free: 9.215 MB / 0.7169 GB Notification: Performance of matching and sorting (n=37): time 0.001718/0.8169, allocations: 0.6836 MB / 0.9635 GB, free: 8.523 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.678e-05/0.8169, allocations: 59.41 kB / 0.9635 GB, free: 8.453 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005368/0.8175, allocations: 0.4902 MB / 0.964 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.404e-05/0.8175, allocations: 37.7 kB / 0.964 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001775/0.8177, allocations: 260.1 kB / 0.9643 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.413e-05/0.8178, allocations: 122.2 kB / 0.9644 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001424/0.818, allocations: 94.11 kB / 0.9645 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.8181, allocations: 362.8 kB / 0.9648 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000463/0.8186, allocations: 196.8 kB / 0.965 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005343/0.8191, allocations: 316.1 kB / 0.9653 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009608/0.8201, allocations: 0.5493 MB / 0.9659 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.8201, allocations: 0 / 0.9659 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001195/0.8213, allocations: 0.652 MB / 0.9665 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.144e-05/0.8214, allocations: 63.39 kB / 0.9666 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.8214, allocations: 4 kB / 0.9666 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.8214, allocations: 7.938 kB / 0.9666 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004408/0.8219, allocations: 95.88 kB / 0.9667 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.8219, allocations: 7.938 kB / 0.9667 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004888/0.8224, allocations: 79.64 kB / 0.9667 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-05/0.8224, allocations: 20 kB / 0.9668 GB, free: 4.973 MB / 0.7169 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.0002187/0.8227, allocations: 191.6 kB / 0.967 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.548e-05/0.8227, allocations: 55.28 kB / 0.967 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001195/0.8239, allocations: 0.5439 MB / 0.9675 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.824, allocations: 4 kB / 0.9675 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.824, allocations: 0 / 0.9675 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.824, allocations: 3.984 kB / 0.9675 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002147/0.8261, allocations: 1.352 MB / 0.9689 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.8261, allocations: 0 / 0.9689 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004055/0.8266, allocations: 84.25 kB / 0.9689 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.8266, allocations: 8 kB / 0.969 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.208e-05/0.8266, allocations: 12 kB / 0.969 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.112e-06/0.8266, allocations: 4.562 kB / 0.969 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/0.8266, allocations: 7.938 kB / 0.969 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001671/0.8283, allocations: 0.9366 MB / 0.9699 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001986/0.8285, allocations: 172.3 kB / 0.9701 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.744e-05/0.8286, allocations: 19.98 kB / 0.9701 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004433/0.8291, allocations: 33.09 kB / 0.9701 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001369/0.8292, allocations: 51.81 kB / 0.9702 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.121e-05/0.8292, allocations: 19.98 kB / 0.9702 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000404/0.8297, allocations: 342.8 kB / 0.9705 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8297, allocations: 0 / 0.9705 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0006082/0.8303, allocations: 159.8 kB / 0.9707 GB, free: 0.8086 MB / 0.7169 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.0004932/0.8308, allocations: 198.3 kB / 0.9708 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001169/0.832, allocations: 0.5763 MB / 0.9714 GB, free: 16 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.177e-06/0.832, allocations: 4 kB / 0.9714 GB, free: 12 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000663/0.8327, allocations: 292.6 kB / 0.9717 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001344/0.834, allocations: 289.5 kB / 0.972 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001791/0.8358, allocations: 1.049 MB / 0.973 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004579/0.8363, allocations: 0.8548 MB / 0.9738 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004431/0.8367, allocations: 128.7 kB / 0.9739 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001487/0.8369, allocations: 47.42 kB / 0.974 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of SimCode: time 5.21e-07/0.8369, allocations: 4 kB / 0.974 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of Templates: time 0.01777/0.8547, allocations: 10.83 MB / 0.9846 GB, free: 2.621 MB / 0.7325 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)