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.005119/0.00512, 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.001151/0.001151, allocations: 186.8 kB / 16.67 MB, free: 5.977 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.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00204/0.00204, allocations: 290.8 kB / 290.8 MB, free: 1.961 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9307/0.9307, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001669/0.001669, allocations: 107.8 kB / 0.6815 GB, free: 15.48 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1914/0.1931, 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.6075/0.8007, allocations: 181.8 MB / 0.9439 GB, free: 12.95 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.006287/0.807, allocations: 4.447 MB / 0.9483 GB, free: 8.492 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007414/0.8078, allocations: 19.88 kB / 0.9483 GB, free: 8.473 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0008373/0.8086, allocations: 254.1 kB / 0.9485 GB, free: 8.223 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.002067/0.8108, allocations: 0.7619 MB / 0.9493 GB, free: 7.457 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.003671/0.8144, allocations: 1.507 MB / 0.9507 GB, free: 5.949 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.001714/0.8162, allocations: 1.259 MB / 0.952 GB, free: 4.688 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007907/0.817, allocations: 457.5 kB / 0.9524 GB, free: 4.238 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001221/0.8182, allocations: 0.5799 MB / 0.953 GB, free: 3.656 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006728/0.8189, allocations: 406.3 kB / 0.9533 GB, free: 3.258 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001263/0.819, allocations: 48 kB / 0.9534 GB, free: 3.211 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002758/0.8218, allocations: 1.547 MB / 0.9549 GB, free: 1.66 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0002633/0.8221, allocations: 183.5 kB / 0.9551 GB, free: 1.48 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0005162/0.8226, allocations: 310.5 kB / 0.9554 GB, free: 1.176 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.002839/0.8254, allocations: 1.312 MB / 0.9567 GB, free: 15.86 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.8255, allocations: 0 / 0.9567 GB, free: 15.86 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.844e-06/0.8255, allocations: 0 / 0.9567 GB, free: 15.86 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.358e-05/0.8255, allocations: 0 / 0.9567 GB, free: 15.86 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.002212/0.8277, allocations: 1.017 MB / 0.9577 GB, free: 14.79 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.8278, allocations: 12.03 kB / 0.9577 GB, free: 14.77 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002043/0.8298, allocations: 286.9 kB / 0.9579 GB, free: 14.49 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009379/0.8308, allocations: 465.4 kB / 0.9584 GB, free: 14 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.841e-05/0.8308, allocations: 33 kB / 0.9584 GB, free: 13.96 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.333e-05/0.8309, allocations: 44 kB / 0.9585 GB, free: 13.92 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001088/0.832, allocations: 0.5507 MB / 0.959 GB, free: 13.34 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.8321, allocations: 3.938 kB / 0.959 GB, free: 13.34 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.627e-05/0.8321, allocations: 16 kB / 0.959 GB, free: 13.32 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.682e-05/0.8321, allocations: 17.12 kB / 0.959 GB, free: 13.3 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001044/0.8332, allocations: 459.5 kB / 0.9595 GB, free: 12.85 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.002726/0.8359, allocations: 2.112 MB / 0.9615 GB, free: 10.61 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009522/0.8369, allocations: 415 kB / 0.9619 GB, free: 10.2 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004663/0.8374, allocations: 224.7 kB / 0.9621 GB, free: 9.973 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006989/0.8381, allocations: 404.3 kB / 0.9625 GB, free: 9.504 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005899/0.8387, allocations: 283.5 kB / 0.9628 GB, free: 9.215 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=37): time 2.134e-06/0.8387, allocations: 0 / 0.9628 GB, free: 9.215 MB / 0.7169 GB Notification: Performance of matching and sorting (n=37): time 0.001729/0.8404, allocations: 0.6914 MB / 0.9635 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.8405, allocations: 59.39 kB / 0.9635 GB, free: 8.445 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005948/0.8411, allocations: 0.498 MB / 0.964 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.54e-05/0.8411, allocations: 29.7 kB / 0.964 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002034/0.8414, allocations: 260.1 kB / 0.9643 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001123/0.8415, allocations: 126.2 kB / 0.9644 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001688/0.8417, allocations: 82.12 kB / 0.9645 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.8418, allocations: 370.8 kB / 0.9648 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004876/0.8423, allocations: 196.8 kB / 0.965 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005774/0.8429, allocations: 312.1 kB / 0.9653 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009991/0.8439, allocations: 0.5493 MB / 0.9659 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.8439, allocations: 3.984 kB / 0.9659 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001277/0.8452, allocations: 0.6501 MB / 0.9665 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.619e-05/0.8453, allocations: 59.41 kB / 0.9666 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.477e-06/0.8453, allocations: 4 kB / 0.9666 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/0.8453, allocations: 4 kB / 0.9666 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004443/0.8458, allocations: 99.81 kB / 0.9667 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.45e-05/0.8458, allocations: 12.17 kB / 0.9667 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005084/0.8463, allocations: 83.39 kB / 0.9668 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-05/0.8464, allocations: 20 kB / 0.9668 GB, free: 4.965 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.0002162/0.8466, allocations: 190.3 kB / 0.967 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.363e-05/0.8467, allocations: 59.28 kB / 0.967 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001176/0.8479, allocations: 0.5368 MB / 0.9675 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.787e-05/0.8479, allocations: 4 kB / 0.9675 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.848, allocations: 0 / 0.9675 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.848, allocations: 0 / 0.9675 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002233/0.8502, allocations: 1.354 MB / 0.9689 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.8502, allocations: 4 kB / 0.9689 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004063/0.8506, allocations: 80.27 kB / 0.9689 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.028e-05/0.8507, allocations: 11.98 kB / 0.969 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.85e-05/0.8507, allocations: 12 kB / 0.969 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.472e-06/0.8507, allocations: 4 kB / 0.969 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.8507, allocations: 7.938 kB / 0.969 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001736/0.8525, allocations: 0.9288 MB / 0.9699 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002421/0.8527, allocations: 180.4 kB / 0.9701 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.424e-05/0.8528, allocations: 15.98 kB / 0.9701 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004352/0.8533, allocations: 27.97 kB / 0.9701 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001462/0.8534, allocations: 55.81 kB / 0.9701 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-05/0.8534, allocations: 12 kB / 0.9702 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0004341/0.8539, allocations: 350.8 kB / 0.9705 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.81e-07/0.8539, allocations: 0 / 0.9705 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0006392/0.8545, allocations: 151.8 kB / 0.9706 GB, free: 0.8125 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.0005146/0.8551, allocations: 204.3 kB / 0.9708 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001193/0.8563, allocations: 0.5841 MB / 0.9714 GB, free: 8 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.8563, allocations: 0.75 kB / 0.9714 GB, free: 8 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0007102/0.857, allocations: 291.9 kB / 0.9717 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001336/0.8583, allocations: 296 kB / 0.972 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001917/0.8603, allocations: 1.037 MB / 0.973 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004677/0.8608, allocations: 0.8665 MB / 0.9738 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004548/0.8612, allocations: 128.7 kB / 0.9739 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001509/0.8614, allocations: 43.44 kB / 0.974 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of SimCode: time 2.81e-07/0.8614, allocations: 4 kB / 0.974 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of Templates: time 0.01881/0.8802, allocations: 11.06 MB / 0.9848 GB, free: 2.402 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)