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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001838/0.001838, allocations: 182.9 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8202/0.8202, allocations: 133.4 MB / 150.1 MB, free: 11.16 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.643/1.643, allocations: 222.9 MB / 404.7 MB, free: 6.074 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 107.2 kB / 485.9 MB, free: 7.176 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001078/0.001078, allocations: 55.92 kB / 0.5636 GB, free: 69.93 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1476, allocations: 80.43 MB / 0.6421 GB, free: 5.434 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03082/0.1784, allocations: 29.17 MB / 0.6706 GB, free: 8.152 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.00967/0.1881, allocations: 6.899 MB / 0.6774 GB, free: 1.234 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001167/0.1893, allocations: 43.69 kB / 0.6774 GB, free: 1.191 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001412/0.1908, allocations: 0.6027 MB / 0.678 GB, free: 0.5859 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003268/0.1941, allocations: 1.343 MB / 0.6793 GB, free: 15.24 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002533/0.1966, allocations: 1.039 MB / 0.6803 GB, free: 14.21 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.003455/0.2001, allocations: 3.233 MB / 0.6835 GB, free: 10.96 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001008/0.2011, allocations: 0.7272 MB / 0.6842 GB, free: 10.23 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001603/0.2027, allocations: 0.949 MB / 0.6851 GB, free: 9.273 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009239/0.2037, allocations: 0.8324 MB / 0.6859 GB, free: 8.438 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001091/0.2038, allocations: 47.94 kB / 0.686 GB, free: 8.391 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00188/0.2057, allocations: 0.7638 MB / 0.6867 GB, free: 7.625 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002544/0.2059, allocations: 263 kB / 0.687 GB, free: 7.367 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004929/0.2064, allocations: 0.532 MB / 0.6875 GB, free: 6.832 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001849/0.2083, allocations: 1.573 MB / 0.689 GB, free: 5.254 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.2083, allocations: 0 / 0.689 GB, free: 5.254 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.2083, allocations: 0 / 0.689 GB, free: 5.254 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.198e-05/0.2083, allocations: 0 / 0.689 GB, free: 5.254 MB / 490.7 MB 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.002451/0.2108, allocations: 1.562 MB / 0.6906 GB, free: 3.633 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.2108, allocations: 8.031 kB / 0.6906 GB, free: 3.625 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00339/0.2142, allocations: 0.5962 MB / 0.6911 GB, free: 3.027 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001249/0.2155, allocations: 0.8054 MB / 0.6919 GB, free: 2.168 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.241e-05/0.2156, allocations: 54 kB / 0.692 GB, free: 2.113 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000121/0.2157, allocations: 72 kB / 0.6921 GB, free: 2.043 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002392/0.2181, allocations: 1.103 MB / 0.6931 GB, free: 0.8594 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/0.2181, allocations: 3.938 kB / 0.6931 GB, free: 0.8555 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.228e-05/0.2182, allocations: 28 kB / 0.6932 GB, free: 0.8281 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.719e-05/0.2182, allocations: 20 kB / 0.6932 GB, free: 0.8086 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3079/0.5262, allocations: 0.999 MB / 0.6942 GB, free: 58.69 MB / 490.7 MB 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.006141/0.5323, allocations: 4.936 MB / 0.699 GB, free: 55.13 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0032/0.5355, allocations: 0.9024 MB / 0.6999 GB, free: 54.9 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00156/0.5371, allocations: 494 kB / 0.7003 GB, free: 54.78 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001094/0.5382, allocations: 1.588 MB / 0.7019 GB, free: 52.98 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001774/0.54, allocations: 0.5772 MB / 0.7024 GB, free: 52.81 MB / 490.7 MB Notification: Performance of pre-optimization done (n=61): time 2.415e-06/0.54, allocations: 0 / 0.7024 GB, free: 52.81 MB / 490.7 MB Notification: Performance of matching and sorting (n=61): time 0.006141/0.5462, allocations: 1.483 MB / 0.7039 GB, free: 52.43 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.599e-05/0.5462, allocations: 67.23 kB / 0.704 GB, free: 52.36 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001995/0.5482, allocations: 1.113 MB / 0.705 GB, free: 51.95 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.558e-05/0.5483, allocations: 42.39 kB / 0.7051 GB, free: 51.91 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004684/0.5488, allocations: 0.5441 MB / 0.7056 GB, free: 51.49 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002167/0.549, allocations: 212.2 kB / 0.7058 GB, free: 51.33 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002784/0.5493, allocations: 164.7 kB / 0.706 GB, free: 51.26 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.913e-05/0.5494, allocations: 338.1 kB / 0.7063 GB, free: 50.94 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001498/0.5509, allocations: 451.1 kB / 0.7067 GB, free: 50.84 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001624/0.5526, allocations: 0.7166 MB / 0.7074 GB, free: 50.41 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002956/0.5555, allocations: 1.114 MB / 0.7085 GB, free: 49.83 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.5555, allocations: 2.344 kB / 0.7085 GB, free: 49.83 MB / 490.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003587/0.5591, allocations: 1.272 MB / 0.7098 GB, free: 49.41 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.5592, allocations: 9.156 kB / 0.7098 GB, free: 49.41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.5592, allocations: 8.281 kB / 0.7098 GB, free: 49.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.412e-05/0.5592, allocations: 12.16 kB / 0.7098 GB, free: 49.41 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001221/0.5604, allocations: 273 kB / 0.71 GB, free: 49.38 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.02e-05/0.5605, allocations: 20.91 kB / 0.7101 GB, free: 49.37 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001255/0.5617, allocations: 194.5 kB / 0.7103 GB, free: 49.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/0.5618, allocations: 44.12 kB / 0.7103 GB, free: 49.3 MB / 490.7 MB 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.0004056/0.5623, allocations: 293 kB / 0.7106 GB, free: 49.11 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001553/0.5624, allocations: 122.8 kB / 0.7107 GB, free: 49.04 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003884/0.5663, allocations: 1.359 MB / 0.712 GB, free: 48.62 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-05/0.5664, allocations: 14.27 kB / 0.712 GB, free: 48.62 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.5664, allocations: 7.875 kB / 0.712 GB, free: 48.61 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/0.5664, allocations: 3.656 kB / 0.712 GB, free: 48.61 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005113/0.5715, allocations: 2.37 MB / 0.7144 GB, free: 47.61 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/0.5715, allocations: 1.938 kB / 0.7144 GB, free: 47.61 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001015/0.5725, allocations: 190.5 kB / 0.7145 GB, free: 47.59 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.458e-06/0.5726, allocations: 8.125 kB / 0.7145 GB, free: 47.59 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.771e-05/0.5726, allocations: 24.94 kB / 0.7146 GB, free: 47.58 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.666e-06/0.5727, allocations: 4.125 kB / 0.7146 GB, free: 47.58 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.5727, allocations: 5.312 kB / 0.7146 GB, free: 47.58 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00908/0.5817, allocations: 4.992 MB / 0.7195 GB, free: 44.43 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003588/0.5821, allocations: 278.3 kB / 0.7197 GB, free: 44.18 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001257/0.5823, allocations: 17.83 kB / 0.7197 GB, free: 44.17 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009455/0.5832, allocations: 125.4 kB / 0.7199 GB, free: 44.11 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.692e-05/0.5833, allocations: 55.12 kB / 0.7199 GB, free: 44.08 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.343e-05/0.5834, allocations: 37.31 kB / 0.7199 GB, free: 44.07 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008278/0.5842, allocations: 0.7631 MB / 0.7207 GB, free: 43.67 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5842, allocations: 1.344 kB / 0.7207 GB, free: 43.67 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001325/0.5856, allocations: 422.1 kB / 0.7211 GB, free: 43.6 MB / 490.7 MB 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.001316/0.5869, allocations: 0.6559 MB / 0.7217 GB, free: 43.35 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003421/0.5903, allocations: 1.109 MB / 0.7228 GB, free: 42.86 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.5903, allocations: 0.5312 kB / 0.7228 GB, free: 42.86 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001572/0.5919, allocations: 0.5757 MB / 0.7234 GB, free: 42.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001975/0.5939, allocations: 436.2 kB / 0.7238 GB, free: 42.38 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004541/0.5985, allocations: 3.139 MB / 0.7269 GB, free: 40.29 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004052/0.5989, allocations: 1.126 MB / 0.728 GB, free: 39.4 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0009457/0.5998, allocations: 242.9 kB / 0.7282 GB, free: 39.28 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002883/0.6001, allocations: 110.3 kB / 0.7283 GB, free: 39.25 MB / 490.7 MB Notification: Performance of SimCode: time 6.41e-07/0.6001, allocations: 0 / 0.7283 GB, free: 39.25 MB / 490.7 MB Notification: Performance of Templates: time 0.02522/0.6254, allocations: 19.65 MB / 0.7475 GB, free: 21.13 MB / 490.7 MB 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)