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.005453/0.005453, allocations: 95.36 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.001152/0.001152, allocations: 197.5 kB / 16.68 MB, free: 5.969 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.359/1.359, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002168/0.002168, allocations: 274.8 kB / 290.8 MB, free: 1.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9347/0.9347, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001566, allocations: 95.86 kB / 0.6815 GB, free: 15.48 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1831/0.1847, allocations: 86.98 MB / 0.7664 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.6153/0.8001, allocations: 181.8 MB / 0.9439 GB, free: 13.14 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.005975/0.8061, allocations: 4.452 MB / 0.9483 GB, free: 8.676 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005316/0.8066, allocations: 19.88 kB / 0.9483 GB, free: 8.656 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0006911/0.8073, allocations: 250.1 kB / 0.9485 GB, free: 8.41 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001799/0.8092, allocations: 0.7542 MB / 0.9492 GB, free: 7.652 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.00337/0.8126, allocations: 1.519 MB / 0.9507 GB, free: 6.133 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.001365/0.814, allocations: 1.259 MB / 0.952 GB, free: 4.871 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000578/0.8145, allocations: 460.1 kB / 0.9524 GB, free: 4.418 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001031/0.8156, allocations: 0.5643 MB / 0.953 GB, free: 3.852 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005062/0.8161, allocations: 410.2 kB / 0.9533 GB, free: 3.449 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 8.53e-05/0.8162, allocations: 48 kB / 0.9534 GB, free: 3.402 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002596/0.8188, allocations: 1.539 MB / 0.9549 GB, free: 1.859 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0002095/0.819, allocations: 187.5 kB / 0.9551 GB, free: 1.676 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0003014/0.8193, allocations: 306.5 kB / 0.9554 GB, free: 1.375 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001819/0.8212, allocations: 1.32 MB / 0.9567 GB, free: 52 kB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.8212, allocations: 0 / 0.9567 GB, free: 52 kB / 0.7012 GB Notification: Performance of FrontEnd: time 1.883e-06/0.8212, allocations: 0 / 0.9567 GB, free: 52 kB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.063e-05/0.8212, allocations: 4 kB / 0.9567 GB, free: 48 kB / 0.7012 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.001654/0.8229, allocations: 1.04 MB / 0.9577 GB, free: 14.94 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.8229, allocations: 8.031 kB / 0.9577 GB, free: 14.93 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001889/0.8248, allocations: 291.2 kB / 0.958 GB, free: 14.65 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007462/0.8256, allocations: 471.7 kB / 0.9584 GB, free: 14.15 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.839e-05/0.8256, allocations: 36.94 kB / 0.9584 GB, free: 14.11 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.786e-05/0.8257, allocations: 47.94 kB / 0.9585 GB, free: 14.07 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009482/0.8267, allocations: 0.5468 MB / 0.959 GB, free: 13.49 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.8267, allocations: 3.938 kB / 0.959 GB, free: 13.48 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.467e-05/0.8267, allocations: 19.98 kB / 0.959 GB, free: 13.46 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.127e-05/0.8268, allocations: 15.94 kB / 0.9591 GB, free: 13.45 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009871/0.8277, allocations: 455.6 kB / 0.9595 GB, free: 13 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.002291/0.8301, allocations: 2.124 MB / 0.9616 GB, free: 10.75 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009105/0.831, allocations: 403.9 kB / 0.962 GB, free: 10.34 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004574/0.8314, allocations: 232.6 kB / 0.9622 GB, free: 10.11 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006123/0.8321, allocations: 400.3 kB / 0.9626 GB, free: 9.648 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005637/0.8326, allocations: 287.5 kB / 0.9628 GB, free: 9.355 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=37): time 2.165e-06/0.8327, allocations: 0 / 0.9628 GB, free: 9.355 MB / 0.7169 GB Notification: Performance of matching and sorting (n=37): time 0.001676/0.8343, allocations: 0.6917 MB / 0.9635 GB, free: 8.656 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.204e-05/0.8344, allocations: 59.41 kB / 0.9636 GB, free: 8.586 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005243/0.8349, allocations: 498 kB / 0.964 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.903e-05/0.835, allocations: 37.7 kB / 0.9641 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001746/0.8352, allocations: 268.4 kB / 0.9643 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/0.8353, allocations: 127 kB / 0.9644 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001455/0.8354, allocations: 86.08 kB / 0.9645 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.8356, allocations: 370.8 kB / 0.9649 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004613/0.836, allocations: 188.8 kB / 0.9651 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005526/0.8366, allocations: 316.1 kB / 0.9654 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009724/0.8376, allocations: 0.5491 MB / 0.9659 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.8376, allocations: 4 kB / 0.9659 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001282/0.8389, allocations: 0.6564 MB / 0.9665 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.502e-05/0.839, allocations: 59.41 kB / 0.9666 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-06/0.839, allocations: 4 kB / 0.9666 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.705e-05/0.839, allocations: 13.81 kB / 0.9666 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004343/0.8394, allocations: 95.81 kB / 0.9667 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.399e-05/0.8395, allocations: 4 kB / 0.9667 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005007/0.84, allocations: 79.58 kB / 0.9668 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.875e-05/0.84, allocations: 28.05 kB / 0.9668 GB, free: 5.098 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.0002404/0.8403, allocations: 194.3 kB / 0.967 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.439e-05/0.8404, allocations: 55.61 kB / 0.9671 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001145/0.8415, allocations: 0.5401 MB / 0.9676 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.8415, allocations: 7.984 kB / 0.9676 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.8416, allocations: 0 / 0.9676 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.8416, allocations: 0 / 0.9676 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00216/0.8437, allocations: 1.354 MB / 0.9689 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.8437, allocations: 7.938 kB / 0.9689 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003661/0.8441, allocations: 75.83 kB / 0.969 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.214e-06/0.8441, allocations: 4 kB / 0.969 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.618e-05/0.8442, allocations: 15.98 kB / 0.969 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.8442, allocations: 4.438 kB / 0.969 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/0.8442, allocations: 11.94 kB / 0.969 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001642/0.8458, allocations: 0.933 MB / 0.9699 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002055/0.8461, allocations: 180.6 kB / 0.9701 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.224e-05/0.8461, allocations: 16.88 kB / 0.9701 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004059/0.8466, allocations: 36.02 kB / 0.9702 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001423/0.8467, allocations: 47.83 kB / 0.9702 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-05/0.8468, allocations: 19.98 kB / 0.9702 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0004526/0.8472, allocations: 346.8 kB / 0.9706 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.91e-07/0.8472, allocations: 0 / 0.9706 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0005981/0.8478, allocations: 151.8 kB / 0.9707 GB, free: 0.9297 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.0005484/0.8484, allocations: 205.4 kB / 0.9709 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001265/0.8497, allocations: 0.5881 MB / 0.9715 GB, free: 120 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.8497, allocations: 0 / 0.9715 GB, free: 120 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000748/0.8504, allocations: 293.8 kB / 0.9718 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001418/0.8519, allocations: 284 kB / 0.972 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00201/0.8539, allocations: 1.052 MB / 0.9731 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005009/0.8544, allocations: 0.8665 MB / 0.9739 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004659/0.8549, allocations: 128.7 kB / 0.974 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001481/0.855, allocations: 39.44 kB / 0.9741 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of SimCode: time 2.8e-07/0.855, allocations: 4 kB / 0.9741 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of Templates: time 0.01842/0.8735, allocations: 10.84 MB / 0.9846 GB, free: 2.727 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)