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.001309/0.001309, allocations: 108.8 kB / 16.41 MB, free: 6.453 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.001229/0.001229, allocations: 189.2 kB / 17.34 MB, free: 5.703 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.464/1.464, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00256/0.00256, allocations: 290.9 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.037/1.037, allocations: 169.3 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002795/0.002795, allocations: 99.84 kB / 0.6821 GB, free: 6.93 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4793/0.4821, allocations: 86.98 MB / 0.7671 GB, free: 3.758 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2135/0.6956, allocations: 182.3 MB / 0.9451 GB, free: 12.8 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008315/0.704, allocations: 4.451 MB / 0.9494 GB, free: 8.344 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00132/0.7053, allocations: 19.88 kB / 0.9494 GB, free: 8.324 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001032/0.7063, allocations: 246.1 kB / 0.9497 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002509/0.7088, allocations: 0.797 MB / 0.9504 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00443/0.7132, allocations: 1.547 MB / 0.9519 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002133/0.7154, allocations: 1.262 MB / 0.9532 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006949/0.7161, allocations: 379.8 kB / 0.9535 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001278/0.7173, allocations: 0.5954 MB / 0.9541 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005493/0.7179, allocations: 410.3 kB / 0.9545 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.679e-05/0.718, allocations: 47.94 kB / 0.9546 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003127/0.7211, allocations: 1.551 MB / 0.9561 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.00024/0.7213, allocations: 195.3 kB / 0.9563 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003522/0.7217, allocations: 302.5 kB / 0.9565 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.4771/1.199, allocations: 1.319 MB / 0.9578 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/1.199, allocations: 0.8125 kB / 0.9578 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.625e-06/1.199, allocations: 0 / 0.9578 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.77e-05/1.199, allocations: 0.5938 kB / 0.9578 GB, free: 6.359 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.002364/1.201, allocations: 1.037 MB / 0.9588 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/1.201, allocations: 10.02 kB / 0.9589 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002385/1.204, allocations: 282.7 kB / 0.9591 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009987/1.205, allocations: 481.4 kB / 0.9596 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.247e-05/1.205, allocations: 31.14 kB / 0.9596 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001213/1.205, allocations: 46.5 kB / 0.9597 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001395/1.206, allocations: 0.5444 MB / 0.9602 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/1.206, allocations: 4.984 kB / 0.9602 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.355e-05/1.206, allocations: 16.53 kB / 0.9602 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.243e-05/1.206, allocations: 11.5 kB / 0.9602 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001278/1.208, allocations: 456.4 kB / 0.9607 GB, free: 5.277 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.002933/1.211, allocations: 2.122 MB / 0.9627 GB, free: 20.03 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/1.212, allocations: 400.8 kB / 0.9631 GB, free: 20 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005023/1.212, allocations: 214.8 kB / 0.9633 GB, free: 19.99 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000713/1.213, allocations: 397.4 kB / 0.9637 GB, free: 19.62 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006634/1.213, allocations: 290.4 kB / 0.964 GB, free: 19.57 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=37): time 2.675e-06/1.213, allocations: 0 / 0.964 GB, free: 19.57 MB / 0.7325 GB Notification: Performance of matching and sorting (n=37): time 0.002013/1.215, allocations: 0.6921 MB / 0.9646 GB, free: 19.5 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.069e-05/1.215, allocations: 60.69 kB / 0.9647 GB, free: 19.43 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006782/1.216, allocations: 497.6 kB / 0.9652 GB, free: 19.32 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.406e-05/1.216, allocations: 37.75 kB / 0.9652 GB, free: 19.29 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000201/1.216, allocations: 265.2 kB / 0.9655 GB, free: 19.15 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.359e-05/1.216, allocations: 128.4 kB / 0.9656 GB, free: 19.07 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001424/1.217, allocations: 91.95 kB / 0.9657 GB, free: 19.05 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001988/1.217, allocations: 363.8 kB / 0.966 GB, free: 18.74 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005038/1.217, allocations: 196.7 kB / 0.9662 GB, free: 18.74 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005756/1.218, allocations: 319.8 kB / 0.9665 GB, free: 18.64 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009912/1.219, allocations: 0.5507 MB / 0.9671 GB, free: 18.46 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/1.219, allocations: 0.9062 kB / 0.9671 GB, free: 18.46 MB / 0.7325 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001385/1.22, allocations: 0.6444 MB / 0.9677 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.02e-05/1.22, allocations: 66.36 kB / 0.9677 GB, free: 18.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.988e-06/1.22, allocations: 4.641 kB / 0.9678 GB, free: 18.27 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/1.22, allocations: 4.812 kB / 0.9678 GB, free: 18.27 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005018/1.221, allocations: 96.48 kB / 0.9679 GB, free: 18.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.323e-05/1.221, allocations: 8.609 kB / 0.9679 GB, free: 18.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006695/1.222, allocations: 80.97 kB / 0.9679 GB, free: 18.25 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.735e-05/1.222, allocations: 22.72 kB / 0.968 GB, free: 18.25 MB / 0.7325 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.0003441/1.222, allocations: 197.1 kB / 0.9681 GB, free: 18.12 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.089e-05/1.222, allocations: 55.55 kB / 0.9682 GB, free: 18.1 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001237/1.223, allocations: 0.5466 MB / 0.9687 GB, free: 18.04 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/1.223, allocations: 2.75 kB / 0.9687 GB, free: 18.04 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/1.223, allocations: 2.156 kB / 0.9687 GB, free: 18.04 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/1.223, allocations: 6.766 kB / 0.9687 GB, free: 18.04 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002512/1.226, allocations: 1.344 MB / 0.9701 GB, free: 17.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/1.226, allocations: 9.578 kB / 0.9701 GB, free: 17.61 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004361/1.226, allocations: 75.7 kB / 0.9701 GB, free: 17.61 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.848e-06/1.226, allocations: 5.594 kB / 0.9701 GB, free: 17.61 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.694e-05/1.226, allocations: 14.67 kB / 0.9702 GB, free: 17.61 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.155e-06/1.226, allocations: 5.531 kB / 0.9702 GB, free: 17.61 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/1.226, allocations: 5.906 kB / 0.9702 GB, free: 17.61 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00164/1.228, allocations: 0.9459 MB / 0.9711 GB, free: 17.32 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003199/1.228, allocations: 173.2 kB / 0.9713 GB, free: 17.19 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.373e-05/1.228, allocations: 15.06 kB / 0.9713 GB, free: 17.19 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004616/1.229, allocations: 32.05 kB / 0.9713 GB, free: 17.19 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/1.229, allocations: 55.72 kB / 0.9714 GB, free: 17.18 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.804e-05/1.229, allocations: 13.62 kB / 0.9714 GB, free: 17.18 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004388/1.229, allocations: 345.7 kB / 0.9717 GB, free: 17.1 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/1.229, allocations: 0.9375 kB / 0.9717 GB, free: 17.1 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007328/1.23, allocations: 158 kB / 0.9718 GB, free: 17.09 MB / 0.7325 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.0005153/1.231, allocations: 195.4 kB / 0.972 GB, free: 16.99 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00129/1.232, allocations: 0.5686 MB / 0.9726 GB, free: 16.87 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/1.232, allocations: 0.7188 kB / 0.9726 GB, free: 16.87 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006563/1.233, allocations: 281.6 kB / 0.9729 GB, free: 16.86 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001571/1.234, allocations: 285.8 kB / 0.9731 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001854/1.236, allocations: 1.059 MB / 0.9742 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005876/1.237, allocations: 0.87 MB / 0.975 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004939/1.237, allocations: 130.6 kB / 0.9751 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000146/1.237, allocations: 45.03 kB / 0.9752 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of SimCode: time 8.41e-07/1.237, allocations: 0 / 0.9752 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of Templates: time 0.01869/1.256, allocations: 10.89 MB / 0.9858 GB, free: 15.11 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)