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.0008384/0.0008385, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.0008927/0.0008928, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.157/1.157, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.652/0.652, allocations: 132.4 MB / 423.4 MB, free: 2.078 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002808/0.0002809, allocations: 12.62 kB / 0.5034 GB, free: 4.277 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3256, allocations: 81.57 MB / 0.5831 GB, free: 3.977 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.1633/0.4889, allocations: 176.3 MB / 0.7553 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.006756/0.4957, allocations: 4.889 MB / 0.76 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008084/0.4966, allocations: 39.69 kB / 0.7601 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001259/0.4978, allocations: 0.6179 MB / 0.7607 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003766/0.5016, allocations: 1.886 MB / 0.7625 GB, free: 8.363 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001857/0.5035, allocations: 0.9008 MB / 0.7634 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002892/0.5064, allocations: 3.019 MB / 0.7664 GB, free: 4.445 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001046/0.5074, allocations: 0.7334 MB / 0.7671 GB, free: 3.703 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001358/0.5088, allocations: 0.9844 MB / 0.768 GB, free: 2.715 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009365/0.5098, allocations: 0.9223 MB / 0.7689 GB, free: 1.789 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.063e-05/0.5099, allocations: 44 kB / 0.769 GB, free: 1.746 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001684/0.5116, allocations: 0.9236 MB / 0.7699 GB, free: 0.8203 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003269/0.5119, allocations: 398.7 kB / 0.7703 GB, free: 440 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002144/0.5121, allocations: 268.9 kB / 0.7705 GB, free: 164 kB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001201/0.5133, allocations: 1.348 MB / 0.7718 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.5133, allocations: 3.938 kB / 0.7718 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.22e-07/0.5133, allocations: 4 kB / 0.7718 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.045e-05/0.5134, allocations: 0 / 0.7718 GB, free: 14.8 MB / 0.6075 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.003637/0.517, allocations: 1.697 MB / 0.7735 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.834e-05/0.517, allocations: 8.031 kB / 0.7735 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003057/0.5201, allocations: 0.7006 MB / 0.7742 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00108/0.5212, allocations: 0.8367 MB / 0.775 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.113e-05/0.5212, allocations: 66 kB / 0.7751 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001327/0.5214, allocations: 84 kB / 0.7751 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00257/0.524, allocations: 1.482 MB / 0.7766 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.162e-05/0.524, allocations: 7.938 kB / 0.7766 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.457e-05/0.5241, allocations: 40 kB / 0.7766 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.066e-05/0.5241, allocations: 53.94 kB / 0.7767 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003307/0.5275, allocations: 1.534 MB / 0.7782 GB, free: 8.102 MB / 0.6075 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.005677/0.5331, allocations: 5.479 MB / 0.7835 GB, free: 2.34 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002951/0.5361, allocations: 1.33 MB / 0.7848 GB, free: 1 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001393/0.5375, allocations: 0.6676 MB / 0.7855 GB, free: 336 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007167/0.5382, allocations: 0.5929 MB / 0.7861 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00149/0.5397, allocations: 0.7185 MB / 0.7868 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=80): time 1.993e-06/0.5397, allocations: 384 / 0.7868 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of matching and sorting (n=80): time 0.00443/0.5442, allocations: 1.901 MB / 0.7886 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.53e-05/0.5442, allocations: 60.06 kB / 0.7887 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001157/0.5454, allocations: 1.242 MB / 0.7899 GB, free: 11.67 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.322e-05/0.5455, allocations: 41.7 kB / 0.7899 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003929/0.5459, allocations: 0.5792 MB / 0.7905 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001963/0.5461, allocations: 276.1 kB / 0.7908 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.162e-05/0.5461, allocations: 20 kB / 0.7908 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.5463, allocations: 341.9 kB / 0.7911 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001297/0.5476, allocations: 0.5445 MB / 0.7916 GB, free: 9.855 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00146/0.549, allocations: 0.833 MB / 0.7925 GB, free: 8.918 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001337/0.5504, allocations: 0.6042 MB / 0.793 GB, free: 8.312 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.5504, allocations: 4 kB / 0.793 GB, free: 8.309 MB / 0.6231 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003037/0.5534, allocations: 1.502 MB / 0.7945 GB, free: 6.797 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.5535, allocations: 10.19 kB / 0.7945 GB, free: 6.789 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.5535, allocations: 8.875 kB / 0.7945 GB, free: 6.781 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.5535, allocations: 12 kB / 0.7945 GB, free: 6.77 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001189/0.5547, allocations: 303.5 kB / 0.7948 GB, free: 6.473 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.474e-05/0.5547, allocations: 12 kB / 0.7948 GB, free: 6.461 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/0.5558, allocations: 230.7 kB / 0.7951 GB, free: 6.234 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.273e-05/0.5558, allocations: 52 kB / 0.7951 GB, free: 6.184 MB / 0.6231 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 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003885/0.5562, allocations: 343.6 kB / 0.7954 GB, free: 5.84 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000147/0.5564, allocations: 138.3 kB / 0.7956 GB, free: 5.703 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003146/0.5596, allocations: 1.428 MB / 0.797 GB, free: 4.266 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.5596, allocations: 8 kB / 0.797 GB, free: 4.258 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.5596, allocations: 0 / 0.797 GB, free: 4.258 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.5596, allocations: 7.984 kB / 0.797 GB, free: 4.25 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004635/0.5642, allocations: 2.822 MB / 0.7997 GB, free: 1.324 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.5643, allocations: 4 kB / 0.7997 GB, free: 1.32 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001027/0.5653, allocations: 232.2 kB / 0.8 GB, free: 1.094 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.682e-06/0.5653, allocations: 4 kB / 0.8 GB, free: 1.09 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.393e-05/0.5654, allocations: 27.97 kB / 0.8 GB, free: 1.062 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.502e-06/0.5654, allocations: 8 kB / 0.8 GB, free: 1.055 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.662e-06/0.5654, allocations: 11.94 kB / 0.8 GB, free: 1.043 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004383/0.5698, allocations: 2.283 MB / 0.8022 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003531/0.5701, allocations: 303.2 kB / 0.8025 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001471/0.5703, allocations: 23.98 kB / 0.8026 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008993/0.5712, allocations: 135.8 kB / 0.8027 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.5713, allocations: 60.39 kB / 0.8027 GB, free: 14.17 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.657e-05/0.5714, allocations: 39.97 kB / 0.8028 GB, free: 14.13 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008342/0.5722, allocations: 0.8444 MB / 0.8036 GB, free: 13.28 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5722, allocations: 0 / 0.8036 GB, free: 13.28 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007584/0.573, allocations: 319.6 kB / 0.8039 GB, free: 12.97 MB / 0.6387 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00102/0.574, allocations: 0.5209 MB / 0.8044 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002834/0.5769, allocations: 1.294 MB / 0.8057 GB, free: 11.35 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.5769, allocations: 256 / 0.8057 GB, free: 11.35 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001445/0.5783, allocations: 0.6519 MB / 0.8063 GB, free: 10.7 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002092/0.5804, allocations: 0.5719 MB / 0.8069 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004066/0.5845, allocations: 2.939 MB / 0.8098 GB, free: 7.117 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006234/0.5851, allocations: 1.171 MB / 0.8109 GB, free: 5.918 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001131/0.5863, allocations: 341.9 kB / 0.8112 GB, free: 5.582 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003241/0.5866, allocations: 107.4 kB / 0.8113 GB, free: 5.477 MB / 0.6387 GB Notification: Performance of SimCode: time 2.21e-07/0.5866, allocations: 0 / 0.8113 GB, free: 5.477 MB / 0.6387 GB Notification: Performance of Templates: time 0.2374/0.824, allocations: 20.5 MB / 0.8313 GB, free: 212.8 MB / 0.6387 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)