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.0008771/0.0008773, allocations: 91.06 kB / 15.36 MB, free: 0.7383 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.004618/0.004618, allocations: 171.9 kB / 16.26 MB, free: 6.613 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.263/1.263, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8666/0.8666, allocations: 135.7 MB / 427.1 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002764/0.0002765, allocations: 11.94 kB / 0.5081 GB, free: 4.352 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1376, allocations: 82.4 MB / 0.5886 GB, free: 2.086 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.3783/0.516, allocations: 189 MB / 0.7731 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008129/0.5241, allocations: 5.142 MB / 0.7781 GB, free: 9.516 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007823/0.5249, allocations: 43.62 kB / 0.7782 GB, free: 9.473 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001509/0.5265, allocations: 0.7077 MB / 0.7789 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005285/0.5317, allocations: 2.459 MB / 0.7813 GB, free: 6.293 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002274/0.534, allocations: 0.9948 MB / 0.7823 GB, free: 5.309 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004213/0.5383, allocations: 3.607 MB / 0.7858 GB, free: 1.691 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00121/0.5395, allocations: 0.8476 MB / 0.7866 GB, free: 0.832 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001609/0.5411, allocations: 1.008 MB / 0.7876 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00118/0.5423, allocations: 0.9923 MB / 0.7886 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001024/0.5424, allocations: 48 kB / 0.7886 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003351/0.5458, allocations: 2.069 MB / 0.7906 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004334/0.5462, allocations: 410.6 kB / 0.791 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006451/0.5469, allocations: 0.6464 MB / 0.7916 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002853/0.5497, allocations: 2.243 MB / 0.7938 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.5497, allocations: 7.938 kB / 0.7938 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.332e-06/0.5497, allocations: 0 / 0.7938 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.062e-05/0.5497, allocations: 0 / 0.7938 GB, free: 9.387 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.004418/0.5542, allocations: 1.699 MB / 0.7955 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.5542, allocations: 12.03 kB / 0.7955 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005348/0.5596, allocations: 0.9268 MB / 0.7964 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001354/0.5609, allocations: 0.9097 MB / 0.7973 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.122e-05/0.561, allocations: 62 kB / 0.7974 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001915/0.5612, allocations: 99.97 kB / 0.7975 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003534/0.5647, allocations: 1.579 MB / 0.799 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.977e-05/0.5648, allocations: 0 / 0.799 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001233/0.5649, allocations: 39.97 kB / 0.799 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.809e-05/0.565, allocations: 53.97 kB / 0.7991 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005074/0.57, allocations: 1.838 MB / 0.8009 GB, free: 2.023 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.006973/0.577, allocations: 4.769 MB / 0.8055 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004272/0.5813, allocations: 1.58 MB / 0.8071 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002255/0.5836, allocations: 0.8586 MB / 0.8079 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001263/0.5848, allocations: 0.9569 MB / 0.8089 GB, free: 9.449 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002393/0.5872, allocations: 0.9066 MB / 0.8097 GB, free: 8.531 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=95): time 2.464e-06/0.5873, allocations: 3.938 kB / 0.8098 GB, free: 8.527 MB / 0.6231 GB Notification: Performance of matching and sorting (n=95): time 0.007405/0.5947, allocations: 2.443 MB / 0.8121 GB, free: 6.078 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.248e-05/0.5947, allocations: 72.34 kB / 0.8122 GB, free: 5.996 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001382/0.5961, allocations: 1.193 MB / 0.8134 GB, free: 4.793 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001029/0.5962, allocations: 45.7 kB / 0.8134 GB, free: 4.742 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004612/0.5967, allocations: 0.5409 MB / 0.8139 GB, free: 4.195 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000299/0.597, allocations: 331.3 kB / 0.8143 GB, free: 3.867 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000152/0.5972, allocations: 81.67 kB / 0.8143 GB, free: 3.781 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.5973, allocations: 349.9 kB / 0.8147 GB, free: 3.434 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002153/0.5995, allocations: 0.6889 MB / 0.8153 GB, free: 2.742 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002332/0.6018, allocations: 0.9113 MB / 0.8162 GB, free: 1.762 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004288/0.6061, allocations: 1.55 MB / 0.8177 GB, free: 160 kB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/0.6061, allocations: 3.984 kB / 0.8178 GB, free: 156 kB / 0.6231 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004815/0.611, allocations: 1.765 MB / 0.8195 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.611, allocations: 12.03 kB / 0.8195 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.611, allocations: 4 kB / 0.8195 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.611, allocations: 8 kB / 0.8195 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001676/0.6127, allocations: 347.5 kB / 0.8198 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.672e-05/0.6127, allocations: 11.94 kB / 0.8198 GB, free: 14 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001545/0.6143, allocations: 252.5 kB / 0.8201 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/0.6144, allocations: 51.97 kB / 0.8201 GB, free: 13.71 MB / 0.6387 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.0005394/0.615, allocations: 335.7 kB / 0.8205 GB, free: 13.37 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001902/0.6152, allocations: 142.2 kB / 0.8206 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005039/0.6202, allocations: 1.799 MB / 0.8223 GB, free: 11.42 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/0.6202, allocations: 12 kB / 0.8224 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.6202, allocations: 0 / 0.8224 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.6202, allocations: 3.984 kB / 0.8224 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006982/0.6272, allocations: 3.325 MB / 0.8256 GB, free: 7.98 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.6272, allocations: 4 kB / 0.8256 GB, free: 7.977 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001555/0.6288, allocations: 288.1 kB / 0.8259 GB, free: 7.695 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.04e-05/0.6288, allocations: 11.94 kB / 0.8259 GB, free: 7.684 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.467e-05/0.6289, allocations: 35.97 kB / 0.8259 GB, free: 7.648 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.877e-06/0.6289, allocations: 12 kB / 0.8259 GB, free: 7.637 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.6289, allocations: 4 kB / 0.8259 GB, free: 7.633 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007125/0.6361, allocations: 2.839 MB / 0.8287 GB, free: 4.727 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000478/0.6366, allocations: 331.2 kB / 0.829 GB, free: 4.383 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001686/0.6367, allocations: 23.94 kB / 0.8291 GB, free: 4.359 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001394/0.6381, allocations: 179.7 kB / 0.8292 GB, free: 4.184 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001475/0.6383, allocations: 72.44 kB / 0.8293 GB, free: 4.109 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.112e-05/0.6384, allocations: 43.97 kB / 0.8293 GB, free: 4.066 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001007/0.6394, allocations: 0.8276 MB / 0.8301 GB, free: 3.234 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6394, allocations: 3.938 kB / 0.8302 GB, free: 3.23 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009381/0.6404, allocations: 339.7 kB / 0.8305 GB, free: 2.898 MB / 0.6387 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.001679/0.642, allocations: 0.5306 MB / 0.831 GB, free: 2.562 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004716/0.6468, allocations: 1.615 MB / 0.8326 GB, free: 0.9492 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.6468, allocations: 0 / 0.8326 GB, free: 0.9492 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002328/0.6491, allocations: 0.836 MB / 0.8334 GB, free: 120 kB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003273/0.6524, allocations: 0.5929 MB / 0.834 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006349/0.6588, allocations: 3.521 MB / 0.8374 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008697/0.6597, allocations: 1.179 MB / 0.8386 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001494/0.6612, allocations: 366 kB / 0.8389 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004487/0.6616, allocations: 115.4 kB / 0.839 GB, free: 10.26 MB / 0.6544 GB Notification: Performance of SimCode: time 5.81e-07/0.6616, allocations: 4 kB / 0.839 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of Templates: time 0.03733/0.699, allocations: 22.58 MB / 0.8611 GB, free: 3.941 MB / 0.67 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)