Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0012/0.001201, allocations: 107 kB / 16.41 MB, free: 6.504 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.001231/0.001231, allocations: 188 kB / 17.34 MB, free: 5.738 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.388/1.388, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8354/0.8354, allocations: 135.2 MB / 426.4 MB, free: 4.074 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002022/0.002022, allocations: 76.34 kB / 0.5864 GB, free: 21.45 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1553, allocations: 80.92 MB / 0.6654 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.5866/0.7419, allocations: 193.8 MB / 0.8547 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01069/0.7526, allocations: 5.142 MB / 0.8597 GB, free: 6.223 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002089/0.7548, allocations: 47.09 kB / 0.8598 GB, free: 6.203 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002282/0.7571, allocations: 0.8366 MB / 0.8606 GB, free: 5.578 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00725/0.7644, allocations: 2.683 MB / 0.8632 GB, free: 3.586 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003126/0.7676, allocations: 1.118 MB / 0.8643 GB, free: 2.75 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004226/0.7718, allocations: 2.689 MB / 0.8669 GB, free: 0.6992 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001651/0.7735, allocations: 0.9328 MB / 0.8678 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002461/0.7759, allocations: 1.152 MB / 0.869 GB, free: 14.6 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001612/0.7776, allocations: 0.9885 MB / 0.8699 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001785/0.7778, allocations: 95.92 kB / 0.87 GB, free: 13.51 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003894/0.7817, allocations: 1.8 MB / 0.8718 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005679/0.7822, allocations: 446.6 kB / 0.8722 GB, free: 11.27 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0008743/0.7831, allocations: 0.6643 MB / 0.8729 GB, free: 10.6 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004413/0.7876, allocations: 2.246 MB / 0.8751 GB, free: 8.348 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.7876, allocations: 0 / 0.8751 GB, free: 8.348 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.144e-06/0.7876, allocations: 0 / 0.8751 GB, free: 8.348 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.235e-05/0.7876, allocations: 0 / 0.8751 GB, free: 8.348 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.005617/0.7932, allocations: 2.01 MB / 0.877 GB, free: 6.277 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.7933, allocations: 9.109 kB / 0.877 GB, free: 6.27 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00551/0.7988, allocations: 0.9002 MB / 0.8779 GB, free: 5.367 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00196/0.8008, allocations: 0.985 MB / 0.8789 GB, free: 4.328 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.78e-05/0.8009, allocations: 69.98 kB / 0.8789 GB, free: 4.258 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001922/0.8011, allocations: 95.98 kB / 0.879 GB, free: 4.164 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003894/0.805, allocations: 1.587 MB / 0.8806 GB, free: 2.547 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.222e-05/0.805, allocations: 0 / 0.8806 GB, free: 2.547 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001207/0.8052, allocations: 36 kB / 0.8806 GB, free: 2.512 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-05/0.8052, allocations: 49.98 kB / 0.8807 GB, free: 2.461 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005409/0.8107, allocations: 1.846 MB / 0.8825 GB, free: 0.6172 MB / 0.6387 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.008384/0.8191, allocations: 4.743 MB / 0.8871 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004583/0.8237, allocations: 1.568 MB / 0.8886 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002417/0.8261, allocations: 0.8468 MB / 0.8895 GB, free: 9.215 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001463/0.8276, allocations: 0.9452 MB / 0.8904 GB, free: 8.086 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002587/0.8302, allocations: 0.9114 MB / 0.8913 GB, free: 7.16 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=95): time 3.406e-06/0.8302, allocations: 0 / 0.8913 GB, free: 7.16 MB / 0.6544 GB Notification: Performance of matching and sorting (n=95): time 0.008052/0.8383, allocations: 2.459 MB / 0.8937 GB, free: 4.695 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.759e-05/0.8384, allocations: 68.41 kB / 0.8937 GB, free: 4.617 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001657/0.84, allocations: 1.197 MB / 0.8949 GB, free: 3.41 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001277/0.8402, allocations: 45.7 kB / 0.8949 GB, free: 3.359 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005161/0.8407, allocations: 0.5454 MB / 0.8955 GB, free: 2.809 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003474/0.841, allocations: 341.1 kB / 0.8958 GB, free: 2.473 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004182/0.8415, allocations: 186.6 kB / 0.896 GB, free: 2.281 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.8417, allocations: 341.9 kB / 0.8963 GB, free: 1.941 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002246/0.8439, allocations: 0.7045 MB / 0.897 GB, free: 1.238 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002424/0.8463, allocations: 0.9112 MB / 0.8979 GB, free: 268 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004532/0.8509, allocations: 1.554 MB / 0.8994 GB, free: 14.65 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/0.8509, allocations: 7.938 kB / 0.8994 GB, free: 14.64 MB / 0.67 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005296/0.8562, allocations: 1.786 MB / 0.9012 GB, free: 12.85 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.181e-05/0.8563, allocations: 10.02 kB / 0.9012 GB, free: 12.84 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/0.8563, allocations: 4 kB / 0.9012 GB, free: 12.84 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.946e-05/0.8563, allocations: 12 kB / 0.9012 GB, free: 12.83 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001781/0.8581, allocations: 339.7 kB / 0.9015 GB, free: 12.5 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.943e-05/0.8582, allocations: 13.8 kB / 0.9015 GB, free: 12.48 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001664/0.8598, allocations: 239 kB / 0.9017 GB, free: 12.25 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00012/0.86, allocations: 47.97 kB / 0.9018 GB, free: 12.2 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * 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.0006593/0.8606, allocations: 335.7 kB / 0.9021 GB, free: 11.87 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002507/0.8609, allocations: 139.1 kB / 0.9022 GB, free: 11.73 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005353/0.8662, allocations: 1.81 MB / 0.904 GB, free: 9.91 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/0.8663, allocations: 11.98 kB / 0.904 GB, free: 9.898 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/0.8663, allocations: 0 / 0.904 GB, free: 9.898 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.235e-05/0.8663, allocations: 7.922 kB / 0.904 GB, free: 9.891 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007787/0.8741, allocations: 3.332 MB / 0.9073 GB, free: 6.449 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.095e-05/0.8742, allocations: 4 kB / 0.9073 GB, free: 6.445 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001643/0.8758, allocations: 287.9 kB / 0.9076 GB, free: 6.164 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-05/0.8758, allocations: 8 kB / 0.9076 GB, free: 6.156 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.932e-05/0.8759, allocations: 31.97 kB / 0.9076 GB, free: 6.125 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-05/0.876, allocations: 11.98 kB / 0.9076 GB, free: 6.113 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.466e-05/0.876, allocations: 11.94 kB / 0.9076 GB, free: 6.102 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007711/0.8837, allocations: 2.852 MB / 0.9104 GB, free: 3.188 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007398/0.8845, allocations: 323.9 kB / 0.9107 GB, free: 2.852 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002079/0.8847, allocations: 24 kB / 0.9107 GB, free: 2.828 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001363/0.8861, allocations: 163.8 kB / 0.9109 GB, free: 2.668 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001646/0.8862, allocations: 68.45 kB / 0.911 GB, free: 2.602 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001083/0.8863, allocations: 43.97 kB / 0.911 GB, free: 2.559 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001128/0.8875, allocations: 0.8392 MB / 0.9118 GB, free: 1.715 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8875, allocations: 4 kB / 0.9118 GB, free: 1.711 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.00107/0.8886, allocations: 335.7 kB / 0.9121 GB, free: 1.383 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,heaCooUnl.Xi) * 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 (95): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.001861/0.8904, allocations: 0.5307 MB / 0.9127 GB, free: 1.016 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.005121/0.8956, allocations: 1.63 MB / 0.9143 GB, free: 15.38 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 9.328e-06/0.8956, allocations: 0 / 0.9143 GB, free: 15.38 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002546/0.8982, allocations: 0.8476 MB / 0.9151 GB, free: 14.54 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002878/0.9011, allocations: 0.6143 MB / 0.9157 GB, free: 13.94 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006593/0.9077, allocations: 3.015 MB / 0.9186 GB, free: 10.84 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008841/0.9086, allocations: 1.183 MB / 0.9198 GB, free: 9.625 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001526/0.9101, allocations: 362 kB / 0.9201 GB, free: 9.27 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004635/0.9106, allocations: 111.4 kB / 0.9202 GB, free: 9.16 MB / 0.6856 GB Notification: Performance of SimCode: time 2.645e-06/0.9106, allocations: 3.938 kB / 0.9202 GB, free: 9.156 MB / 0.6856 GB Notification: Performance of Templates: time 0.04339/0.954, allocations: 24.02 MB / 0.9437 GB, free: 1.387 MB / 0.7012 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)