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.001678/0.001678, allocations: 107.2 kB / 16.41 MB, free: 6.477 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.001772/0.001772, allocations: 183 kB / 17.34 MB, free: 5.754 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.344/1.344, 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.8236/0.8236, allocations: 135.1 MB / 426.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 68.45 kB / 0.5863 GB, free: 21.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.1649, allocations: 80.92 MB / 0.6653 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.0311/0.1961, allocations: 29.34 MB / 0.694 GB, free: 8.344 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01103/0.2071, allocations: 6.876 MB / 0.7007 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001745/0.209, allocations: 47.69 kB / 0.7007 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002016/0.211, allocations: 0.6875 MB / 0.7014 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004204/0.2152, allocations: 1.454 MB / 0.7028 GB, free: 15.25 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003264/0.2185, allocations: 1.159 MB / 0.704 GB, free: 14.1 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003614/0.2222, allocations: 2.477 MB / 0.7064 GB, free: 11.61 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001536/0.2237, allocations: 0.7982 MB / 0.7072 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002236/0.226, allocations: 1.031 MB / 0.7082 GB, free: 9.762 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001502/0.2275, allocations: 0.8286 MB / 0.709 GB, free: 8.93 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002788/0.2278, allocations: 68 kB / 0.709 GB, free: 8.863 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002038/0.2298, allocations: 0.8188 MB / 0.7098 GB, free: 8.043 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004288/0.2303, allocations: 275 kB / 0.7101 GB, free: 7.773 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000921/0.2312, allocations: 0.5436 MB / 0.7106 GB, free: 7.227 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002942/0.2342, allocations: 1.635 MB / 0.7122 GB, free: 5.586 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.2342, allocations: 0 / 0.7122 GB, free: 5.586 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.773e-06/0.2342, allocations: 0 / 0.7122 GB, free: 5.586 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.485e-05/0.2343, allocations: 0 / 0.7122 GB, free: 5.586 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.003207/0.2375, allocations: 1.574 MB / 0.7138 GB, free: 3.957 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.2375, allocations: 13.11 kB / 0.7138 GB, free: 3.945 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003571/0.2411, allocations: 0.5923 MB / 0.7144 GB, free: 3.352 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001664/0.2428, allocations: 0.8676 MB / 0.7152 GB, free: 2.43 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.323e-05/0.2429, allocations: 58 kB / 0.7153 GB, free: 2.371 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001748/0.243, allocations: 72 kB / 0.7153 GB, free: 2.301 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002594/0.2456, allocations: 1.096 MB / 0.7164 GB, free: 1.125 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.392e-05/0.2457, allocations: 7.984 kB / 0.7164 GB, free: 1.117 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.361e-05/0.2458, allocations: 32 kB / 0.7164 GB, free: 1.086 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.602e-05/0.2458, allocations: 19.94 kB / 0.7165 GB, free: 1.066 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003076/0.2489, allocations: 0.9962 MB / 0.7174 GB, free: 68 kB / 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.005968/0.2549, allocations: 4.954 MB / 0.7223 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00289/0.2578, allocations: 0.9054 MB / 0.7232 GB, free: 9.914 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00141/0.2592, allocations: 490.2 kB / 0.7236 GB, free: 9.43 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001566/0.2608, allocations: 1.588 MB / 0.7252 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00172/0.2625, allocations: 0.5729 MB / 0.7257 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=61): time 3.277e-06/0.2625, allocations: 3.938 kB / 0.7257 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of matching and sorting (n=61): time 0.004729/0.2673, allocations: 1.481 MB / 0.7272 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.702e-05/0.2673, allocations: 59.97 kB / 0.7272 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001507/0.2689, allocations: 1.112 MB / 0.7283 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.585e-05/0.269, allocations: 41.69 kB / 0.7284 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004524/0.2694, allocations: 0.5472 MB / 0.7289 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002017/0.2696, allocations: 205.2 kB / 0.7291 GB, free: 3.414 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002731/0.2699, allocations: 174.4 kB / 0.7293 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.27, allocations: 341.9 kB / 0.7296 GB, free: 2.898 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001427/0.2715, allocations: 449.6 kB / 0.73 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001642/0.2731, allocations: 0.7166 MB / 0.7307 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002961/0.2761, allocations: 1.124 MB / 0.7318 GB, free: 408 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.864e-06/0.2761, allocations: 0 / 0.7318 GB, free: 408 kB / 0.5606 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003648/0.2798, allocations: 1.262 MB / 0.733 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/0.2798, allocations: 8 kB / 0.7331 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/0.2798, allocations: 8 kB / 0.7331 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.947e-05/0.2799, allocations: 12 kB / 0.7331 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/0.2811, allocations: 276.1 kB / 0.7333 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.809e-05/0.2811, allocations: 19.92 kB / 0.7334 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001251/0.2824, allocations: 178.9 kB / 0.7335 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001116/0.2825, allocations: 47.97 kB / 0.7336 GB, free: 14.59 MB / 0.5762 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.0005432/0.2831, allocations: 291.7 kB / 0.7338 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003003/0.2834, allocations: 122.5 kB / 0.734 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003828/0.2872, allocations: 1.355 MB / 0.7353 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.965e-05/0.2872, allocations: 8 kB / 0.7353 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.946e-06/0.2872, allocations: 0 / 0.7353 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.2873, allocations: 3.984 kB / 0.7353 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005213/0.2925, allocations: 2.37 MB / 0.7376 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.09e-05/0.2925, allocations: 4 kB / 0.7376 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001015/0.2935, allocations: 179.9 kB / 0.7378 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.02e-05/0.2936, allocations: 4 kB / 0.7378 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.609e-05/0.2936, allocations: 27.97 kB / 0.7378 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.266e-05/0.2936, allocations: 19.88 kB / 0.7378 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.2937, allocations: 3.984 kB / 0.7378 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00517/0.2988, allocations: 1.969 MB / 0.7398 GB, free: 8.109 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005219/0.2994, allocations: 283.3 kB / 0.74 GB, free: 7.812 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002569/0.2997, allocations: 12 kB / 0.74 GB, free: 7.801 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/0.3007, allocations: 111.8 kB / 0.7402 GB, free: 7.691 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001248/0.3008, allocations: 48.5 kB / 0.7402 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.263e-05/0.3009, allocations: 35.97 kB / 0.7402 GB, free: 7.609 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001056/0.302, allocations: 0.7638 MB / 0.741 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.302, allocations: 4 kB / 0.741 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001233/0.3032, allocations: 347.5 kB / 0.7413 GB, free: 6.496 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.00171/0.305, allocations: 0.6588 MB / 0.742 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003486/0.3085, allocations: 1.11 MB / 0.743 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/0.3085, allocations: 0 / 0.743 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001659/0.3101, allocations: 0.5775 MB / 0.7436 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002279/0.3124, allocations: 467.7 kB / 0.7441 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005131/0.3176, allocations: 2.371 MB / 0.7464 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007146/0.3183, allocations: 1.108 MB / 0.7475 GB, free: 308 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004274/0.3188, allocations: 115.4 kB / 0.7476 GB, free: 192 kB / 0.5762 GB Notification: Performance of SimCode: time 1.052e-06/0.3188, allocations: 0 / 0.7476 GB, free: 192 kB / 0.5762 GB Notification: Performance of Templates: time 0.3887/0.7075, allocations: 19.13 MB / 0.7662 GB, free: 72.46 MB / 0.5762 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)