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.001623/0.001623, allocations: 105.4 kB / 15.98 MB, free: 6.348 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.001788/0.001787, allocations: 195 kB / 16.91 MB, free: 6.18 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.512/1.512, allocations: 222.9 MB / 240.6 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8218/0.8218, allocations: 122.9 MB / 413.6 MB, free: 15.96 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 71.88 kB / 0.4906 GB, free: 7.723 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4363/0.4377, allocations: 77.92 MB / 0.5667 GB, free: 33.04 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2256/0.6634, allocations: 179.4 MB / 0.7419 GB, free: 7.137 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007104/0.6705, allocations: 4.424 MB / 0.7462 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008086/0.6714, allocations: 15.88 kB / 0.7462 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007871/0.6722, allocations: 206.7 kB / 0.7464 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002117/0.6743, allocations: 0.7039 MB / 0.7471 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004282/0.6786, allocations: 1.419 MB / 0.7485 GB, free: 372 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.5145/1.193, allocations: 1.252 MB / 0.7497 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001107/1.194, allocations: 431.8 kB / 0.7501 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00162/1.196, allocations: 0.5763 MB / 0.7507 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008725/1.197, allocations: 424.4 kB / 0.7511 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001896/1.197, allocations: 45.44 kB / 0.7512 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003234/1.2, allocations: 1.606 MB / 0.7527 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003647/1.201, allocations: 188.3 kB / 0.7529 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008264/1.202, allocations: 306.9 kB / 0.7532 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003783/1.205, allocations: 1.402 MB / 0.7546 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/1.205, allocations: 0.5312 kB / 0.7546 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.693e-06/1.205, allocations: 0.6875 kB / 0.7546 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.16e-05/1.205, allocations: 1.531 kB / 0.7546 GB, free: 3.055 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.003624/1.209, allocations: 1.02 MB / 0.7556 GB, free: 18.4 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/1.209, allocations: 10.5 kB / 0.7556 GB, free: 18.4 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002605/1.212, allocations: 284.6 kB / 0.7558 GB, free: 18.37 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001103/1.213, allocations: 444.9 kB / 0.7563 GB, free: 18.11 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.23e-05/1.213, allocations: 36.77 kB / 0.7563 GB, free: 18.11 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001284/1.213, allocations: 47.31 kB / 0.7564 GB, free: 18.11 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001288/1.214, allocations: 0.5426 MB / 0.7569 GB, free: 18 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/1.214, allocations: 0.8438 kB / 0.7569 GB, free: 18 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.754e-05/1.214, allocations: 19.03 kB / 0.7569 GB, free: 18 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.877e-05/1.214, allocations: 11.69 kB / 0.7569 GB, free: 18 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001179/1.216, allocations: 461.7 kB / 0.7574 GB, free: 18 MB / 0.5919 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.003247/1.219, allocations: 2.12 MB / 0.7594 GB, free: 16.75 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001124/1.22, allocations: 412.6 kB / 0.7598 GB, free: 16.72 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005415/1.221, allocations: 225.3 kB / 0.76 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000734/1.221, allocations: 401.3 kB / 0.7604 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007048/1.222, allocations: 292.7 kB / 0.7607 GB, free: 16.28 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=37): time 2.074e-06/1.222, allocations: 0.9375 kB / 0.7607 GB, free: 16.28 MB / 0.5919 GB Notification: Performance of matching and sorting (n=37): time 0.001938/1.224, allocations: 0.6865 MB / 0.7614 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/1.224, allocations: 56.97 kB / 0.7614 GB, free: 16.15 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007446/1.225, allocations: 0.4907 MB / 0.7619 GB, free: 16.02 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.335e-05/1.225, allocations: 33.59 kB / 0.7619 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002167/1.225, allocations: 265.1 kB / 0.7622 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001263/1.225, allocations: 121.3 kB / 0.7623 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001804/1.225, allocations: 93.31 kB / 0.7624 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002308/1.226, allocations: 363.6 kB / 0.7627 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005308/1.226, allocations: 199.7 kB / 0.7629 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006191/1.227, allocations: 317 kB / 0.7632 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001091/1.228, allocations: 0.5421 MB / 0.7638 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.349e-06/1.228, allocations: 2 kB / 0.7638 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001469/1.229, allocations: 0.6535 MB / 0.7644 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.369e-05/1.229, allocations: 61.09 kB / 0.7645 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/1.229, allocations: 6.75 kB / 0.7645 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/1.229, allocations: 6.734 kB / 0.7645 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004507/1.23, allocations: 97.66 kB / 0.7646 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/1.23, allocations: 9.031 kB / 0.7646 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006447/1.231, allocations: 85.47 kB / 0.7647 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.798e-05/1.231, allocations: 22.55 kB / 0.7647 GB, free: 14.95 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.0002206/1.231, allocations: 197.5 kB / 0.7649 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.489e-05/1.231, allocations: 54.23 kB / 0.7649 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001166/1.232, allocations: 0.5293 MB / 0.7654 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/1.232, allocations: 3.188 kB / 0.7654 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/1.232, allocations: 2.062 kB / 0.7654 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/1.232, allocations: 5.953 kB / 0.7654 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002335/1.235, allocations: 1.353 MB / 0.7668 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/1.235, allocations: 2.688 kB / 0.7668 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004006/1.235, allocations: 76.42 kB / 0.7668 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.905e-06/1.235, allocations: 5.969 kB / 0.7668 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.384e-05/1.235, allocations: 14.05 kB / 0.7669 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.125e-06/1.235, allocations: 8.219 kB / 0.7669 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/1.235, allocations: 4.25 kB / 0.7669 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001618/1.237, allocations: 0.9401 MB / 0.7678 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002238/1.237, allocations: 172.8 kB / 0.768 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.763e-05/1.237, allocations: 18.22 kB / 0.768 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004693/1.237, allocations: 41.55 kB / 0.768 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/1.238, allocations: 54.27 kB / 0.7681 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-05/1.238, allocations: 18.55 kB / 0.7681 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004955/1.238, allocations: 346.8 kB / 0.7684 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.61e-07/1.238, allocations: 0 / 0.7684 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006548/1.239, allocations: 147.8 kB / 0.7685 GB, free: 13.81 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.0004/1.239, allocations: 205.8 kB / 0.7687 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001271/1.241, allocations: 0.5905 MB / 0.7693 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/1.241, allocations: 0.5938 kB / 0.7693 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006584/1.241, allocations: 294.3 kB / 0.7696 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001311/1.243, allocations: 290.5 kB / 0.7699 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001709/1.244, allocations: 1.217 MB / 0.7711 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004612/1.245, allocations: 0.8655 MB / 0.7719 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005443/1.245, allocations: 128 kB / 0.772 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001421/1.245, allocations: 44.75 kB / 0.7721 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of SimCode: time 3.31e-07/1.245, allocations: 0.8438 kB / 0.7721 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of Templates: time 0.01765/1.263, allocations: 10.61 MB / 0.7824 GB, free: 11.67 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)