Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001568/0.001568, allocations: 102.3 kB / 16.4 MB, free: 6.023 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.001412/0.001412, allocations: 191.6 kB / 17.34 MB, free: 5.605 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.439/1.439, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8416/0.8416, allocations: 135.2 MB / 426.4 MB, free: 4.066 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 68.42 kB / 0.5864 GB, free: 21.45 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.1715, allocations: 80.93 MB / 0.6654 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.6128/0.7843, allocations: 194.3 MB / 0.8552 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009614/0.7939, allocations: 5.148 MB / 0.8602 GB, free: 5.84 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001902/0.7958, allocations: 49.53 kB / 0.8603 GB, free: 5.816 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002336/0.7981, allocations: 0.8292 MB / 0.8611 GB, free: 5.199 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.007074/0.8052, allocations: 2.69 MB / 0.8637 GB, free: 3.199 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.00303/0.8083, allocations: 1.109 MB / 0.8648 GB, free: 2.375 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004241/0.8125, allocations: 2.624 MB / 0.8674 GB, free: 364 kB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001615/0.8141, allocations: 0.7639 MB / 0.8681 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002633/0.8167, allocations: 1.117 MB / 0.8692 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0018/0.8185, allocations: 0.9534 MB / 0.8701 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002528/0.8188, allocations: 80 kB / 0.8702 GB, free: 13.42 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003923/0.8227, allocations: 1.796 MB / 0.872 GB, free: 11.62 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0006803/0.8234, allocations: 442.5 kB / 0.8724 GB, free: 11.19 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0009844/0.8244, allocations: 0.6448 MB / 0.873 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004804/0.8292, allocations: 2.179 MB / 0.8751 GB, free: 8.352 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.8292, allocations: 0 / 0.8751 GB, free: 8.352 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.453e-06/0.8292, allocations: 0 / 0.8751 GB, free: 8.352 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 3.313e-05/0.8292, allocations: 0 / 0.8751 GB, free: 8.352 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.005631/0.8349, allocations: 1.978 MB / 0.8771 GB, free: 6.316 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.8349, allocations: 9.109 kB / 0.8771 GB, free: 6.309 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00412/0.839, allocations: 0.6702 MB / 0.8777 GB, free: 5.637 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001962/0.841, allocations: 0.9576 MB / 0.8787 GB, free: 4.621 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.646e-05/0.8411, allocations: 70 kB / 0.8787 GB, free: 4.555 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001962/0.8413, allocations: 84 kB / 0.8788 GB, free: 4.473 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003432/0.8447, allocations: 1.474 MB / 0.8803 GB, free: 2.922 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.563e-05/0.8447, allocations: 7.625 kB / 0.8803 GB, free: 2.918 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000112/0.8448, allocations: 39.92 kB / 0.8803 GB, free: 2.879 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-05/0.8449, allocations: 57.92 kB / 0.8804 GB, free: 2.824 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004411/0.8493, allocations: 1.522 MB / 0.8818 GB, free: 1.301 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.00839/0.8577, allocations: 5.465 MB / 0.8872 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003975/0.8617, allocations: 1.255 MB / 0.8884 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001813/0.8635, allocations: 0.6233 MB / 0.889 GB, free: 9.668 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009285/0.8644, allocations: 0.5812 MB / 0.8896 GB, free: 8.977 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001973/0.8664, allocations: 0.7069 MB / 0.8903 GB, free: 8.254 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=80): time 2.495e-06/0.8664, allocations: 0 / 0.8903 GB, free: 8.254 MB / 0.6544 GB Notification: Performance of matching and sorting (n=80): time 0.006069/0.8725, allocations: 1.883 MB / 0.8921 GB, free: 6.367 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.584e-05/0.8725, allocations: 72.05 kB / 0.8922 GB, free: 6.281 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001701/0.8742, allocations: 1.235 MB / 0.8934 GB, free: 5.039 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.000136/0.8744, allocations: 41.7 kB / 0.8934 GB, free: 4.992 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005845/0.875, allocations: 0.5878 MB / 0.894 GB, free: 4.398 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003479/0.8753, allocations: 293.6 kB / 0.8943 GB, free: 4.109 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003508/0.8757, allocations: 182.5 kB / 0.8945 GB, free: 3.926 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001753/0.8758, allocations: 341.9 kB / 0.8948 GB, free: 3.586 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00174/0.8776, allocations: 0.5367 MB / 0.8953 GB, free: 3.047 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002019/0.8796, allocations: 0.8256 MB / 0.8961 GB, free: 2.109 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003616/0.8832, allocations: 1.328 MB / 0.8974 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.307e-05/0.8832, allocations: 7.938 kB / 0.8974 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004364/0.8876, allocations: 1.491 MB / 0.8989 GB, free: 15.17 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.737e-05/0.8876, allocations: 12 kB / 0.8989 GB, free: 15.16 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/0.8876, allocations: 4 kB / 0.8989 GB, free: 15.16 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.92e-05/0.8877, allocations: 12 kB / 0.8989 GB, free: 15.14 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001468/0.8891, allocations: 304.2 kB / 0.8992 GB, free: 14.85 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.045e-05/0.8892, allocations: 16 kB / 0.8992 GB, free: 14.83 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001401/0.8906, allocations: 195.1 kB / 0.8994 GB, free: 14.64 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001188/0.8907, allocations: 55.91 kB / 0.8994 GB, free: 14.59 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (117): * Single equations (assignments): 117 * 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.0006114/0.8913, allocations: 343.6 kB / 0.8998 GB, free: 14.24 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002629/0.8915, allocations: 139.1 kB / 0.8999 GB, free: 14.11 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004201/0.8958, allocations: 1.412 MB / 0.9013 GB, free: 12.68 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.195e-05/0.8958, allocations: 8 kB / 0.9013 GB, free: 12.67 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.8958, allocations: 0 / 0.9013 GB, free: 12.67 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.345e-05/0.8958, allocations: 4.797 kB / 0.9013 GB, free: 12.67 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006519/0.9023, allocations: 2.799 MB / 0.904 GB, free: 9.77 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.534e-05/0.9023, allocations: 8.062 kB / 0.904 GB, free: 9.762 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001271/0.9036, allocations: 219.7 kB / 0.9042 GB, free: 9.547 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.351e-05/0.9036, allocations: 4 kB / 0.9043 GB, free: 9.543 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.582e-05/0.9037, allocations: 29.09 kB / 0.9043 GB, free: 9.516 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.331e-05/0.9037, allocations: 9.266 kB / 0.9043 GB, free: 9.508 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.897e-06/0.9037, allocations: 11.88 kB / 0.9043 GB, free: 9.496 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00596/0.9097, allocations: 2.26 MB / 0.9065 GB, free: 7.176 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006641/0.9103, allocations: 304 kB / 0.9068 GB, free: 6.859 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00021/0.9106, allocations: 19.98 kB / 0.9068 GB, free: 6.84 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00111/0.9117, allocations: 115.9 kB / 0.9069 GB, free: 6.727 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001587/0.9118, allocations: 64.36 kB / 0.907 GB, free: 6.664 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.079e-05/0.9119, allocations: 35.98 kB / 0.907 GB, free: 6.629 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001188/0.9131, allocations: 0.8561 MB / 0.9079 GB, free: 5.77 MB / 0.67 GB Notification: Performance of sort global known variables: time 8e-08/0.9131, allocations: 0 / 0.9079 GB, free: 5.77 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001101/0.9142, allocations: 315.6 kB / 0.9082 GB, free: 5.461 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,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 (80): * Single equations (assignments): 74 * 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.001907/0.9161, allocations: 0.5281 MB / 0.9087 GB, free: 5.094 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004007/0.9201, allocations: 1.251 MB / 0.9099 GB, free: 3.844 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/0.9201, allocations: 256 / 0.9099 GB, free: 3.844 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001924/0.922, allocations: 0.6245 MB / 0.9105 GB, free: 3.219 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002947/0.925, allocations: 0.5923 MB / 0.9111 GB, free: 2.629 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005755/0.9307, allocations: 2.658 MB / 0.9137 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008819/0.9316, allocations: 1.167 MB / 0.9148 GB, free: 14.68 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006301/0.9323, allocations: 123.4 kB / 0.9149 GB, free: 14.56 MB / 0.6856 GB Notification: Performance of SimCode: time 1.493e-06/0.9323, allocations: 0 / 0.9149 GB, free: 14.56 MB / 0.6856 GB Notification: Performance of Templates: time 0.03435/0.9666, allocations: 20.58 MB / 0.935 GB, free: 10.12 MB / 0.7012 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)