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.008088/0.008088, allocations: 96.61 kB / 15.73 MB, free: 6.039 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.001559/0.001559, allocations: 201 kB / 16.68 MB, free: 5.969 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.439/1.439, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9616/0.9616, allocations: 135.1 MB / 425.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 63.91 kB / 0.5857 GB, free: 3.309 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4677/0.4691, allocations: 80.92 MB / 0.6647 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02786/0.497, allocations: 29.33 MB / 0.6933 GB, free: 20 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0105/0.5075, allocations: 6.882 MB / 0.7 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001374/0.5089, allocations: 48.69 kB / 0.7001 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001554/0.5105, allocations: 0.6872 MB / 0.7008 GB, free: 9.883 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00543/0.516, allocations: 1.462 MB / 0.7022 GB, free: 8.754 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0046/0.5206, allocations: 1.147 MB / 0.7033 GB, free: 7.891 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.005032/0.5257, allocations: 2.482 MB / 0.7057 GB, free: 6.457 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001366/0.5271, allocations: 0.7854 MB / 0.7065 GB, free: 5.961 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002021/0.5291, allocations: 1.012 MB / 0.7075 GB, free: 5.371 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001076/0.5302, allocations: 0.8152 MB / 0.7083 GB, free: 4.855 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001364/0.5303, allocations: 68 kB / 0.7083 GB, free: 4.789 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002011/0.5323, allocations: 0.8265 MB / 0.7092 GB, free: 3.961 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002729/0.5326, allocations: 274.9 kB / 0.7094 GB, free: 3.691 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0005467/0.5332, allocations: 0.5554 MB / 0.71 GB, free: 3.133 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002218/0.5354, allocations: 1.644 MB / 0.7116 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.5354, allocations: 0 / 0.7116 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.336e-06/0.5354, allocations: 0 / 0.7116 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.545e-05/0.5355, allocations: 3.938 kB / 0.7116 GB, free: 1.48 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.002562/0.538, allocations: 1.612 MB / 0.7131 GB, free: 15.81 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.5381, allocations: 12.03 kB / 0.7132 GB, free: 15.8 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003329/0.5414, allocations: 0.5892 MB / 0.7137 GB, free: 15.21 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00143/0.5429, allocations: 0.892 MB / 0.7146 GB, free: 14.26 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.32e-05/0.5429, allocations: 54 kB / 0.7147 GB, free: 14.21 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001269/0.5431, allocations: 72 kB / 0.7147 GB, free: 14.14 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002416/0.5455, allocations: 1.096 MB / 0.7158 GB, free: 12.96 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.125e-05/0.5455, allocations: 8 kB / 0.7158 GB, free: 12.95 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.795e-05/0.5456, allocations: 28 kB / 0.7158 GB, free: 12.93 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.206e-05/0.5456, allocations: 16 kB / 0.7158 GB, free: 12.91 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002994/0.5486, allocations: 1.004 MB / 0.7168 GB, free: 11.91 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.005274/0.5539, allocations: 4.947 MB / 0.7217 GB, free: 6.672 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00285/0.5568, allocations: 0.9141 MB / 0.7225 GB, free: 5.754 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001422/0.5582, allocations: 486.2 kB / 0.723 GB, free: 5.277 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001285/0.5595, allocations: 1.592 MB / 0.7246 GB, free: 3.332 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001598/0.5611, allocations: 0.5729 MB / 0.7251 GB, free: 2.75 MB / 0.545 GB Notification: Performance of pre-optimization done (n=61): time 2.525e-06/0.5611, allocations: 0 / 0.7251 GB, free: 2.75 MB / 0.545 GB Notification: Performance of matching and sorting (n=61): time 0.004616/0.5658, allocations: 1.493 MB / 0.7266 GB, free: 1.254 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.5658, allocations: 63.91 kB / 0.7266 GB, free: 1.18 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001169/0.567, allocations: 1.108 MB / 0.7277 GB, free: 60 kB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.776e-05/0.567, allocations: 41.7 kB / 0.7278 GB, free: 12 kB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000422/0.5675, allocations: 0.552 MB / 0.7283 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001611/0.5676, allocations: 226.1 kB / 0.7285 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002481/0.5679, allocations: 166.6 kB / 0.7287 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.568, allocations: 341.9 kB / 0.729 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001431/0.5695, allocations: 441.6 kB / 0.7294 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00163/0.5711, allocations: 0.7128 MB / 0.7301 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002946/0.5741, allocations: 1.124 MB / 0.7312 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.5741, allocations: 4 kB / 0.7312 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003368/0.5775, allocations: 1.275 MB / 0.7325 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.5775, allocations: 8 kB / 0.7325 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.5775, allocations: 8 kB / 0.7325 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.336e-05/0.5776, allocations: 12 kB / 0.7325 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001171/0.5787, allocations: 271.8 kB / 0.7328 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.768e-05/0.5788, allocations: 19.94 kB / 0.7328 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001047/0.5798, allocations: 183.2 kB / 0.7329 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-05/0.5799, allocations: 47.97 kB / 0.733 GB, free: 10.41 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.0003856/0.5803, allocations: 295.7 kB / 0.7333 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001605/0.5805, allocations: 123.2 kB / 0.7334 GB, free: 9.992 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003743/0.5842, allocations: 1.355 MB / 0.7347 GB, free: 8.633 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.88e-05/0.5843, allocations: 11.98 kB / 0.7347 GB, free: 8.621 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.696e-05/0.5843, allocations: 4 kB / 0.7347 GB, free: 8.617 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.5843, allocations: 7.922 kB / 0.7347 GB, free: 8.609 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004694/0.589, allocations: 2.37 MB / 0.7371 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/0.589, allocations: 8.188 kB / 0.7371 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009623/0.59, allocations: 179.8 kB / 0.7372 GB, free: 5.984 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.702e-06/0.59, allocations: 7.938 kB / 0.7372 GB, free: 5.977 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.358e-05/0.5901, allocations: 27.97 kB / 0.7373 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.602e-06/0.5901, allocations: 7.938 kB / 0.7373 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.5901, allocations: 0 / 0.7373 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004973/0.5951, allocations: 1.982 MB / 0.7392 GB, free: 3.922 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003641/0.5954, allocations: 288 kB / 0.7395 GB, free: 3.621 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001389/0.5956, allocations: 15.98 kB / 0.7395 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009011/0.5965, allocations: 107.8 kB / 0.7396 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.861e-05/0.5966, allocations: 52.53 kB / 0.7397 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.32e-05/0.5967, allocations: 39.95 kB / 0.7397 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008604/0.5976, allocations: 0.7638 MB / 0.7404 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5976, allocations: 0 / 0.7404 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009827/0.5985, allocations: 347.4 kB / 0.7408 GB, free: 2.301 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.001416/0.6, allocations: 0.6588 MB / 0.7414 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00347/0.6035, allocations: 1.11 MB / 0.7425 GB, free: 0.6914 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.6035, allocations: 4 kB / 0.7425 GB, free: 0.6875 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00168/0.6052, allocations: 0.5735 MB / 0.7431 GB, free: 116 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001938/0.6071, allocations: 461.5 kB / 0.7435 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004564/0.6117, allocations: 2.366 MB / 0.7458 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006626/0.6124, allocations: 1.106 MB / 0.7469 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008482/0.6132, allocations: 248.6 kB / 0.7471 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003137/0.6135, allocations: 111.4 kB / 0.7472 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of SimCode: time 7.11e-07/0.6136, allocations: 0 / 0.7472 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of Templates: time 0.03097/0.6445, allocations: 20.01 MB / 0.7668 GB, free: 8.012 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)