Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.00147/0.00147, allocations: 106.2 kB / 16.94 MB, free: 6.16 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.00142/0.00142, allocations: 185.3 kB / 17.86 MB, free: 5.297 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.446/1.446, allocations: 222.9 MB / 241.6 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8121/0.8121, allocations: 125.4 MB / 417.1 MB, free: 13.61 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 71.88 kB / 0.4948 GB, free: 4.406 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4048/0.4068, allocations: 78.56 MB / 0.5715 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2216/0.6285, allocations: 181.8 MB / 0.749 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3667/0.9952, allocations: 4.447 MB / 0.7534 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007679/0.996, allocations: 23.16 kB / 0.7534 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007307/0.9968, allocations: 248.4 kB / 0.7536 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002092/0.9989, allocations: 0.7469 MB / 0.7544 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003896/1.003, allocations: 1.513 MB / 0.7559 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002164/1.005, allocations: 1.243 MB / 0.7571 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008886/1.006, allocations: 447 kB / 0.7575 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002123/1.008, allocations: 0.7876 MB / 0.7583 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007101/1.009, allocations: 395 kB / 0.7586 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000144/1.009, allocations: 46.38 kB / 0.7587 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00358/1.013, allocations: 1.531 MB / 0.7602 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003069/1.013, allocations: 184.1 kB / 0.7604 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005307/1.013, allocations: 309.6 kB / 0.7606 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003272/1.017, allocations: 1.291 MB / 0.7619 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/1.017, allocations: 4.656 kB / 0.7619 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.613e-06/1.017, allocations: 0.8438 kB / 0.7619 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.434e-05/1.017, allocations: 0.9688 kB / 0.7619 GB, free: 1.656 MB / 0.5762 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.002365/1.019, allocations: 1.014 MB / 0.7629 GB, free: 17 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/1.019, allocations: 11.78 kB / 0.7629 GB, free: 17 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002168/1.021, allocations: 285.4 kB / 0.7632 GB, free: 16.96 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008194/1.022, allocations: 444.8 kB / 0.7636 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.543e-05/1.022, allocations: 33 kB / 0.7636 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.349e-05/1.022, allocations: 44.77 kB / 0.7637 GB, free: 16.7 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001042/1.023, allocations: 0.5502 MB / 0.7642 GB, free: 16.59 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/1.023, allocations: 6.25 kB / 0.7642 GB, free: 16.59 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.16e-05/1.023, allocations: 18.75 kB / 0.7642 GB, free: 16.59 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.357e-05/1.023, allocations: 10.97 kB / 0.7643 GB, free: 16.59 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001074/1.025, allocations: 454.1 kB / 0.7647 GB, free: 16.59 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002646/1.027, allocations: 2.135 MB / 0.7668 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008658/1.028, allocations: 404 kB / 0.7672 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004398/1.029, allocations: 227.1 kB / 0.7674 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007323/1.029, allocations: 396 kB / 0.7678 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006279/1.03, allocations: 292.9 kB / 0.768 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=37): time 1.963e-06/1.03, allocations: 1.094 kB / 0.768 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of matching and sorting (n=37): time 0.001899/1.032, allocations: 0.693 MB / 0.7687 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.601e-05/1.032, allocations: 59.61 kB / 0.7688 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006522/1.033, allocations: 0.4892 MB / 0.7692 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.917e-05/1.033, allocations: 36.86 kB / 0.7693 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002005/1.033, allocations: 260.4 kB / 0.7695 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/1.033, allocations: 125.9 kB / 0.7697 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001568/1.033, allocations: 90.69 kB / 0.7697 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000182/1.033, allocations: 363.6 kB / 0.7701 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004984/1.034, allocations: 193.7 kB / 0.7703 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00058/1.034, allocations: 317.3 kB / 0.7706 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001054/1.035, allocations: 0.5431 MB / 0.7711 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/1.035, allocations: 2.156 kB / 0.7711 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001388/1.037, allocations: 0.6464 MB / 0.7717 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.194e-05/1.037, allocations: 65.95 kB / 0.7718 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/1.037, allocations: 3.094 kB / 0.7718 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/1.037, allocations: 5.75 kB / 0.7718 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004792/1.037, allocations: 99.64 kB / 0.7719 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/1.038, allocations: 5.938 kB / 0.7719 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005872/1.038, allocations: 80.84 kB / 0.772 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.446e-05/1.038, allocations: 23.53 kB / 0.772 GB, free: 13.55 MB / 0.5919 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.0003043/1.038, allocations: 196.9 kB / 0.7722 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.588e-05/1.039, allocations: 56.44 kB / 0.7722 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001261/1.04, allocations: 0.5322 MB / 0.7728 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.251e-06/1.04, allocations: 4.438 kB / 0.7728 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/1.04, allocations: 2.062 kB / 0.7728 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/1.04, allocations: 6.891 kB / 0.7728 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002153/1.042, allocations: 1.35 MB / 0.7741 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/1.042, allocations: 5.344 kB / 0.7741 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003972/1.042, allocations: 77.83 kB / 0.7742 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-06/1.042, allocations: 4.469 kB / 0.7742 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.969e-05/1.043, allocations: 11.22 kB / 0.7742 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.763e-06/1.043, allocations: 7.75 kB / 0.7742 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/1.043, allocations: 13.75 kB / 0.7742 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001587/1.044, allocations: 0.931 MB / 0.7751 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002604/1.044, allocations: 173.6 kB / 0.7753 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.225e-05/1.044, allocations: 18.34 kB / 0.7753 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000427/1.045, allocations: 32.62 kB / 0.7753 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/1.045, allocations: 52.66 kB / 0.7754 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.977e-05/1.045, allocations: 18.42 kB / 0.7754 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003907/1.045, allocations: 344.7 kB / 0.7757 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.61e-07/1.045, allocations: 0.9375 kB / 0.7757 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006318/1.046, allocations: 153.2 kB / 0.7759 GB, free: 12.4 MB / 0.5919 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.0004254/1.047, allocations: 197.2 kB / 0.7761 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001149/1.048, allocations: 0.6004 MB / 0.7767 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/1.048, allocations: 1.969 kB / 0.7767 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005403/1.048, allocations: 267.5 kB / 0.7769 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001317/1.05, allocations: 281.7 kB / 0.7772 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002404/1.052, allocations: 1.105 MB / 0.7783 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006764/1.053, allocations: 0.8659 MB / 0.7791 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002704/1.053, allocations: 45.67 kB / 0.7791 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of SimCode: time 1.353e-06/1.053, allocations: 0 / 0.7791 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of Templates: time 0.01565/1.069, allocations: 9.01 MB / 0.7879 GB, free: 10.23 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)