Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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_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.009635/0.009635, allocations: 98.36 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.002208/0.002208, allocations: 193.3 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.326/1.326, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7752/0.7752, allocations: 132.2 MB / 422.7 MB, free: 6.512 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 63.19 kB / 0.5814 GB, free: 23.84 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.1707, allocations: 80.21 MB / 0.6597 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.6058/0.7766, allocations: 193.8 MB / 0.849 GB, free: 288 kB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.009648/0.7863, allocations: 5.136 MB / 0.854 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001433/0.7877, allocations: 47 kB / 0.854 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002036/0.7898, allocations: 0.8116 MB / 0.8548 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006641/0.7965, allocations: 2.594 MB / 0.8574 GB, free: 9.539 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.00298/0.7995, allocations: 1.114 MB / 0.8585 GB, free: 8.707 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003801/0.8033, allocations: 2.615 MB / 0.861 GB, free: 7.219 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001665/0.805, allocations: 0.8885 MB / 0.8619 GB, free: 6.668 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00212/0.8071, allocations: 1.086 MB / 0.8629 GB, free: 5.855 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001582/0.8087, allocations: 0.9495 MB / 0.8639 GB, free: 4.902 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002287/0.809, allocations: 76 kB / 0.8639 GB, free: 4.828 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003458/0.8124, allocations: 1.781 MB / 0.8657 GB, free: 3.043 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004927/0.8129, allocations: 434.6 kB / 0.8661 GB, free: 2.617 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0009177/0.8139, allocations: 0.6487 MB / 0.8667 GB, free: 1.965 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.00365/0.8175, allocations: 2.179 MB / 0.8689 GB, free: 15.78 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.8175, allocations: 0 / 0.8689 GB, free: 15.78 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.833e-06/0.8175, allocations: 0 / 0.8689 GB, free: 15.78 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.432e-05/0.8176, allocations: 3.938 kB / 0.8689 GB, free: 15.77 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.005118/0.8227, allocations: 1.982 MB / 0.8708 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.8228, allocations: 8.031 kB / 0.8708 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003836/0.8266, allocations: 0.6701 MB / 0.8715 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001676/0.8283, allocations: 0.9576 MB / 0.8724 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.762e-05/0.8284, allocations: 69.98 kB / 0.8725 GB, free: 11.97 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001776/0.8286, allocations: 91.98 kB / 0.8725 GB, free: 11.88 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003135/0.8317, allocations: 1.466 MB / 0.874 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.368e-05/0.8317, allocations: 7.938 kB / 0.874 GB, free: 10.33 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001101/0.8319, allocations: 39.98 kB / 0.874 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.598e-05/0.8319, allocations: 45.98 kB / 0.8741 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004074/0.836, allocations: 1.519 MB / 0.8756 GB, free: 8.727 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.0074/0.8434, allocations: 5.476 MB / 0.8809 GB, free: 2.961 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003719/0.8472, allocations: 1.286 MB / 0.8822 GB, free: 1.672 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001713/0.8489, allocations: 0.6555 MB / 0.8828 GB, free: 1.012 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008794/0.8498, allocations: 0.5812 MB / 0.8834 GB, free: 328 kB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001878/0.8517, allocations: 0.7108 MB / 0.8841 GB, free: 15.6 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=80): time 4.318e-06/0.8517, allocations: 0 / 0.8841 GB, free: 15.6 MB / 0.6544 GB Notification: Performance of matching and sorting (n=80): time 0.005665/0.8574, allocations: 1.887 MB / 0.8859 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.246e-05/0.8574, allocations: 60.06 kB / 0.886 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001541/0.859, allocations: 1.239 MB / 0.8872 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.447e-05/0.8591, allocations: 45.7 kB / 0.8872 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004668/0.8596, allocations: 0.5839 MB / 0.8878 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002788/0.8599, allocations: 293.6 kB / 0.8881 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003115/0.8602, allocations: 182.5 kB / 0.8882 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.8603, allocations: 349.9 kB / 0.8886 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00157/0.8619, allocations: 0.538 MB / 0.8891 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001788/0.8637, allocations: 0.8211 MB / 0.8899 GB, free: 9.457 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003253/0.867, allocations: 1.324 MB / 0.8912 GB, free: 8.031 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.867, allocations: 0 / 0.8912 GB, free: 8.031 MB / 0.6544 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003882/0.8709, allocations: 1.504 MB / 0.8927 GB, free: 6.52 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.463e-05/0.8709, allocations: 11.98 kB / 0.8927 GB, free: 6.508 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.556e-05/0.8709, allocations: 12.06 kB / 0.8927 GB, free: 6.496 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.04e-05/0.871, allocations: 12 kB / 0.8927 GB, free: 6.484 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001386/0.8724, allocations: 291.5 kB / 0.893 GB, free: 6.199 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.372e-05/0.8724, allocations: 15.94 kB / 0.893 GB, free: 6.184 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001287/0.8737, allocations: 199.1 kB / 0.8932 GB, free: 5.988 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001091/0.8738, allocations: 55.28 kB / 0.8932 GB, free: 5.938 MB / 0.6544 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.0005276/0.8743, allocations: 335.7 kB / 0.8935 GB, free: 5.602 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002372/0.8746, allocations: 143 kB / 0.8937 GB, free: 5.461 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003928/0.8785, allocations: 1.409 MB / 0.8951 GB, free: 4.043 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/0.8785, allocations: 11.94 kB / 0.8951 GB, free: 4.031 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.8786, allocations: 0 / 0.8951 GB, free: 4.031 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.277e-06/0.8786, allocations: 3.984 kB / 0.8951 GB, free: 4.027 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005902/0.8845, allocations: 2.811 MB / 0.8978 GB, free: 1.117 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.018e-05/0.8845, allocations: 7.938 kB / 0.8978 GB, free: 1.109 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001201/0.8857, allocations: 220 kB / 0.898 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.418e-05/0.8858, allocations: 8 kB / 0.898 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-05/0.8859, allocations: 31.97 kB / 0.8981 GB, free: 0.8555 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-05/0.8859, allocations: 13.5 kB / 0.8981 GB, free: 0.8438 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.668e-06/0.8859, allocations: 4 kB / 0.8981 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005823/0.8917, allocations: 2.252 MB / 0.9003 GB, free: 14.52 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006716/0.8924, allocations: 304 kB / 0.9006 GB, free: 14.2 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002539/0.8927, allocations: 20 kB / 0.9006 GB, free: 14.18 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001096/0.8938, allocations: 111.9 kB / 0.9007 GB, free: 14.07 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000156/0.894, allocations: 64.36 kB / 0.9008 GB, free: 14.01 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.024e-05/0.8941, allocations: 35.97 kB / 0.9008 GB, free: 13.98 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001158/0.8952, allocations: 0.8522 MB / 0.9016 GB, free: 13.12 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8952, allocations: 0 / 0.9016 GB, free: 13.12 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001053/0.8963, allocations: 323.6 kB / 0.9019 GB, free: 12.8 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.001379/0.8977, allocations: 0.5396 MB / 0.9025 GB, free: 12.46 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003691/0.9014, allocations: 1.286 MB / 0.9037 GB, free: 11.17 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.652e-06/0.9014, allocations: 4 kB / 0.9037 GB, free: 11.16 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001754/0.9032, allocations: 0.6365 MB / 0.9044 GB, free: 10.53 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00259/0.9058, allocations: 0.5902 MB / 0.9049 GB, free: 9.965 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005045/0.9108, allocations: 2.602 MB / 0.9075 GB, free: 7.277 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007901/0.9116, allocations: 1.178 MB / 0.9086 GB, free: 6.07 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001179/0.9128, allocations: 341.9 kB / 0.9089 GB, free: 5.734 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003863/0.9132, allocations: 111.4 kB / 0.9091 GB, free: 5.625 MB / 0.67 GB Notification: Performance of SimCode: time 6.21e-07/0.9132, allocations: 0 / 0.9091 GB, free: 5.625 MB / 0.67 GB Notification: Performance of Templates: time 0.03545/0.9487, allocations: 22.37 MB / 0.9309 GB, free: 15.48 MB / 0.7012 GB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.makefile (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)