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.001042/0.001042, allocations: 92.55 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 174.9 kB / 16.92 MB, free: 6.652 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.423/1.423, allocations: 223.3 MB / 241 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9906/0.9906, allocations: 135.3 MB / 427.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003488/0.0003486, allocations: 12 kB / 0.5082 GB, free: 4.75 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1764/0.1768, allocations: 82.31 MB / 0.5886 GB, free: 2.609 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.366/0.5429, allocations: 28.43 MB / 0.6164 GB, free: 34.25 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009041/0.552, allocations: 6.826 MB / 0.623 GB, free: 33.72 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001689/0.5537, allocations: 43.94 kB / 0.6231 GB, free: 33.7 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001758/0.5555, allocations: 0.5987 MB / 0.6237 GB, free: 33.56 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003988/0.5595, allocations: 1.332 MB / 0.625 GB, free: 33.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002871/0.5624, allocations: 1.048 MB / 0.626 GB, free: 33.12 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003758/0.5661, allocations: 3.214 MB / 0.6291 GB, free: 32.3 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001465/0.5676, allocations: 0.7144 MB / 0.6298 GB, free: 32.02 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002131/0.5698, allocations: 0.9182 MB / 0.6307 GB, free: 31.64 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001468/0.5713, allocations: 0.8175 MB / 0.6315 GB, free: 31.32 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002839/0.5716, allocations: 36.34 kB / 0.6316 GB, free: 31.32 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002254/0.5738, allocations: 0.7595 MB / 0.6323 GB, free: 31.03 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004565/0.5743, allocations: 249.7 kB / 0.6325 GB, free: 30.92 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009668/0.5753, allocations: 0.5432 MB / 0.6331 GB, free: 30.58 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001824/0.5771, allocations: 1.122 MB / 0.6342 GB, free: 30.28 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.5771, allocations: 0 / 0.6342 GB, free: 30.28 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.415e-06/0.5771, allocations: 0 / 0.6342 GB, free: 30.28 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.981e-05/0.5772, allocations: 4 kB / 0.6342 GB, free: 30.28 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.002777/0.58, allocations: 1.358 MB / 0.6355 GB, free: 29.34 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.58, allocations: 8.188 kB / 0.6355 GB, free: 29.34 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003421/0.5835, allocations: 0.632 MB / 0.6361 GB, free: 29.23 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001439/0.5849, allocations: 0.8057 MB / 0.6369 GB, free: 28.72 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.616e-05/0.585, allocations: 62.03 kB / 0.637 GB, free: 28.69 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001696/0.5852, allocations: 75.78 kB / 0.637 GB, free: 28.67 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002338/0.5875, allocations: 1.11 MB / 0.6381 GB, free: 28.15 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.353e-05/0.5875, allocations: 7.094 kB / 0.6381 GB, free: 28.15 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.007e-05/0.5876, allocations: 30.16 kB / 0.6382 GB, free: 28.12 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.557e-05/0.5877, allocations: 22.69 kB / 0.6382 GB, free: 28.12 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002885/0.5905, allocations: 1.026 MB / 0.6392 GB, free: 27.86 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.005256/0.5958, allocations: 4.971 MB / 0.644 GB, free: 24 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002731/0.5986, allocations: 0.9564 MB / 0.645 GB, free: 23.75 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00135/0.5999, allocations: 0.4927 MB / 0.6455 GB, free: 23.61 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001061/0.601, allocations: 1.608 MB / 0.647 GB, free: 21.8 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001545/0.6025, allocations: 0.5751 MB / 0.6476 GB, free: 21.63 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=61): time 2.675e-06/0.6026, allocations: 2.625 kB / 0.6476 GB, free: 21.63 MB / 0.4981 GB Notification: Performance of matching and sorting (n=61): time 0.00448/0.6071, allocations: 1.519 MB / 0.6491 GB, free: 21.2 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.29e-05/0.6071, allocations: 61.09 kB / 0.6491 GB, free: 21.13 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001761/0.6089, allocations: 1.117 MB / 0.6502 GB, free: 20.72 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.244e-05/0.609, allocations: 38.8 kB / 0.6503 GB, free: 20.68 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004739/0.6095, allocations: 0.5489 MB / 0.6508 GB, free: 20.23 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002224/0.6097, allocations: 201.5 kB / 0.651 GB, free: 20.08 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001375/0.6098, allocations: 74.52 kB / 0.6511 GB, free: 20.04 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.096e-05/0.6099, allocations: 334.8 kB / 0.6514 GB, free: 19.72 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001522/0.6115, allocations: 465.4 kB / 0.6518 GB, free: 19.61 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001687/0.6132, allocations: 0.7257 MB / 0.6525 GB, free: 19.18 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003259/0.6164, allocations: 1.141 MB / 0.6536 GB, free: 18.6 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.271e-05/0.6165, allocations: 2.375 kB / 0.6536 GB, free: 18.6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0043/0.6208, allocations: 1.295 MB / 0.6549 GB, free: 18.18 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.417e-05/0.6208, allocations: 17.92 kB / 0.6549 GB, free: 18.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.007e-05/0.6208, allocations: 7.875 kB / 0.6549 GB, free: 18.17 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.894e-05/0.6209, allocations: 11.88 kB / 0.6549 GB, free: 18.17 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001302/0.6222, allocations: 270.5 kB / 0.6552 GB, free: 18.15 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.961e-05/0.6222, allocations: 17.34 kB / 0.6552 GB, free: 18.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001518/0.6238, allocations: 219.7 kB / 0.6554 GB, free: 18.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001448/0.6239, allocations: 44.64 kB / 0.6555 GB, free: 18.06 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.0006194/0.6245, allocations: 288.7 kB / 0.6557 GB, free: 17.87 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002992/0.6249, allocations: 123.5 kB / 0.6559 GB, free: 17.8 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004239/0.6291, allocations: 1.383 MB / 0.6572 GB, free: 17.39 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.928e-05/0.6291, allocations: 13.34 kB / 0.6572 GB, free: 17.39 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/0.6292, allocations: 4 kB / 0.6572 GB, free: 17.39 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/0.6292, allocations: 4.359 kB / 0.6572 GB, free: 17.39 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005802/0.635, allocations: 2.394 MB / 0.6596 GB, free: 16.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.326e-05/0.635, allocations: 1.5 kB / 0.6596 GB, free: 16.37 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001066/0.6361, allocations: 201 kB / 0.6598 GB, free: 16.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.183e-05/0.6361, allocations: 4.5 kB / 0.6598 GB, free: 16.34 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.94e-05/0.6362, allocations: 25.09 kB / 0.6598 GB, free: 16.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.205e-05/0.6363, allocations: 8.828 kB / 0.6598 GB, free: 16.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.225e-06/0.6363, allocations: 9.953 kB / 0.6598 GB, free: 16.33 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005663/0.6419, allocations: 2.008 MB / 0.6618 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007232/0.6427, allocations: 287.7 kB / 0.662 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003175/0.643, allocations: 15.47 kB / 0.6621 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001224/0.6443, allocations: 130.7 kB / 0.6622 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001336/0.6444, allocations: 49.56 kB / 0.6622 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.886e-05/0.6445, allocations: 32.42 kB / 0.6623 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001345/0.6459, allocations: 0.772 MB / 0.663 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.5e-07/0.6459, allocations: 0 / 0.663 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001653/0.6475, allocations: 343.2 kB / 0.6633 GB, free: 14.96 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.001787/0.6493, allocations: 0.6505 MB / 0.664 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003791/0.6531, allocations: 1.138 MB / 0.6651 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.6532, allocations: 0 / 0.6651 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001803/0.655, allocations: 0.582 MB / 0.6657 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002875/0.6579, allocations: 439.1 kB / 0.6661 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005589/0.6635, allocations: 2.856 MB / 0.6689 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008055/0.6643, allocations: 1.105 MB / 0.6699 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004931/0.6648, allocations: 120.8 kB / 0.6701 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of SimCode: time 7.21e-07/0.6648, allocations: 0 / 0.6701 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of Templates: time 0.03592/0.7007, allocations: 18.81 MB / 0.6884 GB, free: 4.586 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)