Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007035/0.007035, allocations: 100.2 kB / 15.87 MB, free: 6.332 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.00169/0.001691, allocations: 199 kB / 16.79 MB, free: 6.258 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.391/1.391, allocations: 222.9 MB / 240.5 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.027/1.027, allocations: 135.1 MB / 425.8 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 67.64 kB / 0.5053 GB, free: 5.734 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.175/0.1763, allocations: 80.92 MB / 0.5843 GB, free: 4.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.3739/0.5502, allocations: 29.15 MB / 0.6128 GB, free: 35.55 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01065/0.5609, allocations: 6.913 MB / 0.6196 GB, free: 35.05 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00194/0.5629, allocations: 41.44 kB / 0.6196 GB, free: 35.04 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001695/0.5647, allocations: 0.6019 MB / 0.6202 GB, free: 34.86 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004346/0.569, allocations: 1.347 MB / 0.6215 GB, free: 34.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003049/0.5721, allocations: 1.043 MB / 0.6225 GB, free: 33.63 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003755/0.5758, allocations: 3.22 MB / 0.6257 GB, free: 32.46 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001142/0.577, allocations: 0.7259 MB / 0.6264 GB, free: 32.18 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001733/0.5787, allocations: 0.9333 MB / 0.6273 GB, free: 31.79 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009576/0.5797, allocations: 0.8351 MB / 0.6281 GB, free: 31.46 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001136/0.5798, allocations: 43.16 kB / 0.6281 GB, free: 31.46 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002043/0.5819, allocations: 0.7629 MB / 0.6289 GB, free: 31.17 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002417/0.5821, allocations: 258.7 kB / 0.6291 GB, free: 31.05 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005402/0.5827, allocations: 0.5355 MB / 0.6297 GB, free: 30.73 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001387/0.5841, allocations: 1.127 MB / 0.6308 GB, free: 30.37 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.5841, allocations: 0 / 0.6308 GB, free: 30.37 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.605e-06/0.5841, allocations: 2.844 kB / 0.6308 GB, free: 30.37 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.335e-05/0.5841, allocations: 3.938 kB / 0.6308 GB, free: 30.37 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.002555/0.5867, allocations: 1.565 MB / 0.6323 GB, free: 29.31 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.5867, allocations: 12.34 kB / 0.6323 GB, free: 29.3 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003331/0.5901, allocations: 0.5816 MB / 0.6329 GB, free: 29.21 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001169/0.5913, allocations: 0.8119 MB / 0.6337 GB, free: 28.7 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.519e-05/0.5913, allocations: 60 kB / 0.6337 GB, free: 28.66 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001201/0.5915, allocations: 74.38 kB / 0.6338 GB, free: 28.64 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002193/0.5937, allocations: 1.101 MB / 0.6349 GB, free: 28.12 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/0.5937, allocations: 6.75 kB / 0.6349 GB, free: 28.12 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.551e-05/0.5938, allocations: 35.95 kB / 0.6349 GB, free: 28.09 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.734e-05/0.5938, allocations: 19.12 kB / 0.6349 GB, free: 28.09 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002787/0.5966, allocations: 0.9934 MB / 0.6359 GB, free: 27.83 MB / 0.4981 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.004889/0.6015, allocations: 4.935 MB / 0.6407 GB, free: 23.99 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002658/0.6042, allocations: 0.9005 MB / 0.6416 GB, free: 23.74 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001269/0.6054, allocations: 483.2 kB / 0.6421 GB, free: 23.61 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001107/0.6066, allocations: 1.601 MB / 0.6436 GB, free: 21.79 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001494/0.6081, allocations: 0.5771 MB / 0.6442 GB, free: 21.61 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=61): time 3.387e-06/0.6081, allocations: 0 / 0.6442 GB, free: 21.61 MB / 0.4981 GB Notification: Performance of matching and sorting (n=61): time 0.004447/0.6125, allocations: 1.489 MB / 0.6456 GB, free: 21.17 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/0.6126, allocations: 60.12 kB / 0.6457 GB, free: 21.11 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001551/0.6141, allocations: 1.111 MB / 0.6468 GB, free: 20.7 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.181e-05/0.6142, allocations: 42.89 kB / 0.6468 GB, free: 20.65 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003887/0.6146, allocations: 0.5464 MB / 0.6474 GB, free: 20.21 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001687/0.6148, allocations: 210.5 kB / 0.6476 GB, free: 20.05 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003093/0.6151, allocations: 166.4 kB / 0.6477 GB, free: 19.98 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.6152, allocations: 339 kB / 0.648 GB, free: 19.66 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001483/0.6167, allocations: 445.1 kB / 0.6485 GB, free: 19.55 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001637/0.6184, allocations: 0.714 MB / 0.6492 GB, free: 19.12 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002932/0.6213, allocations: 1.12 MB / 0.6503 GB, free: 18.54 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.345e-06/0.6213, allocations: 2.625 kB / 0.6503 GB, free: 18.54 MB / 0.4981 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.004377/0.6257, allocations: 1.272 MB / 0.6515 GB, free: 18.11 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.482e-05/0.6258, allocations: 11.47 kB / 0.6515 GB, free: 18.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.463e-05/0.6258, allocations: 8.547 kB / 0.6515 GB, free: 18.11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.385e-05/0.6259, allocations: 11.97 kB / 0.6515 GB, free: 18.11 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001424/0.6273, allocations: 276.5 kB / 0.6518 GB, free: 18.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.442e-05/0.6273, allocations: 13.34 kB / 0.6518 GB, free: 18.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001852/0.6292, allocations: 198.6 kB / 0.652 GB, free: 18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001665/0.6294, allocations: 47.39 kB / 0.652 GB, free: 18 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (100): * Single equations (assignments): 100 * 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.0008213/0.6302, allocations: 292.8 kB / 0.6523 GB, free: 17.8 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002939/0.6305, allocations: 123.1 kB / 0.6524 GB, free: 17.73 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004588/0.6351, allocations: 1.363 MB / 0.6538 GB, free: 17.31 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-05/0.6352, allocations: 9.531 kB / 0.6538 GB, free: 17.31 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.6352, allocations: 1.188 kB / 0.6538 GB, free: 17.31 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.53e-05/0.6352, allocations: 3.141 kB / 0.6538 GB, free: 17.31 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005585/0.6408, allocations: 2.373 MB / 0.6561 GB, free: 16.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.528e-06/0.6408, allocations: 1.031 kB / 0.6561 GB, free: 16.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001073/0.6419, allocations: 191.6 kB / 0.6563 GB, free: 16.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.139e-05/0.6419, allocations: 3.844 kB / 0.6563 GB, free: 16.27 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.128e-05/0.642, allocations: 25.66 kB / 0.6563 GB, free: 16.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.437e-06/0.642, allocations: 4.75 kB / 0.6563 GB, free: 16.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.642, allocations: 10.12 kB / 0.6563 GB, free: 16.26 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005262/0.6473, allocations: 1.968 MB / 0.6583 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006432/0.648, allocations: 278.5 kB / 0.6585 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001602/0.6481, allocations: 15.73 kB / 0.6585 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000994/0.6491, allocations: 119.1 kB / 0.6586 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001429/0.6493, allocations: 57.02 kB / 0.6587 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.626e-05/0.6494, allocations: 34.28 kB / 0.6587 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001182/0.6506, allocations: 0.7666 MB / 0.6595 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.242e-06/0.6506, allocations: 0 / 0.6595 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001359/0.6519, allocations: 355.5 kB / 0.6598 GB, free: 14.88 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (70): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.001614/0.6536, allocations: 0.6571 MB / 0.6605 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003574/0.6571, allocations: 1.105 MB / 0.6615 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.6572, allocations: 4.062 kB / 0.6615 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001816/0.659, allocations: 0.5762 MB / 0.6621 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002408/0.6614, allocations: 427.8 kB / 0.6625 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005687/0.6671, allocations: 2.774 MB / 0.6652 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007426/0.6679, allocations: 1.103 MB / 0.6663 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005173/0.6684, allocations: 117 kB / 0.6664 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of SimCode: time 1.122e-06/0.6684, allocations: 0 / 0.6664 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of Templates: time 0.03853/0.7069, allocations: 19.01 MB / 0.685 GB, free: 4.602 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)