Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001525/0.001525, allocations: 183.2 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.7242/0.7242, 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.444/1.444, allocations: 222.9 MB / 404.7 MB, free: 6.105 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.001037/0.001037, allocations: 103.4 kB / 485.9 MB, free: 7.25 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001691/0.001691, allocations: 55.92 kB / 0.5636 GB, free: 69.93 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1843/0.186, allocations: 80.42 MB / 0.6421 GB, free: 5.438 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.5622/0.7483, allocations: 191.5 MB / 0.8292 GB, free: 1.598 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.009507/0.7578, allocations: 5.192 MB / 0.8343 GB, free: 12.39 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001464/0.7593, allocations: 47.69 kB / 0.8343 GB, free: 12.35 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.001863/0.7612, allocations: 0.7077 MB / 0.835 GB, free: 11.64 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.007618/0.7689, allocations: 2.452 MB / 0.8374 GB, free: 9.176 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.003621/0.7726, allocations: 0.9944 MB / 0.8384 GB, free: 8.191 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.004603/0.7772, allocations: 3.631 MB / 0.8419 GB, free: 4.551 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001526/0.7787, allocations: 0.8611 MB / 0.8427 GB, free: 3.676 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002463/0.7812, allocations: 1.035 MB / 0.8438 GB, free: 2.637 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001398/0.7826, allocations: 1.027 MB / 0.8448 GB, free: 1.605 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001464/0.7828, allocations: 56 kB / 0.8448 GB, free: 1.551 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003752/0.7865, allocations: 2.073 MB / 0.8468 GB, free: 15.47 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0004674/0.787, allocations: 430.6 kB / 0.8472 GB, free: 15.05 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0007151/0.7877, allocations: 0.6339 MB / 0.8479 GB, free: 14.41 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.003105/0.7909, allocations: 2.27 MB / 0.8501 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.7909, allocations: 3.938 kB / 0.8501 GB, free: 12.13 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.052e-06/0.7909, allocations: 0 / 0.8501 GB, free: 12.13 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.759e-05/0.7909, allocations: 0 / 0.8501 GB, free: 12.13 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.004795/0.7957, allocations: 1.957 MB / 0.852 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.7958, allocations: 12.03 kB / 0.852 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005322/0.8011, allocations: 0.8916 MB / 0.8529 GB, free: 9.215 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00162/0.8027, allocations: 0.9098 MB / 0.8538 GB, free: 8.246 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.732e-05/0.8028, allocations: 66 kB / 0.8538 GB, free: 8.184 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001683/0.803, allocations: 95.97 kB / 0.8539 GB, free: 8.09 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003613/0.8066, allocations: 1.579 MB / 0.8555 GB, free: 6.477 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.153e-05/0.8066, allocations: 4 kB / 0.8555 GB, free: 6.473 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001114/0.8068, allocations: 41.48 kB / 0.8555 GB, free: 6.434 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.14e-05/0.8068, allocations: 49.92 kB / 0.8556 GB, free: 6.387 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005337/0.8122, allocations: 1.846 MB / 0.8574 GB, free: 4.535 MB / 0.5886 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.007725/0.8199, allocations: 4.738 MB / 0.862 GB, free: 15.57 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004795/0.8247, allocations: 1.564 MB / 0.8635 GB, free: 14 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002788/0.8276, allocations: 0.8546 MB / 0.8643 GB, free: 13.14 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001447/0.829, allocations: 0.953 MB / 0.8653 GB, free: 12 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002773/0.8318, allocations: 0.9066 MB / 0.8662 GB, free: 11.08 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=95): time 3.176e-06/0.8318, allocations: 4 kB / 0.8662 GB, free: 11.08 MB / 0.6042 GB Notification: Performance of matching and sorting (n=95): time 0.007807/0.8396, allocations: 2.451 MB / 0.8686 GB, free: 8.621 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.743e-05/0.8397, allocations: 64.39 kB / 0.8686 GB, free: 8.547 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001377/0.8411, allocations: 1.197 MB / 0.8698 GB, free: 7.34 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.461e-05/0.8412, allocations: 49.64 kB / 0.8698 GB, free: 7.285 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003992/0.8416, allocations: 0.5409 MB / 0.8704 GB, free: 6.738 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002744/0.8419, allocations: 331.3 kB / 0.8707 GB, free: 6.41 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003485/0.8423, allocations: 190.5 kB / 0.8709 GB, free: 6.219 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.8424, allocations: 345.9 kB / 0.8712 GB, free: 5.875 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002238/0.8446, allocations: 0.6888 MB / 0.8719 GB, free: 5.184 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002426/0.8471, allocations: 0.9113 MB / 0.8728 GB, free: 4.207 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004473/0.8516, allocations: 1.558 MB / 0.8743 GB, free: 2.59 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.8516, allocations: 0 / 0.8743 GB, free: 2.59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.0051/0.8567, allocations: 1.776 MB / 0.876 GB, free: 0.8047 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/0.8567, allocations: 9.875 kB / 0.876 GB, free: 0.7969 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.8567, allocations: 8.438 kB / 0.876 GB, free: 0.7891 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.247e-05/0.8568, allocations: 12 kB / 0.876 GB, free: 0.7773 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001803/0.8586, allocations: 347.4 kB / 0.8764 GB, free: 448 kB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.886e-05/0.8586, allocations: 10.19 kB / 0.8764 GB, free: 440 kB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001616/0.8602, allocations: 250.7 kB / 0.8766 GB, free: 188 kB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001076/0.8604, allocations: 47.97 kB / 0.8767 GB, free: 140 kB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (121): * Single equations (assignments): 121 * 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.0005468/0.8609, allocations: 345.1 kB / 0.877 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001967/0.8611, allocations: 138.2 kB / 0.8771 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005228/0.8663, allocations: 1.799 MB / 0.8789 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.127e-05/0.8664, allocations: 8 kB / 0.8789 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.8664, allocations: 0 / 0.8789 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.989e-06/0.8664, allocations: 7.984 kB / 0.8789 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007888/0.8743, allocations: 3.335 MB / 0.8822 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.715e-06/0.8743, allocations: 4 kB / 0.8822 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001618/0.876, allocations: 292 kB / 0.8824 GB, free: 10.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.387e-05/0.876, allocations: 11.98 kB / 0.8824 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.954e-05/0.8761, allocations: 35.97 kB / 0.8825 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.256e-06/0.8761, allocations: 8 kB / 0.8825 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.8761, allocations: 7.938 kB / 0.8825 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01346/0.8896, allocations: 6.751 MB / 0.8891 GB, free: 2.922 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005954/0.8902, allocations: 319.2 kB / 0.8894 GB, free: 2.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001703/0.8904, allocations: 28.11 kB / 0.8894 GB, free: 2.562 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001449/0.8918, allocations: 175.8 kB / 0.8896 GB, free: 2.391 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001673/0.892, allocations: 76.44 kB / 0.8897 GB, free: 2.316 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.319e-05/0.8921, allocations: 39.97 kB / 0.8897 GB, free: 2.277 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0009426/0.8931, allocations: 0.8275 MB / 0.8905 GB, free: 1.445 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.5e-07/0.8931, allocations: 0 / 0.8905 GB, free: 1.445 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001241/0.8943, allocations: 435.5 kB / 0.8909 GB, free: 1.02 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,heaCooUnl.Xi) * 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 (95): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.001217/0.8956, allocations: 0.5311 MB / 0.8914 GB, free: 0.6484 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.004804/0.9004, allocations: 1.626 MB / 0.893 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.002e-06/0.9004, allocations: 4 kB / 0.893 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.002393/0.9028, allocations: 0.8321 MB / 0.8938 GB, free: 14.19 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003193/0.906, allocations: 0.596 MB / 0.8944 GB, free: 13.6 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007132/0.9132, allocations: 3.901 MB / 0.8982 GB, free: 9.605 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00089/0.9141, allocations: 1.219 MB / 0.8994 GB, free: 8.359 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0018/0.9159, allocations: 366 kB / 0.8998 GB, free: 8 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004969/0.9164, allocations: 115.4 kB / 0.8999 GB, free: 7.887 MB / 0.6355 GB Notification: Performance of SimCode: time 7.41e-07/0.9164, allocations: 0 / 0.8999 GB, free: 7.887 MB / 0.6355 GB Notification: Performance of Templates: time 0.03975/0.9562, allocations: 23.54 MB / 0.9229 GB, free: 0.5742 MB / 0.6511 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)