Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly") translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008414/0.0008414, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.0008849/0.0008849, allocations: 168.7 kB / 15.95 MB, free: 200 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.165/1.165, allocations: 223.2 MB / 240 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6602/0.6602, allocations: 132.4 MB / 423.4 MB, free: 2.039 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002629/0.0002629, allocations: 8 kB / 0.5034 GB, free: 4.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.3202, allocations: 81.57 MB / 0.5831 GB, free: 3.965 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.1613/0.4816, allocations: 176.3 MB / 0.7553 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007095/0.4888, allocations: 4.9 MB / 0.76 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001007/0.4898, allocations: 39.69 kB / 0.7601 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001483/0.4913, allocations: 0.618 MB / 0.7607 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004732/0.496, allocations: 1.884 MB / 0.7625 GB, free: 8.324 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002291/0.4984, allocations: 0.906 MB / 0.7634 GB, free: 7.426 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003306/0.5017, allocations: 3.007 MB / 0.7663 GB, free: 4.41 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001245/0.5029, allocations: 0.7295 MB / 0.7671 GB, free: 3.672 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001812/0.5048, allocations: 0.9883 MB / 0.768 GB, free: 2.68 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001389/0.5062, allocations: 0.9301 MB / 0.7689 GB, free: 1.746 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001479/0.5063, allocations: 44 kB / 0.769 GB, free: 1.703 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002127/0.5084, allocations: 0.9275 MB / 0.7699 GB, free: 0.7734 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003853/0.5088, allocations: 402.7 kB / 0.7703 GB, free: 388 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003595/0.5092, allocations: 269 kB / 0.7705 GB, free: 112 kB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00154/0.5108, allocations: 1.36 MB / 0.7719 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.5108, allocations: 0 / 0.7719 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5108, allocations: 0 / 0.7719 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.826e-05/0.5108, allocations: 4 kB / 0.7719 GB, free: 14.74 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.004025/0.5149, allocations: 1.682 MB / 0.7735 GB, free: 13 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.5149, allocations: 12.02 kB / 0.7735 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003515/0.5184, allocations: 0.7473 MB / 0.7742 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00113/0.5196, allocations: 0.8523 MB / 0.7751 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.815e-05/0.5196, allocations: 62 kB / 0.7751 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001386/0.5198, allocations: 91.98 kB / 0.7752 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002535/0.5223, allocations: 1.476 MB / 0.7767 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/0.5223, allocations: 8 kB / 0.7767 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.825e-05/0.5224, allocations: 32 kB / 0.7767 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.76e-05/0.5225, allocations: 45.98 kB / 0.7767 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003372/0.5259, allocations: 1.588 MB / 0.7783 GB, free: 7.977 MB / 0.6075 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.005329/0.5312, allocations: 5.027 MB / 0.7832 GB, free: 2.688 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002772/0.534, allocations: 1.232 MB / 0.7844 GB, free: 1.449 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001424/0.5354, allocations: 0.678 MB / 0.7851 GB, free: 0.7695 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001076/0.5365, allocations: 0.9605 MB / 0.786 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001513/0.538, allocations: 0.738 MB / 0.7867 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=82): time 2.265e-06/0.538, allocations: 0 / 0.7867 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of matching and sorting (n=82): time 0.004758/0.5428, allocations: 1.983 MB / 0.7887 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/0.5429, allocations: 60.06 kB / 0.7887 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001191/0.544, allocations: 1.255 MB / 0.7899 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.679e-05/0.5441, allocations: 49.64 kB / 0.79 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003751/0.5445, allocations: 0.5755 MB / 0.7906 GB, free: 10.92 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001935/0.5447, allocations: 272 kB / 0.7908 GB, free: 10.65 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.801e-05/0.5448, allocations: 24 kB / 0.7908 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.946e-05/0.5449, allocations: 341.9 kB / 0.7912 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001322/0.5462, allocations: 0.5639 MB / 0.7917 GB, free: 9.715 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001473/0.5477, allocations: 0.817 MB / 0.7925 GB, free: 8.801 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001345/0.549, allocations: 0.6196 MB / 0.7931 GB, free: 8.184 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.5491, allocations: 0 / 0.7931 GB, free: 8.184 MB / 0.6231 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003097/0.5522, allocations: 1.531 MB / 0.7946 GB, free: 6.645 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.5522, allocations: 12.12 kB / 0.7946 GB, free: 6.633 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.5522, allocations: 11.94 kB / 0.7946 GB, free: 6.621 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.5522, allocations: 12 kB / 0.7946 GB, free: 6.609 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001214/0.5535, allocations: 299.6 kB / 0.7949 GB, free: 6.316 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.621e-05/0.5535, allocations: 15.92 kB / 0.7949 GB, free: 6.301 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001053/0.5545, allocations: 222.7 kB / 0.7952 GB, free: 6.082 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.337e-05/0.5546, allocations: 55.97 kB / 0.7952 GB, free: 6.027 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 117 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003878/0.555, allocations: 333.3 kB / 0.7955 GB, free: 5.695 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001546/0.5552, allocations: 142.3 kB / 0.7957 GB, free: 5.555 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003243/0.5584, allocations: 1.468 MB / 0.7971 GB, free: 4.078 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.5584, allocations: 8 kB / 0.7971 GB, free: 4.07 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.5585, allocations: 4 kB / 0.7971 GB, free: 4.066 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.5585, allocations: 3.984 kB / 0.7971 GB, free: 4.062 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004736/0.5632, allocations: 2.889 MB / 0.7999 GB, free: 1.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.062e-06/0.5632, allocations: 4 kB / 0.7999 GB, free: 1.066 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001056/0.5643, allocations: 236.2 kB / 0.8002 GB, free: 0.8359 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.656e-06/0.5643, allocations: 4 kB / 0.8002 GB, free: 0.832 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.012e-05/0.5644, allocations: 31.97 kB / 0.8002 GB, free: 0.8008 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.157e-06/0.5644, allocations: 11.94 kB / 0.8002 GB, free: 0.7891 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.5644, allocations: 4 kB / 0.8002 GB, free: 0.7852 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004509/0.5689, allocations: 2.338 MB / 0.8025 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003924/0.5693, allocations: 315 kB / 0.8028 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000156/0.5695, allocations: 23.98 kB / 0.8028 GB, free: 14.03 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009137/0.5704, allocations: 127.9 kB / 0.8029 GB, free: 13.9 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/0.5705, allocations: 64.39 kB / 0.803 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.066e-05/0.5706, allocations: 39.97 kB / 0.803 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0009083/0.5715, allocations: 0.8645 MB / 0.8039 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5715, allocations: 0 / 0.8039 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008322/0.5724, allocations: 319.7 kB / 0.8042 GB, free: 12.62 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001062/0.5734, allocations: 0.5249 MB / 0.8047 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002936/0.5764, allocations: 1.323 MB / 0.806 GB, free: 10.97 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.5764, allocations: 0 / 0.806 GB, free: 10.97 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001445/0.5779, allocations: 0.6677 MB / 0.8066 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00222/0.5801, allocations: 0.586 MB / 0.8072 GB, free: 9.727 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004027/0.5841, allocations: 2.939 MB / 0.8101 GB, free: 6.703 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000623/0.5848, allocations: 1.175 MB / 0.8112 GB, free: 5.5 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001231/0.586, allocations: 354.2 kB / 0.8116 GB, free: 5.152 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003359/0.5863, allocations: 115.4 kB / 0.8117 GB, free: 5.039 MB / 0.6387 GB Notification: Performance of SimCode: time 3.8e-07/0.5864, allocations: 0 / 0.8117 GB, free: 5.039 MB / 0.6387 GB Notification: Performance of Templates: time 0.2399/0.8263, allocations: 21.36 MB / 0.8325 GB, free: 212.2 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.makefile (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)