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.001343/0.001343, allocations: 99.77 kB / 16.4 MB, free: 6.496 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.001451/0.001451, allocations: 189.5 kB / 17.34 MB, free: 5.77 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.417/1.417, allocations: 222.9 MB / 241 MB, free: 14.97 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8099/0.8099, allocations: 132.2 MB / 423.4 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 64.56 kB / 0.582 GB, free: 23.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.169/0.1702, allocations: 80.2 MB / 0.6604 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03317/0.2035, allocations: 29.33 MB / 0.689 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01055/0.2141, allocations: 6.882 MB / 0.6957 GB, free: 5.906 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001465/0.2156, allocations: 43.69 kB / 0.6958 GB, free: 5.863 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001719/0.2173, allocations: 0.6953 MB / 0.6965 GB, free: 5.164 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003882/0.2212, allocations: 1.45 MB / 0.6979 GB, free: 3.707 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002903/0.2242, allocations: 1.153 MB / 0.699 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003438/0.2276, allocations: 2.489 MB / 0.7014 GB, free: 76 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001315/0.2289, allocations: 0.7865 MB / 0.7022 GB, free: 15.27 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00208/0.231, allocations: 1.039 MB / 0.7032 GB, free: 14.23 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001018/0.2321, allocations: 0.8208 MB / 0.704 GB, free: 13.4 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001295/0.2322, allocations: 68 kB / 0.7041 GB, free: 13.34 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001873/0.2341, allocations: 0.8188 MB / 0.7049 GB, free: 12.52 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002757/0.2344, allocations: 274.9 kB / 0.7051 GB, free: 12.25 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006129/0.235, allocations: 0.5553 MB / 0.7057 GB, free: 11.69 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00227/0.2373, allocations: 1.631 MB / 0.7073 GB, free: 10.05 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.2373, allocations: 0 / 0.7073 GB, free: 10.05 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2373, allocations: 0 / 0.7073 GB, free: 10.05 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.409e-05/0.2373, allocations: 0 / 0.7073 GB, free: 10.05 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.002494/0.2398, allocations: 1.578 MB / 0.7088 GB, free: 8.418 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.2399, allocations: 8.031 kB / 0.7088 GB, free: 8.41 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00331/0.2432, allocations: 0.5884 MB / 0.7094 GB, free: 7.82 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001414/0.2446, allocations: 0.8676 MB / 0.7102 GB, free: 6.898 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.289e-05/0.2447, allocations: 54 kB / 0.7103 GB, free: 6.844 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001209/0.2448, allocations: 79.94 kB / 0.7104 GB, free: 6.766 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002404/0.2472, allocations: 1.099 MB / 0.7114 GB, free: 5.586 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.008e-05/0.2472, allocations: 0 / 0.7114 GB, free: 5.586 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.788e-05/0.2473, allocations: 35.98 kB / 0.7115 GB, free: 5.551 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.725e-05/0.2474, allocations: 23.94 kB / 0.7115 GB, free: 5.527 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002951/0.2503, allocations: 0.9962 MB / 0.7125 GB, free: 4.531 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.005536/0.2559, allocations: 4.939 MB / 0.7173 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002824/0.2587, allocations: 0.9029 MB / 0.7182 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001436/0.2602, allocations: 489.1 kB / 0.7186 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001387/0.2616, allocations: 1.592 MB / 0.7202 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001644/0.2632, allocations: 0.569 MB / 0.7208 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=61): time 2.986e-06/0.2632, allocations: 3.938 kB / 0.7208 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of matching and sorting (n=61): time 0.004746/0.268, allocations: 1.485 MB / 0.7222 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.633e-05/0.2681, allocations: 59.97 kB / 0.7223 GB, free: 9.82 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00132/0.2694, allocations: 1.108 MB / 0.7233 GB, free: 8.699 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.759e-05/0.2695, allocations: 45.69 kB / 0.7234 GB, free: 8.648 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004312/0.2699, allocations: 0.5433 MB / 0.7239 GB, free: 8.098 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001888/0.2701, allocations: 209.1 kB / 0.7241 GB, free: 7.891 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002515/0.2704, allocations: 170.5 kB / 0.7243 GB, free: 7.715 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.2705, allocations: 337.9 kB / 0.7246 GB, free: 7.379 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001411/0.2719, allocations: 453.6 kB / 0.725 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001647/0.2736, allocations: 0.7125 MB / 0.7257 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002967/0.2766, allocations: 1.124 MB / 0.7268 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.2766, allocations: 8 kB / 0.7268 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003482/0.2801, allocations: 1.267 MB / 0.7281 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.503e-05/0.2801, allocations: 8 kB / 0.7281 GB, free: 3.594 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/0.2801, allocations: 8 kB / 0.7281 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.598e-05/0.2802, allocations: 12 kB / 0.7281 GB, free: 3.574 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/0.2813, allocations: 271.9 kB / 0.7284 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.911e-05/0.2813, allocations: 19.92 kB / 0.7284 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001122/0.2825, allocations: 182.9 kB / 0.7286 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.562e-05/0.2826, allocations: 43.97 kB / 0.7286 GB, free: 3.066 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.0004921/0.2831, allocations: 301.9 kB / 0.7289 GB, free: 2.766 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001849/0.2833, allocations: 130.5 kB / 0.729 GB, free: 2.637 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00367/0.2869, allocations: 1.352 MB / 0.7303 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.878e-05/0.287, allocations: 12 kB / 0.7303 GB, free: 1.273 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.287, allocations: 0 / 0.7303 GB, free: 1.273 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.287, allocations: 3.984 kB / 0.7303 GB, free: 1.27 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00471/0.2917, allocations: 2.363 MB / 0.7327 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/0.2917, allocations: 7.969 kB / 0.7327 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000967/0.2927, allocations: 183.8 kB / 0.7328 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.977e-06/0.2927, allocations: 4 kB / 0.7328 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.587e-05/0.2928, allocations: 23.97 kB / 0.7329 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.266e-06/0.2928, allocations: 11.88 kB / 0.7329 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.2928, allocations: 4 kB / 0.7329 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004974/0.2978, allocations: 1.973 MB / 0.7348 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004138/0.2982, allocations: 275.3 kB / 0.7351 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001401/0.2984, allocations: 23.98 kB / 0.7351 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008853/0.2993, allocations: 107.8 kB / 0.7352 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.2994, allocations: 48.5 kB / 0.7352 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.84e-05/0.2995, allocations: 31.97 kB / 0.7353 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009211/0.3004, allocations: 0.7638 MB / 0.736 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3004, allocations: 0 / 0.736 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001066/0.3015, allocations: 351.5 kB / 0.7363 GB, free: 10.99 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.001532/0.303, allocations: 0.66 MB / 0.737 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003284/0.3063, allocations: 1.107 MB / 0.7381 GB, free: 9.41 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.3063, allocations: 0 / 0.7381 GB, free: 9.41 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001658/0.308, allocations: 0.5814 MB / 0.7386 GB, free: 8.832 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002176/0.3102, allocations: 456.5 kB / 0.7391 GB, free: 8.402 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005165/0.3154, allocations: 2.379 MB / 0.7414 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007862/0.3162, allocations: 1.1 MB / 0.7425 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004763/0.3167, allocations: 123.4 kB / 0.7426 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of SimCode: time 1.062e-06/0.3167, allocations: 0 / 0.7426 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of Templates: time 0.3893/0.706, allocations: 19.3 MB / 0.7614 GB, free: 79.08 MB / 0.5762 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)