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.006102/0.006102, allocations: 100.1 kB / 15.73 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.001294/0.001293, allocations: 191 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.421/1.421, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.977/0.977, allocations: 135.1 MB / 425.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 63.91 kB / 0.5857 GB, free: 3.309 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5086/0.5101, allocations: 80.91 MB / 0.6647 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.0275/0.5376, allocations: 29.34 MB / 0.6933 GB, free: 20 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01117/0.5488, allocations: 6.87 MB / 0.7 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001885/0.5508, allocations: 46.94 kB / 0.7001 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.00199/0.5528, allocations: 0.6944 MB / 0.7008 GB, free: 9.891 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004773/0.5576, allocations: 1.524 MB / 0.7022 GB, free: 8.719 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003307/0.561, allocations: 1.15 MB / 0.7034 GB, free: 7.855 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00409/0.5651, allocations: 2.487 MB / 0.7058 GB, free: 6.426 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001421/0.5665, allocations: 0.7919 MB / 0.7066 GB, free: 5.922 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002502/0.569, allocations: 1.046 MB / 0.7076 GB, free: 5.312 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001871/0.5709, allocations: 0.8143 MB / 0.7084 GB, free: 4.77 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0003378/0.5713, allocations: 64 kB / 0.7085 GB, free: 4.707 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002977/0.5742, allocations: 0.8226 MB / 0.7093 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0005754/0.5748, allocations: 267 kB / 0.7095 GB, free: 3.621 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001314/0.5762, allocations: 0.5592 MB / 0.7101 GB, free: 3.059 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003878/0.58, allocations: 1.637 MB / 0.7117 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.5801, allocations: 0 / 0.7117 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.904e-06/0.5801, allocations: 0 / 0.7117 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.203e-05/0.5802, allocations: 4 kB / 0.7117 GB, free: 1.414 MB / 0.5294 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.00366/0.5838, allocations: 1.57 MB / 0.7132 GB, free: 15.79 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.5839, allocations: 8.031 kB / 0.7132 GB, free: 15.78 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003696/0.5876, allocations: 0.5884 MB / 0.7138 GB, free: 15.19 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001886/0.5895, allocations: 0.8793 MB / 0.7146 GB, free: 14.25 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.109e-05/0.5896, allocations: 50 kB / 0.7147 GB, free: 14.2 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001897/0.5898, allocations: 76 kB / 0.7148 GB, free: 14.13 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002753/0.5925, allocations: 1.099 MB / 0.7158 GB, free: 12.95 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.966e-05/0.5925, allocations: 0 / 0.7158 GB, free: 12.95 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.48e-05/0.5926, allocations: 28 kB / 0.7159 GB, free: 12.92 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.097e-05/0.5927, allocations: 20 kB / 0.7159 GB, free: 12.9 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003266/0.5959, allocations: 1.004 MB / 0.7169 GB, free: 11.9 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.006595/0.6026, allocations: 4.943 MB / 0.7217 GB, free: 6.668 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002995/0.6056, allocations: 0.92 MB / 0.7226 GB, free: 5.742 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001442/0.607, allocations: 488.7 kB / 0.723 GB, free: 5.266 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001421/0.6085, allocations: 1.588 MB / 0.7246 GB, free: 3.324 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001639/0.6101, allocations: 0.5651 MB / 0.7251 GB, free: 2.75 MB / 0.545 GB Notification: Performance of pre-optimization done (n=61): time 2.955e-06/0.6101, allocations: 0 / 0.7251 GB, free: 2.75 MB / 0.545 GB Notification: Performance of matching and sorting (n=61): time 0.0048/0.6149, allocations: 1.489 MB / 0.7266 GB, free: 1.258 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.651e-05/0.615, allocations: 55.97 kB / 0.7267 GB, free: 1.191 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001306/0.6163, allocations: 1.12 MB / 0.7277 GB, free: 60 kB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 9.081e-05/0.6164, allocations: 41.7 kB / 0.7278 GB, free: 12 kB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004364/0.6169, allocations: 0.5473 MB / 0.7283 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001833/0.617, allocations: 209.1 kB / 0.7285 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002502/0.6173, allocations: 166.4 kB / 0.7287 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.6174, allocations: 338 kB / 0.729 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001473/0.6189, allocations: 453.6 kB / 0.7294 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001703/0.6206, allocations: 0.7128 MB / 0.7301 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003067/0.6237, allocations: 1.12 MB / 0.7312 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.314e-06/0.6237, allocations: 4 kB / 0.7312 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003647/0.6274, allocations: 1.274 MB / 0.7325 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.6274, allocations: 8 kB / 0.7325 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/0.6274, allocations: 8 kB / 0.7325 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.48e-05/0.6275, allocations: 12 kB / 0.7325 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001218/0.6287, allocations: 272.2 kB / 0.7328 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.879e-05/0.6287, allocations: 15.94 kB / 0.7328 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001229/0.63, allocations: 183 kB / 0.7329 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.002e-05/0.6301, allocations: 47.97 kB / 0.733 GB, free: 10.43 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.0004736/0.6305, allocations: 291.7 kB / 0.7333 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001953/0.6307, allocations: 118.5 kB / 0.7334 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003759/0.6345, allocations: 1.355 MB / 0.7347 GB, free: 8.66 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.889e-05/0.6345, allocations: 11.98 kB / 0.7347 GB, free: 8.648 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/0.6346, allocations: 0 / 0.7347 GB, free: 8.648 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.6346, allocations: 7.922 kB / 0.7347 GB, free: 8.641 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004888/0.6395, allocations: 2.366 MB / 0.737 GB, free: 6.203 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/0.6395, allocations: 0 / 0.737 GB, free: 6.203 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00101/0.6405, allocations: 183.9 kB / 0.7372 GB, free: 6.023 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.084e-05/0.6405, allocations: 7.984 kB / 0.7372 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.772e-05/0.6406, allocations: 35.91 kB / 0.7373 GB, free: 5.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.736e-06/0.6406, allocations: 7.938 kB / 0.7373 GB, free: 5.973 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/0.6406, allocations: 4 kB / 0.7373 GB, free: 5.969 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005043/0.6457, allocations: 1.973 MB / 0.7392 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000473/0.6462, allocations: 271.3 kB / 0.7395 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001559/0.6463, allocations: 24 kB / 0.7395 GB, free: 3.648 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009372/0.6473, allocations: 107.8 kB / 0.7396 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/0.6474, allocations: 52.44 kB / 0.7396 GB, free: 3.492 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.178e-05/0.6475, allocations: 31.97 kB / 0.7397 GB, free: 3.461 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00096/0.6485, allocations: 0.7677 MB / 0.7404 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6485, allocations: 0 / 0.7404 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001108/0.6496, allocations: 347.6 kB / 0.7407 GB, free: 2.348 MB / 0.5606 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.001455/0.651, allocations: 0.6597 MB / 0.7414 GB, free: 1.844 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003406/0.6545, allocations: 1.11 MB / 0.7425 GB, free: 0.7383 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.6545, allocations: 0 / 0.7425 GB, free: 0.7383 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001636/0.6561, allocations: 0.5697 MB / 0.743 GB, free: 172 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002041/0.6582, allocations: 464.2 kB / 0.7435 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004897/0.6631, allocations: 2.334 MB / 0.7457 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007715/0.6639, allocations: 1.11 MB / 0.7468 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001003/0.6649, allocations: 248.6 kB / 0.7471 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003636/0.6653, allocations: 107.4 kB / 0.7472 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of SimCode: time 5.51e-07/0.6653, allocations: 0 / 0.7472 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of Templates: time 0.03508/0.7004, allocations: 20.01 MB / 0.7667 GB, free: 8.102 MB / 0.5919 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)