Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.00651/0.00651, allocations: 101.2 kB / 15.73 MB, free: 6.055 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.001146/0.001146, allocations: 196.9 kB / 16.68 MB, free: 5.969 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.406/1.406, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7974/0.7974, allocations: 132.2 MB / 422.7 MB, free: 6.543 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 59.22 kB / 0.5814 GB, free: 23.82 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1722, allocations: 80.21 MB / 0.6597 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.6577/0.83, allocations: 193.8 MB / 0.849 GB, free: 212 kB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01094/0.8409, allocations: 5.135 MB / 0.854 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00134/0.8423, allocations: 46.97 kB / 0.854 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001719/0.844, allocations: 0.8328 MB / 0.8549 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0064/0.8505, allocations: 2.691 MB / 0.8575 GB, free: 9.391 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002625/0.8531, allocations: 1.119 MB / 0.8586 GB, free: 8.559 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003433/0.8566, allocations: 2.682 MB / 0.8612 GB, free: 7.035 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001362/0.8579, allocations: 0.9449 MB / 0.8621 GB, free: 6.445 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002078/0.86, allocations: 1.151 MB / 0.8632 GB, free: 5.418 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001211/0.8612, allocations: 0.9846 MB / 0.8642 GB, free: 4.43 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001443/0.8614, allocations: 84 kB / 0.8643 GB, free: 4.348 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003541/0.865, allocations: 1.804 MB / 0.866 GB, free: 2.539 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004678/0.8654, allocations: 454.6 kB / 0.8665 GB, free: 2.094 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0007506/0.8662, allocations: 0.6643 MB / 0.8671 GB, free: 1.426 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003445/0.8696, allocations: 2.235 MB / 0.8693 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.8697, allocations: 0 / 0.8693 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of FrontEnd: time 9.92e-07/0.8697, allocations: 0 / 0.8693 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.689e-05/0.8697, allocations: 0 / 0.8693 GB, free: 15.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.004888/0.8746, allocations: 1.953 MB / 0.8712 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.8746, allocations: 8.031 kB / 0.8712 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005377/0.88, allocations: 0.9032 MB / 0.8721 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00175/0.8818, allocations: 0.9645 MB / 0.873 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.296e-05/0.8819, allocations: 66 kB / 0.8731 GB, free: 11.17 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001878/0.8821, allocations: 103.8 kB / 0.8732 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003518/0.8856, allocations: 1.579 MB / 0.8748 GB, free: 9.461 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.204e-05/0.8856, allocations: 0 / 0.8748 GB, free: 9.461 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001124/0.8857, allocations: 43.97 kB / 0.8748 GB, free: 9.418 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.872e-05/0.8858, allocations: 49.98 kB / 0.8748 GB, free: 9.367 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004954/0.8908, allocations: 1.85 MB / 0.8766 GB, free: 7.516 MB / 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.007662/0.8985, allocations: 4.718 MB / 0.8813 GB, free: 2.559 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004285/0.9028, allocations: 1.569 MB / 0.8828 GB, free: 0.9844 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002194/0.905, allocations: 0.8641 MB / 0.8836 GB, free: 124 kB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001324/0.9063, allocations: 0.9452 MB / 0.8846 GB, free: 14.99 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002399/0.9087, allocations: 0.9144 MB / 0.8854 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=95): time 3.006e-06/0.9087, allocations: 0 / 0.8854 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of matching and sorting (n=95): time 0.00748/0.9162, allocations: 2.45 MB / 0.8878 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.244e-05/0.9163, allocations: 64.41 kB / 0.8879 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001604/0.9179, allocations: 1.201 MB / 0.8891 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.000107/0.918, allocations: 45.7 kB / 0.8891 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004467/0.9185, allocations: 0.5447 MB / 0.8896 GB, free: 9.715 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003149/0.9188, allocations: 331.3 kB / 0.89 GB, free: 9.387 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003678/0.9192, allocations: 182.6 kB / 0.8901 GB, free: 9.203 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.9193, allocations: 345.9 kB / 0.8905 GB, free: 8.859 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002138/0.9214, allocations: 0.6927 MB / 0.8911 GB, free: 8.168 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002328/0.9238, allocations: 0.9152 MB / 0.892 GB, free: 7.184 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004174/0.928, allocations: 1.55 MB / 0.8936 GB, free: 5.578 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.928, allocations: 0 / 0.8936 GB, free: 5.578 MB / 0.6544 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004839/0.9328, allocations: 1.784 MB / 0.8953 GB, free: 3.781 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.515e-05/0.9329, allocations: 8 kB / 0.8953 GB, free: 3.773 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/0.9329, allocations: 4 kB / 0.8953 GB, free: 3.77 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.493e-05/0.9329, allocations: 8 kB / 0.8953 GB, free: 3.762 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001783/0.9347, allocations: 339.9 kB / 0.8956 GB, free: 3.43 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.921e-05/0.9348, allocations: 15.94 kB / 0.8957 GB, free: 3.414 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001608/0.9364, allocations: 234.7 kB / 0.8959 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001367/0.9365, allocations: 47.97 kB / 0.8959 GB, free: 3.137 MB / 0.6544 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.0006415/0.9372, allocations: 340.9 kB / 0.8962 GB, free: 2.797 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000345/0.9375, allocations: 134.4 kB / 0.8964 GB, free: 2.664 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004979/0.9425, allocations: 1.809 MB / 0.8981 GB, free: 0.8516 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.175e-05/0.9425, allocations: 12 kB / 0.8982 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.9426, allocations: 1.125 kB / 0.8982 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.9426, allocations: 3.984 kB / 0.8982 GB, free: 0.8359 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007243/0.9498, allocations: 3.328 MB / 0.9014 GB, free: 13.4 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/0.9498, allocations: 4 kB / 0.9014 GB, free: 13.4 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001593/0.9514, allocations: 288.1 kB / 0.9017 GB, free: 13.12 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.528e-05/0.9515, allocations: 8 kB / 0.9017 GB, free: 13.11 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001101/0.9516, allocations: 35.97 kB / 0.9017 GB, free: 13.07 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.44e-05/0.9516, allocations: 12.44 kB / 0.9017 GB, free: 13.06 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.9516, allocations: 4 kB / 0.9017 GB, free: 13.06 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009346/0.961, allocations: 2.843 MB / 0.9045 GB, free: 10.15 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009498/0.962, allocations: 323.2 kB / 0.9048 GB, free: 9.816 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000377/0.9623, allocations: 28.81 kB / 0.9049 GB, free: 9.789 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002145/0.9645, allocations: 155.8 kB / 0.905 GB, free: 9.637 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000235/0.9648, allocations: 72.5 kB / 0.9051 GB, free: 9.566 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000149/0.9649, allocations: 35.97 kB / 0.9051 GB, free: 9.531 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001901/0.9668, allocations: 0.8354 MB / 0.9059 GB, free: 8.691 MB / 0.67 GB Notification: Performance of sort global known variables: time 2e-07/0.9669, allocations: 0 / 0.9059 GB, free: 8.691 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001799/0.9687, allocations: 343.7 kB / 0.9063 GB, free: 8.355 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.001812/0.9705, allocations: 0.536 MB / 0.9068 GB, free: 8.012 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.006393/0.9769, allocations: 1.63 MB / 0.9084 GB, free: 6.383 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/0.9769, allocations: 4.25 kB / 0.9084 GB, free: 6.379 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.003252/0.9802, allocations: 0.8358 MB / 0.9092 GB, free: 5.539 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003919/0.9841, allocations: 0.6281 MB / 0.9098 GB, free: 4.938 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009247/0.9934, allocations: 2.967 MB / 0.9127 GB, free: 1.891 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001285/0.9947, allocations: 1.187 MB / 0.9139 GB, free: 0.6719 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.00194/0.9967, allocations: 366 kB / 0.9142 GB, free: 320 kB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006292/0.9973, allocations: 119.4 kB / 0.9143 GB, free: 200 kB / 0.67 GB Notification: Performance of SimCode: time 7.21e-07/0.9973, allocations: 0 / 0.9143 GB, free: 200 kB / 0.67 GB Notification: Performance of Templates: time 0.05859/1.056, allocations: 23.91 MB / 0.9377 GB, free: 8.523 MB / 0.7012 GB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)