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/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,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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 109 kB / 16.41 MB, free: 6.449 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.001277/0.001277, allocations: 185.5 kB / 17.34 MB, free: 5.738 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.409/1.409, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8509/0.8509, allocations: 135.2 MB / 426.4 MB, free: 4.09 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 66.58 kB / 0.5864 GB, free: 21.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1876/0.1896, allocations: 80.93 MB / 0.6654 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.689/0.8786, allocations: 194.3 MB / 0.8552 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009831/0.8884, allocations: 5.142 MB / 0.8602 GB, free: 5.949 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001573/0.89, allocations: 51.94 kB / 0.8603 GB, free: 5.926 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002099/0.8921, allocations: 0.8322 MB / 0.8611 GB, free: 5.305 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.007108/0.8992, allocations: 2.692 MB / 0.8637 GB, free: 3.305 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003173/0.9023, allocations: 1.113 MB / 0.8648 GB, free: 2.477 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004354/0.9067, allocations: 2.69 MB / 0.8674 GB, free: 404 kB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001539/0.9082, allocations: 0.8041 MB / 0.8682 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002476/0.9107, allocations: 1.152 MB / 0.8693 GB, free: 14.42 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001808/0.9125, allocations: 0.9846 MB / 0.8703 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002315/0.9128, allocations: 91.94 kB / 0.8704 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003781/0.9165, allocations: 1.797 MB / 0.8721 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005723/0.9171, allocations: 458.5 kB / 0.8726 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0009631/0.9181, allocations: 0.6643 MB / 0.8732 GB, free: 10.43 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004245/0.9223, allocations: 2.238 MB / 0.8754 GB, free: 8.18 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.9223, allocations: 0 / 0.8754 GB, free: 8.18 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.974e-06/0.9223, allocations: 0 / 0.8754 GB, free: 8.18 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.198e-05/0.9223, allocations: 0 / 0.8754 GB, free: 8.18 MB / 0.6387 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.00568/0.928, allocations: 2.013 MB / 0.8774 GB, free: 6.105 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.9281, allocations: 13.09 kB / 0.8774 GB, free: 6.094 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005602/0.9337, allocations: 0.9002 MB / 0.8783 GB, free: 5.191 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002192/0.9359, allocations: 0.9889 MB / 0.8792 GB, free: 4.148 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.529e-05/0.9359, allocations: 66 kB / 0.8793 GB, free: 4.082 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002007/0.9361, allocations: 88 kB / 0.8794 GB, free: 3.996 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004051/0.9402, allocations: 1.591 MB / 0.8809 GB, free: 2.375 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.474e-05/0.9402, allocations: 0 / 0.8809 GB, free: 2.375 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001168/0.9403, allocations: 32 kB / 0.881 GB, free: 2.344 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.087e-05/0.9404, allocations: 49.98 kB / 0.881 GB, free: 2.293 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005541/0.946, allocations: 1.846 MB / 0.8828 GB, free: 460 kB / 0.6387 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.00848/0.9544, allocations: 4.743 MB / 0.8874 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00462/0.9591, allocations: 1.517 MB / 0.8889 GB, free: 9.945 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002501/0.9616, allocations: 0.8272 MB / 0.8897 GB, free: 9.117 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001664/0.9632, allocations: 0.9373 MB / 0.8907 GB, free: 7.996 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003023/0.9662, allocations: 0.9136 MB / 0.8915 GB, free: 7.07 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=95): time 4.889e-06/0.9662, allocations: 0 / 0.8915 GB, free: 7.07 MB / 0.6544 GB Notification: Performance of matching and sorting (n=95): time 0.008492/0.9747, allocations: 2.459 MB / 0.8939 GB, free: 4.605 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.647e-05/0.9748, allocations: 60.41 kB / 0.894 GB, free: 4.535 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001795/0.9766, allocations: 1.205 MB / 0.8952 GB, free: 3.32 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001641/0.9768, allocations: 49.69 kB / 0.8952 GB, free: 3.266 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005445/0.9773, allocations: 0.5376 MB / 0.8958 GB, free: 2.723 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003845/0.9777, allocations: 349 kB / 0.8961 GB, free: 2.379 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003892/0.9781, allocations: 182.6 kB / 0.8963 GB, free: 2.191 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002138/0.9783, allocations: 345.9 kB / 0.8966 GB, free: 1.848 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002306/0.9806, allocations: 0.7005 MB / 0.8973 GB, free: 1.148 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002498/0.9831, allocations: 0.9151 MB / 0.8982 GB, free: 172 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004696/0.9878, allocations: 1.558 MB / 0.8997 GB, free: 14.55 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.9878, allocations: 0 / 0.8997 GB, free: 14.55 MB / 0.67 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005479/0.9933, allocations: 1.784 MB / 0.9014 GB, free: 12.76 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.86e-05/0.9933, allocations: 8 kB / 0.9014 GB, free: 12.75 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.384e-05/0.9933, allocations: 4 kB / 0.9014 GB, free: 12.75 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.535e-05/0.9934, allocations: 8 kB / 0.9015 GB, free: 12.74 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001789/0.9951, allocations: 339.9 kB / 0.9018 GB, free: 12.41 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.257e-05/0.9952, allocations: 15.92 kB / 0.9018 GB, free: 12.39 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001671/0.9968, allocations: 243 kB / 0.902 GB, free: 12.16 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001276/0.997, allocations: 47.97 kB / 0.9021 GB, free: 12.11 MB / 0.67 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.0006651/0.9976, allocations: 331.7 kB / 0.9024 GB, free: 11.78 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002785/0.9979, allocations: 139.1 kB / 0.9025 GB, free: 11.64 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007303/1.005, allocations: 1.81 MB / 0.9043 GB, free: 9.82 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.145e-05/1.005, allocations: 12 kB / 0.9043 GB, free: 9.809 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/1.005, allocations: 0 / 0.9043 GB, free: 9.809 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.653e-05/1.005, allocations: 3.984 kB / 0.9043 GB, free: 9.805 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01221/1.017, allocations: 3.332 MB / 0.9076 GB, free: 6.363 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.011e-05/1.017, allocations: 7.984 kB / 0.9076 GB, free: 6.355 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002528/1.02, allocations: 290 kB / 0.9078 GB, free: 6.074 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.267e-05/1.02, allocations: 8 kB / 0.9078 GB, free: 6.066 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001667/1.02, allocations: 31.97 kB / 0.9079 GB, free: 6.035 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.867e-05/1.02, allocations: 15.94 kB / 0.9079 GB, free: 6.02 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.055e-06/1.02, allocations: 4 kB / 0.9079 GB, free: 6.016 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01177/1.032, allocations: 2.848 MB / 0.9107 GB, free: 3.105 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001142/1.033, allocations: 331.9 kB / 0.911 GB, free: 2.762 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000339/1.033, allocations: 27.98 kB / 0.911 GB, free: 2.734 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002075/1.036, allocations: 159.8 kB / 0.9112 GB, free: 2.578 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002382/1.036, allocations: 68.45 kB / 0.9112 GB, free: 2.512 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001644/1.036, allocations: 40.06 kB / 0.9113 GB, free: 2.473 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001779/1.038, allocations: 0.8392 MB / 0.9121 GB, free: 1.629 MB / 0.67 GB Notification: Performance of sort global known variables: time 1e-07/1.038, allocations: 0 / 0.9121 GB, free: 1.629 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001864/1.04, allocations: 347.6 kB / 0.9124 GB, free: 1.289 MB / 0.67 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.002609/1.042, allocations: 0.5367 MB / 0.913 GB, free: 0.918 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.007737/1.05, allocations: 1.587 MB / 0.9145 GB, free: 15.33 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/1.05, allocations: 0 / 0.9145 GB, free: 15.33 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.003947/1.054, allocations: 0.8087 MB / 0.9153 GB, free: 14.52 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004403/1.058, allocations: 0.6178 MB / 0.9159 GB, free: 13.92 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009843/1.068, allocations: 3.075 MB / 0.9189 GB, free: 10.75 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001157/1.069, allocations: 1.175 MB / 0.92 GB, free: 9.547 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00083/1.07, allocations: 131.4 kB / 0.9202 GB, free: 9.418 MB / 0.6856 GB Notification: Performance of SimCode: time 1.643e-06/1.07, allocations: 0 / 0.9202 GB, free: 9.418 MB / 0.6856 GB Notification: Performance of Templates: time 0.04221/1.112, allocations: 21.81 MB / 0.9415 GB, free: 3.711 MB / 0.7012 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)