Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001484/0.001484, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001632/0.001632, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.383/1.383, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.842/0.842, allocations: 132.2 MB / 423.3 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001534, allocations: 67.91 kB / 0.5024 GB, free: 11.62 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3869/0.3884, allocations: 80.19 MB / 0.5807 GB, free: 27.26 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02318/0.4117, allocations: 29.33 MB / 0.6094 GB, free: 0.8398 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01051/0.4222, allocations: 6.872 MB / 0.6161 GB, free: 9.984 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001686/0.424, allocations: 47.69 kB / 0.6161 GB, free: 9.938 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001923/0.4259, allocations: 0.6992 MB / 0.6168 GB, free: 9.234 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004275/0.4303, allocations: 1.45 MB / 0.6182 GB, free: 7.777 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003243/0.4335, allocations: 1.155 MB / 0.6194 GB, free: 6.637 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003556/0.4371, allocations: 2.477 MB / 0.6218 GB, free: 4.152 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001613/0.4387, allocations: 0.7923 MB / 0.6226 GB, free: 3.344 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002309/0.441, allocations: 1.008 MB / 0.6235 GB, free: 2.332 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001442/0.4425, allocations: 0.8052 MB / 0.6243 GB, free: 1.523 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002861/0.4428, allocations: 68 kB / 0.6244 GB, free: 1.457 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002248/0.4451, allocations: 0.811 MB / 0.6252 GB, free: 0.6445 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004495/0.4455, allocations: 278.9 kB / 0.6255 GB, free: 380 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009717/0.4465, allocations: 0.5554 MB / 0.626 GB, free: 15.81 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003058/0.4496, allocations: 1.604 MB / 0.6276 GB, free: 14.2 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.4496, allocations: 0 / 0.6276 GB, free: 14.2 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4496, allocations: 0 / 0.6276 GB, free: 14.2 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.201e-05/0.4497, allocations: 0 / 0.6276 GB, free: 14.2 MB / 478.1 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.003507/0.4532, allocations: 1.57 MB / 0.6291 GB, free: 12.58 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/0.4532, allocations: 12.03 kB / 0.6291 GB, free: 12.57 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003694/0.4569, allocations: 0.5807 MB / 0.6297 GB, free: 11.98 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001612/0.4586, allocations: 0.8208 MB / 0.6305 GB, free: 11.11 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.444e-05/0.4587, allocations: 58 kB / 0.6305 GB, free: 11.05 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001824/0.4589, allocations: 68 kB / 0.6306 GB, free: 10.98 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002754/0.4616, allocations: 1.099 MB / 0.6317 GB, free: 9.809 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.371e-05/0.4617, allocations: 8 kB / 0.6317 GB, free: 9.801 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-05/0.4618, allocations: 31.94 kB / 0.6317 GB, free: 9.77 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.912e-05/0.4618, allocations: 16 kB / 0.6317 GB, free: 9.754 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003285/0.4651, allocations: 1.004 MB / 0.6327 GB, free: 8.75 MB / 478.1 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.006609/0.4717, allocations: 4.951 MB / 0.6375 GB, free: 3.512 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003128/0.4748, allocations: 0.8989 MB / 0.6384 GB, free: 2.602 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00159/0.4765, allocations: 499.1 kB / 0.6389 GB, free: 2.113 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001517/0.478, allocations: 1.587 MB / 0.6404 GB, free: 180 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001841/0.4799, allocations: 0.5729 MB / 0.641 GB, free: 15.58 MB / 494.1 MB Notification: Performance of pre-optimization done (n=61): time 3.927e-06/0.4799, allocations: 0 / 0.641 GB, free: 15.58 MB / 494.1 MB Notification: Performance of matching and sorting (n=61): time 0.005183/0.4851, allocations: 1.481 MB / 0.6425 GB, free: 14.1 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.318e-05/0.4852, allocations: 59.97 kB / 0.6425 GB, free: 14.03 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001535/0.4867, allocations: 1.12 MB / 0.6436 GB, free: 12.89 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.128e-05/0.4868, allocations: 41.7 kB / 0.6436 GB, free: 12.85 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005194/0.4873, allocations: 0.5434 MB / 0.6442 GB, free: 12.3 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002235/0.4876, allocations: 209.1 kB / 0.6444 GB, free: 12.09 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002861/0.4879, allocations: 166.5 kB / 0.6445 GB, free: 11.92 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.488, allocations: 341.9 kB / 0.6449 GB, free: 11.58 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001568/0.4896, allocations: 449.6 kB / 0.6453 GB, free: 11.14 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001815/0.4914, allocations: 0.7203 MB / 0.646 GB, free: 10.31 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003282/0.4947, allocations: 1.113 MB / 0.6471 GB, free: 9.094 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-05/0.4947, allocations: 3.938 kB / 0.6471 GB, free: 9.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.004031/0.4988, allocations: 1.278 MB / 0.6483 GB, free: 7.801 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.859e-05/0.4988, allocations: 8 kB / 0.6483 GB, free: 7.793 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.62e-05/0.4989, allocations: 8 kB / 0.6483 GB, free: 7.785 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.295e-05/0.4989, allocations: 15.98 kB / 0.6484 GB, free: 7.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001292/0.5002, allocations: 263.7 kB / 0.6486 GB, free: 7.512 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.131e-05/0.5002, allocations: 19.92 kB / 0.6486 GB, free: 7.492 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001345/0.5016, allocations: 178.9 kB / 0.6488 GB, free: 7.316 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001264/0.5017, allocations: 47.97 kB / 0.6488 GB, free: 7.27 MB / 494.1 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.0005839/0.5023, allocations: 295.7 kB / 0.6491 GB, free: 6.973 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003323/0.5027, allocations: 118.6 kB / 0.6492 GB, free: 6.855 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004239/0.5069, allocations: 1.36 MB / 0.6506 GB, free: 5.496 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-05/0.507, allocations: 8 kB / 0.6506 GB, free: 5.488 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.507, allocations: 0 / 0.6506 GB, free: 5.488 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/0.507, allocations: 7.969 kB / 0.6506 GB, free: 5.48 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005724/0.5127, allocations: 2.374 MB / 0.6529 GB, free: 3.035 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.184e-05/0.5128, allocations: 4 kB / 0.6529 GB, free: 3.031 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001087/0.5139, allocations: 179.9 kB / 0.6531 GB, free: 2.855 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.564e-05/0.5139, allocations: 4 kB / 0.6531 GB, free: 2.852 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.036e-05/0.514, allocations: 35.91 kB / 0.6531 GB, free: 2.816 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.14e-05/0.514, allocations: 11.92 kB / 0.6531 GB, free: 2.805 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.514, allocations: 3.938 kB / 0.6531 GB, free: 2.801 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005553/0.5196, allocations: 1.969 MB / 0.6551 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005808/0.5202, allocations: 279.3 kB / 0.6553 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002783/0.5205, allocations: 24 kB / 0.6553 GB, free: 492 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001078/0.5216, allocations: 111.8 kB / 0.6555 GB, free: 380 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/0.5217, allocations: 48.44 kB / 0.6555 GB, free: 332 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.228e-05/0.5218, allocations: 43.95 kB / 0.6555 GB, free: 288 kB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001148/0.523, allocations: 0.7638 MB / 0.6563 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.6e-07/0.523, allocations: 0 / 0.6563 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001313/0.5243, allocations: 343.6 kB / 0.6566 GB, free: 15.18 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.001735/0.526, allocations: 0.6551 MB / 0.6573 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004029/0.5301, allocations: 1.177 MB / 0.6584 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/0.5301, allocations: 0 / 0.6584 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001809/0.5319, allocations: 0.5736 MB / 0.659 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002592/0.5345, allocations: 454.8 kB / 0.6594 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005714/0.5402, allocations: 2.421 MB / 0.6618 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008195/0.5411, allocations: 1.103 MB / 0.6628 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004856/0.5416, allocations: 115.4 kB / 0.6629 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of SimCode: time 8.92e-07/0.5416, allocations: 0 / 0.6629 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of Templates: time 0.03164/0.5733, allocations: 19.01 MB / 0.6815 GB, free: 6 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)