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.001204/0.001204, 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.001328/0.001328, allocations: 190.9 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.386/1.386, allocations: 222.9 MB / 239.9 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9862/0.9862, allocations: 135.1 MB / 425.2 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 64.61 kB / 0.5049 GB, free: 5.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1771/0.1784, allocations: 80.93 MB / 0.5839 GB, free: 4.922 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.3787/0.5571, allocations: 29.11 MB / 0.6123 GB, free: 35.61 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0092/0.5663, allocations: 6.838 MB / 0.619 GB, free: 35.09 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001357/0.5677, allocations: 42.22 kB / 0.619 GB, free: 35.08 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001533/0.5693, allocations: 0.6185 MB / 0.6196 GB, free: 34.9 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003604/0.5729, allocations: 1.351 MB / 0.621 GB, free: 34.24 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002714/0.5756, allocations: 1.052 MB / 0.622 GB, free: 33.69 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002486/0.5781, allocations: 2.502 MB / 0.6244 GB, free: 32.56 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009535/0.5791, allocations: 0.7939 MB / 0.6252 GB, free: 32.24 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001564/0.5807, allocations: 1.039 MB / 0.6262 GB, free: 31.78 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000792/0.5815, allocations: 0.845 MB / 0.627 GB, free: 31.44 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001049/0.5816, allocations: 66.75 kB / 0.6271 GB, free: 31.44 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001635/0.5832, allocations: 0.8359 MB / 0.6279 GB, free: 31.11 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.00022/0.5835, allocations: 280 kB / 0.6282 GB, free: 30.97 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000433/0.5839, allocations: 0.554 MB / 0.6287 GB, free: 30.63 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001845/0.5858, allocations: 1.619 MB / 0.6303 GB, free: 30 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.5858, allocations: 0 / 0.6303 GB, free: 30 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.773e-06/0.5858, allocations: 0 / 0.6303 GB, free: 30 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.614e-05/0.5858, allocations: 2.75 kB / 0.6303 GB, free: 30 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.00219/0.588, allocations: 1.573 MB / 0.6318 GB, free: 28.93 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.588, allocations: 9.531 kB / 0.6319 GB, free: 28.93 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003307/0.5914, allocations: 0.5783 MB / 0.6324 GB, free: 28.84 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001039/0.5924, allocations: 0.8091 MB / 0.6332 GB, free: 28.32 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.384e-05/0.5925, allocations: 55.84 kB / 0.6333 GB, free: 28.3 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/0.5926, allocations: 71.25 kB / 0.6333 GB, free: 28.27 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002175/0.5948, allocations: 1.098 MB / 0.6344 GB, free: 27.76 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.5948, allocations: 7.281 kB / 0.6344 GB, free: 27.76 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.311e-05/0.5949, allocations: 29 kB / 0.6344 GB, free: 27.74 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.699e-05/0.5949, allocations: 18.56 kB / 0.6345 GB, free: 27.74 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002741/0.5977, allocations: 1.008 MB / 0.6354 GB, free: 27.46 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.004751/0.6024, allocations: 4.936 MB / 0.6403 GB, free: 23.62 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002653/0.6051, allocations: 0.9022 MB / 0.6411 GB, free: 23.37 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001305/0.6064, allocations: 481.6 kB / 0.6416 GB, free: 23.24 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001064/0.6075, allocations: 1.602 MB / 0.6432 GB, free: 21.42 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001517/0.609, allocations: 0.5629 MB / 0.6437 GB, free: 21.25 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=61): time 2.805e-06/0.609, allocations: 0 / 0.6437 GB, free: 21.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=61): time 0.004431/0.6135, allocations: 1.494 MB / 0.6452 GB, free: 20.8 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.157e-05/0.6135, allocations: 56.91 kB / 0.6452 GB, free: 20.74 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001439/0.615, allocations: 1.116 MB / 0.6463 GB, free: 20.33 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.393e-05/0.615, allocations: 46.67 kB / 0.6464 GB, free: 20.29 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003711/0.6154, allocations: 0.5421 MB / 0.6469 GB, free: 19.85 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001691/0.6156, allocations: 209.9 kB / 0.6471 GB, free: 19.69 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002673/0.6159, allocations: 159.1 kB / 0.6472 GB, free: 19.62 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.085e-05/0.616, allocations: 339.8 kB / 0.6476 GB, free: 19.3 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001466/0.6174, allocations: 450.2 kB / 0.648 GB, free: 19.19 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001637/0.6191, allocations: 0.7169 MB / 0.6487 GB, free: 18.75 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002951/0.622, allocations: 1.117 MB / 0.6498 GB, free: 18.17 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.907e-06/0.6221, allocations: 12.16 kB / 0.6498 GB, free: 18.17 MB / 0.4981 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003782/0.6258, allocations: 1.27 MB / 0.651 GB, free: 17.74 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.964e-05/0.6259, allocations: 9.719 kB / 0.651 GB, free: 17.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.509e-05/0.6259, allocations: 9.031 kB / 0.6511 GB, free: 17.74 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.021e-05/0.6259, allocations: 12.16 kB / 0.6511 GB, free: 17.74 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001337/0.6273, allocations: 270.1 kB / 0.6513 GB, free: 17.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.872e-05/0.6273, allocations: 17.56 kB / 0.6513 GB, free: 17.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0015/0.6289, allocations: 194.5 kB / 0.6515 GB, free: 17.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001214/0.629, allocations: 47.8 kB / 0.6516 GB, free: 17.64 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.0005726/0.6296, allocations: 288.9 kB / 0.6519 GB, free: 17.45 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002137/0.6298, allocations: 123.2 kB / 0.652 GB, free: 17.38 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00414/0.6339, allocations: 1.371 MB / 0.6533 GB, free: 16.95 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.463e-05/0.634, allocations: 9.828 kB / 0.6533 GB, free: 16.95 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.634, allocations: 0 / 0.6533 GB, free: 16.95 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.734e-05/0.634, allocations: 4.812 kB / 0.6533 GB, free: 16.95 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005766/0.6398, allocations: 2.38 MB / 0.6556 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-05/0.6398, allocations: 4.562 kB / 0.6556 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001121/0.641, allocations: 182.8 kB / 0.6558 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.253e-05/0.641, allocations: 4.859 kB / 0.6558 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.14e-05/0.6411, allocations: 24.53 kB / 0.6559 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-05/0.6411, allocations: 10.16 kB / 0.6559 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.6411, allocations: 9.094 kB / 0.6559 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006523/0.6476, allocations: 1.96 MB / 0.6578 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009512/0.6486, allocations: 278.1 kB / 0.658 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002013/0.6488, allocations: 14.89 kB / 0.6581 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00116/0.65, allocations: 119.4 kB / 0.6582 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001529/0.6502, allocations: 60.69 kB / 0.6582 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.641e-05/0.6503, allocations: 33.19 kB / 0.6583 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001219/0.6515, allocations: 0.7633 MB / 0.659 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.51e-07/0.6515, allocations: 0 / 0.659 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001582/0.6531, allocations: 350.5 kB / 0.6593 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.001534/0.6547, allocations: 0.6522 MB / 0.66 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003815/0.6585, allocations: 1.19 MB / 0.6611 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.6585, allocations: 1.406 kB / 0.6611 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00166/0.6602, allocations: 0.5679 MB / 0.6617 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.002169/0.6623, allocations: 460.6 kB / 0.6621 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004948/0.6673, allocations: 2.733 MB / 0.6648 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006407/0.668, allocations: 1.102 MB / 0.6659 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001084/0.6691, allocations: 252.8 kB / 0.6661 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003292/0.6694, allocations: 111.6 kB / 0.6662 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of SimCode: time 9.41e-07/0.6694, allocations: 0 / 0.6662 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of Templates: time 0.03736/0.7068, allocations: 19.71 MB / 0.6855 GB, free: 4.41 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)