Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.006997/0.006997, allocations: 100.8 kB / 15.73 MB, free: 6.473 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.001679/0.001679, allocations: 195 kB / 16.67 MB, free: 6.379 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.409/1.409, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8126/0.8126, allocations: 132.2 MB / 422.7 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 68.39 kB / 0.5814 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1893/0.1907, allocations: 80.21 MB / 0.6597 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03021/0.2209, allocations: 29.34 MB / 0.6884 GB, free: 40 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01094/0.2319, allocations: 6.863 MB / 0.6951 GB, free: 9.156 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001672/0.2337, allocations: 51.62 kB / 0.6951 GB, free: 9.105 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001732/0.2355, allocations: 0.6953 MB / 0.6958 GB, free: 8.406 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004565/0.24, allocations: 1.518 MB / 0.6973 GB, free: 6.883 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00344/0.2435, allocations: 1.156 MB / 0.6984 GB, free: 5.738 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003893/0.2474, allocations: 2.493 MB / 0.7008 GB, free: 3.242 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00125/0.2487, allocations: 0.7903 MB / 0.7016 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002281/0.251, allocations: 1.039 MB / 0.7026 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001281/0.2522, allocations: 0.8208 MB / 0.7034 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.000135/0.2524, allocations: 68 kB / 0.7035 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002531/0.2549, allocations: 0.8149 MB / 0.7043 GB, free: 15.68 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000348/0.2553, allocations: 278.9 kB / 0.7045 GB, free: 15.41 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0007014/0.256, allocations: 0.5669 MB / 0.7051 GB, free: 14.84 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002301/0.2583, allocations: 1.624 MB / 0.7067 GB, free: 13.21 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/0.2583, allocations: 0 / 0.7067 GB, free: 13.21 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.853e-06/0.2583, allocations: 3.938 kB / 0.7067 GB, free: 13.2 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.289e-05/0.2584, allocations: 0 / 0.7067 GB, free: 13.2 MB / 0.545 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.00277/0.2611, allocations: 1.57 MB / 0.7082 GB, free: 11.58 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.2612, allocations: 12.03 kB / 0.7082 GB, free: 11.57 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003431/0.2646, allocations: 0.5884 MB / 0.7088 GB, free: 10.98 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001426/0.2661, allocations: 0.8754 MB / 0.7097 GB, free: 10.05 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.139e-05/0.2661, allocations: 54 kB / 0.7097 GB, free: 9.992 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001293/0.2663, allocations: 72 kB / 0.7098 GB, free: 9.922 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002446/0.2687, allocations: 1.099 MB / 0.7109 GB, free: 8.742 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.169e-05/0.2688, allocations: 7.938 kB / 0.7109 GB, free: 8.734 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.78e-05/0.2689, allocations: 31.98 kB / 0.7109 GB, free: 8.703 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.789e-05/0.2689, allocations: 16 kB / 0.7109 GB, free: 8.688 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003048/0.2719, allocations: 1 MB / 0.7119 GB, free: 7.688 MB / 0.545 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.005491/0.2774, allocations: 4.943 MB / 0.7167 GB, free: 2.453 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002932/0.2804, allocations: 0.9061 MB / 0.7176 GB, free: 1.543 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001474/0.2819, allocations: 486.2 kB / 0.7181 GB, free: 1.066 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001325/0.2832, allocations: 1.588 MB / 0.7196 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001677/0.2849, allocations: 0.5768 MB / 0.7202 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=61): time 2.836e-06/0.2849, allocations: 0 / 0.7202 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of matching and sorting (n=61): time 0.004942/0.2899, allocations: 1.481 MB / 0.7216 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/0.2899, allocations: 63.97 kB / 0.7217 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001545/0.2915, allocations: 1.108 MB / 0.7228 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.985e-05/0.2916, allocations: 41.7 kB / 0.7228 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005091/0.2921, allocations: 0.5472 MB / 0.7233 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002139/0.2923, allocations: 205.2 kB / 0.7235 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000271/0.2926, allocations: 170.4 kB / 0.7237 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001695/0.2928, allocations: 341.9 kB / 0.724 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001446/0.2942, allocations: 445.6 kB / 0.7245 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001641/0.2959, allocations: 0.728 MB / 0.7252 GB, free: 9.266 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002937/0.2988, allocations: 1.12 MB / 0.7263 GB, free: 8.039 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.2988, allocations: 0 / 0.7263 GB, free: 8.039 MB / 0.5606 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003476/0.3023, allocations: 1.267 MB / 0.7275 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.442e-05/0.3024, allocations: 9.719 kB / 0.7275 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.655e-05/0.3024, allocations: 12.06 kB / 0.7275 GB, free: 6.746 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.656e-05/0.3024, allocations: 12 kB / 0.7275 GB, free: 6.734 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001203/0.3036, allocations: 271.5 kB / 0.7278 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.557e-05/0.3037, allocations: 12 kB / 0.7278 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001128/0.3048, allocations: 186.9 kB / 0.728 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.429e-05/0.3049, allocations: 48.06 kB / 0.728 GB, free: 6.227 MB / 0.5606 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.0004554/0.3054, allocations: 301.6 kB / 0.7283 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001711/0.3055, allocations: 122.5 kB / 0.7284 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003754/0.3093, allocations: 1.361 MB / 0.7298 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.747e-05/0.3093, allocations: 8 kB / 0.7298 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.279e-06/0.3093, allocations: 4 kB / 0.7298 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.267e-05/0.3094, allocations: 7.984 kB / 0.7298 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00477/0.3141, allocations: 2.358 MB / 0.7321 GB, free: 2.004 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.936e-06/0.3142, allocations: 4 kB / 0.7321 GB, free: 2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001016/0.3152, allocations: 187.9 kB / 0.7323 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.825e-06/0.3152, allocations: 4 kB / 0.7323 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.303e-05/0.3153, allocations: 31.97 kB / 0.7323 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.005e-06/0.3153, allocations: 7.938 kB / 0.7323 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.3153, allocations: 0 / 0.7323 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005029/0.3203, allocations: 1.973 MB / 0.7342 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003911/0.3207, allocations: 271.4 kB / 0.7345 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001588/0.3209, allocations: 19.98 kB / 0.7345 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009361/0.3218, allocations: 103.8 kB / 0.7346 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/0.322, allocations: 56.44 kB / 0.7347 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.353e-05/0.322, allocations: 35.97 kB / 0.7347 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000867/0.3229, allocations: 0.7638 MB / 0.7354 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3229, allocations: 0 / 0.7354 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001007/0.3239, allocations: 351.5 kB / 0.7358 GB, free: 14.15 MB / 0.5762 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.00141/0.3253, allocations: 0.6548 MB / 0.7364 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003279/0.3286, allocations: 1.107 MB / 0.7375 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3287, allocations: 0 / 0.7375 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001618/0.3303, allocations: 0.5853 MB / 0.7381 GB, free: 12 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001918/0.3322, allocations: 458.4 kB / 0.7385 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005014/0.3372, allocations: 2.334 MB / 0.7408 GB, free: 9.191 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006399/0.3379, allocations: 1.104 MB / 0.7419 GB, free: 8.055 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009211/0.3388, allocations: 251.4 kB / 0.7421 GB, free: 7.812 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002946/0.3391, allocations: 107.4 kB / 0.7422 GB, free: 7.707 MB / 0.5762 GB Notification: Performance of SimCode: time 6.31e-07/0.3391, allocations: 0 / 0.7422 GB, free: 7.707 MB / 0.5762 GB Notification: Performance of Templates: time 0.03076/0.3699, allocations: 20 MB / 0.7617 GB, free: 3.988 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)