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.001567/0.001566, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002076/0.002076, allocations: 191.1 kB / 16.25 MB, free: 6.633 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.366/1.366, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9234/0.9234, allocations: 135.2 MB / 425.2 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 72.84 kB / 0.5049 GB, free: 5.625 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1953/0.1968, allocations: 80.93 MB / 0.5839 GB, free: 4.863 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.3801/0.5769, allocations: 29.12 MB / 0.6124 GB, free: 35.68 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01/0.587, allocations: 6.831 MB / 0.619 GB, free: 35.12 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001965/0.589, allocations: 49.5 kB / 0.6191 GB, free: 35.1 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00169/0.5908, allocations: 0.6095 MB / 0.6197 GB, free: 34.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003588/0.5944, allocations: 1.35 MB / 0.621 GB, free: 34.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002675/0.5971, allocations: 1.064 MB / 0.622 GB, free: 33.69 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00265/0.5997, allocations: 2.485 MB / 0.6245 GB, free: 32.57 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001011/0.6008, allocations: 0.7989 MB / 0.6252 GB, free: 32.25 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001539/0.6023, allocations: 1.037 MB / 0.6263 GB, free: 31.79 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008083/0.6031, allocations: 0.8452 MB / 0.6271 GB, free: 31.45 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000105/0.6032, allocations: 70.12 kB / 0.6271 GB, free: 31.45 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001601/0.6049, allocations: 0.8408 MB / 0.628 GB, free: 31.11 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002148/0.6051, allocations: 280 kB / 0.6282 GB, free: 30.97 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000434/0.6055, allocations: 0.5482 MB / 0.6288 GB, free: 30.64 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001749/0.6073, allocations: 1.614 MB / 0.6303 GB, free: 30.01 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.6073, allocations: 0 / 0.6303 GB, free: 30.01 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.473e-06/0.6073, allocations: 0 / 0.6303 GB, free: 30.01 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.167e-05/0.6073, allocations: 0 / 0.6303 GB, free: 30.01 MB / 0.4981 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.002161/0.6095, allocations: 1.577 MB / 0.6319 GB, free: 28.94 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.6095, allocations: 9.188 kB / 0.6319 GB, free: 28.94 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003276/0.6128, allocations: 0.5823 MB / 0.6325 GB, free: 28.84 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001139/0.614, allocations: 0.804 MB / 0.6333 GB, free: 28.33 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.993e-05/0.614, allocations: 64.56 kB / 0.6333 GB, free: 28.3 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001257/0.6142, allocations: 76.25 kB / 0.6334 GB, free: 28.28 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002208/0.6164, allocations: 1.097 MB / 0.6345 GB, free: 27.77 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.323e-05/0.6164, allocations: 7.188 kB / 0.6345 GB, free: 27.76 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.321e-05/0.6165, allocations: 26.34 kB / 0.6345 GB, free: 27.74 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.916e-05/0.6165, allocations: 20.12 kB / 0.6345 GB, free: 27.74 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002687/0.6192, allocations: 1.004 MB / 0.6355 GB, free: 27.47 MB / 0.4981 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.004461/0.6237, allocations: 4.94 MB / 0.6403 GB, free: 23.62 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002497/0.6262, allocations: 0.8997 MB / 0.6412 GB, free: 23.37 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001227/0.6274, allocations: 483.1 kB / 0.6417 GB, free: 23.24 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009984/0.6284, allocations: 1.601 MB / 0.6432 GB, free: 21.42 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001455/0.6299, allocations: 0.5684 MB / 0.6438 GB, free: 21.25 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=61): time 3.086e-06/0.6299, allocations: 3.984 kB / 0.6438 GB, free: 21.24 MB / 0.4981 GB Notification: Performance of matching and sorting (n=61): time 0.00419/0.6341, allocations: 1.488 MB / 0.6452 GB, free: 20.81 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.307e-05/0.6342, allocations: 58.22 kB / 0.6453 GB, free: 20.75 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001284/0.6355, allocations: 1.117 MB / 0.6464 GB, free: 20.33 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.069e-05/0.6356, allocations: 42.08 kB / 0.6464 GB, free: 20.29 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003178/0.6359, allocations: 0.5443 MB / 0.6469 GB, free: 19.85 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001585/0.636, allocations: 209.2 kB / 0.6471 GB, free: 19.69 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002524/0.6363, allocations: 159.8 kB / 0.6473 GB, free: 19.62 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.468e-05/0.6364, allocations: 339.8 kB / 0.6476 GB, free: 19.3 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001347/0.6377, allocations: 449.5 kB / 0.648 GB, free: 19.19 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001502/0.6392, allocations: 0.7191 MB / 0.6488 GB, free: 18.75 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002756/0.642, allocations: 1.122 MB / 0.6498 GB, free: 18.17 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.792e-06/0.642, allocations: 2.094 kB / 0.6498 GB, free: 18.17 MB / 0.4981 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0037/0.6457, allocations: 1.274 MB / 0.6511 GB, free: 17.74 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.727e-05/0.6458, allocations: 9.75 kB / 0.6511 GB, free: 17.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.75e-05/0.6458, allocations: 11.94 kB / 0.6511 GB, free: 17.74 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.186e-05/0.6458, allocations: 11.97 kB / 0.6511 GB, free: 17.74 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001247/0.6471, allocations: 268.2 kB / 0.6514 GB, free: 17.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.377e-05/0.6471, allocations: 17.42 kB / 0.6514 GB, free: 17.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001427/0.6486, allocations: 194.3 kB / 0.6516 GB, free: 17.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001478/0.6487, allocations: 52.08 kB / 0.6516 GB, free: 17.63 MB / 0.4981 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.0005669/0.6493, allocations: 292.7 kB / 0.6519 GB, free: 17.43 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002133/0.6495, allocations: 123.2 kB / 0.652 GB, free: 17.37 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003843/0.6534, allocations: 1.366 MB / 0.6534 GB, free: 16.95 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-05/0.6534, allocations: 9.5 kB / 0.6534 GB, free: 16.95 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.6534, allocations: 4.938 kB / 0.6534 GB, free: 16.95 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/0.6534, allocations: 3.234 kB / 0.6534 GB, free: 16.95 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005041/0.6585, allocations: 2.368 MB / 0.6557 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.487e-06/0.6585, allocations: 1.938 kB / 0.6557 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001007/0.6595, allocations: 194.6 kB / 0.6559 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.768e-06/0.6595, allocations: 4.594 kB / 0.6559 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.024e-05/0.6596, allocations: 29.14 kB / 0.6559 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.173e-06/0.6596, allocations: 4.781 kB / 0.6559 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.6596, allocations: 6.344 kB / 0.6559 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004888/0.6645, allocations: 1.967 MB / 0.6578 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005625/0.6651, allocations: 279.4 kB / 0.6581 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001559/0.6653, allocations: 14.7 kB / 0.6581 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009659/0.6662, allocations: 122.8 kB / 0.6582 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000131/0.6664, allocations: 51.7 kB / 0.6583 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.395e-05/0.6665, allocations: 35.28 kB / 0.6583 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001028/0.6675, allocations: 0.7632 MB / 0.6591 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6675, allocations: 0 / 0.6591 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001224/0.6687, allocations: 352 kB / 0.6594 GB, free: 14.52 MB / 0.4981 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.001417/0.6702, allocations: 0.6532 MB / 0.66 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003496/0.6737, allocations: 1.183 MB / 0.6612 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.6737, allocations: 0 / 0.6612 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001622/0.6753, allocations: 0.5734 MB / 0.6618 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002151/0.6775, allocations: 466 kB / 0.6622 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004779/0.6823, allocations: 2.729 MB / 0.6649 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005889/0.6829, allocations: 1.107 MB / 0.6659 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001264/0.6842, allocations: 244.3 kB / 0.6662 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000325/0.6845, allocations: 112 kB / 0.6663 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of SimCode: time 1.613e-06/0.6845, allocations: 0 / 0.6663 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of Templates: time 0.03712/0.7216, allocations: 19.7 MB / 0.6855 GB, free: 4.309 MB / 0.4981 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)