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.001115/0.001115, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001311/0.001312, allocations: 192.3 kB / 16.13 MB, free: 6.645 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.376/1.376, allocations: 222.9 MB / 239.8 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.011/1.011, allocations: 135.1 MB / 425.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 58.16 kB / 0.5047 GB, free: 5.801 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1767/0.1779, allocations: 80.94 MB / 0.5837 GB, free: 5.023 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.5599/0.7379, allocations: 191.5 MB / 0.7708 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009701/0.7476, allocations: 5.184 MB / 0.7758 GB, free: 8.695 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001737/0.7494, allocations: 43.69 kB / 0.7759 GB, free: 8.652 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002098/0.7516, allocations: 0.7155 MB / 0.7766 GB, free: 7.934 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006755/0.7583, allocations: 2.444 MB / 0.7789 GB, free: 5.48 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002677/0.761, allocations: 1.002 MB / 0.7799 GB, free: 4.492 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004052/0.7651, allocations: 3.551 MB / 0.7834 GB, free: 0.9297 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001383/0.7665, allocations: 0.8209 MB / 0.7842 GB, free: 100 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002163/0.7687, allocations: 0.9998 MB / 0.7852 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001412/0.7701, allocations: 0.9845 MB / 0.7861 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001449/0.7703, allocations: 52 kB / 0.7862 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004117/0.7744, allocations: 2.073 MB / 0.7882 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004324/0.7748, allocations: 406.7 kB / 0.7886 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0007016/0.7755, allocations: 0.6274 MB / 0.7892 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003227/0.7788, allocations: 2.208 MB / 0.7914 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.7788, allocations: 4 kB / 0.7914 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.22e-07/0.7788, allocations: 0 / 0.7914 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.809e-05/0.7788, allocations: 0 / 0.7914 GB, free: 8.73 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.005118/0.784, allocations: 1.932 MB / 0.7933 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.784, allocations: 8.031 kB / 0.7933 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004211/0.7882, allocations: 0.6576 MB / 0.7939 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001447/0.7897, allocations: 0.8787 MB / 0.7948 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.191e-05/0.7898, allocations: 66 kB / 0.7948 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000156/0.7899, allocations: 91.89 kB / 0.7949 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003088/0.793, allocations: 1.47 MB / 0.7963 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.16e-05/0.7931, allocations: 3.938 kB / 0.7964 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000109/0.7932, allocations: 47.98 kB / 0.7964 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.985e-05/0.7933, allocations: 41.98 kB / 0.7964 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004097/0.7974, allocations: 1.526 MB / 0.7979 GB, free: 1.816 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.008423/0.8058, allocations: 5.477 MB / 0.8033 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003939/0.8098, allocations: 1.293 MB / 0.8045 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001814/0.8116, allocations: 0.657 MB / 0.8052 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001001/0.8126, allocations: 0.5773 MB / 0.8057 GB, free: 9.426 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002052/0.8147, allocations: 0.7151 MB / 0.8064 GB, free: 8.699 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=80): time 3.367e-06/0.8147, allocations: 0 / 0.8064 GB, free: 8.699 MB / 0.6231 GB Notification: Performance of matching and sorting (n=80): time 0.005846/0.8206, allocations: 1.874 MB / 0.8083 GB, free: 6.82 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.263e-05/0.8206, allocations: 60.06 kB / 0.8083 GB, free: 6.75 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001782/0.8224, allocations: 1.239 MB / 0.8095 GB, free: 5.504 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001062/0.8226, allocations: 45.7 kB / 0.8096 GB, free: 5.453 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005453/0.8231, allocations: 0.5792 MB / 0.8101 GB, free: 4.867 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002806/0.8234, allocations: 276.1 kB / 0.8104 GB, free: 4.594 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003367/0.8237, allocations: 182.5 kB / 0.8106 GB, free: 4.41 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.8239, allocations: 341.9 kB / 0.8109 GB, free: 4.07 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001683/0.8256, allocations: 0.5366 MB / 0.8114 GB, free: 3.535 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001869/0.8275, allocations: 0.8252 MB / 0.8122 GB, free: 2.602 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003347/0.8308, allocations: 1.324 MB / 0.8135 GB, free: 1.18 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.957e-06/0.8308, allocations: 4 kB / 0.8135 GB, free: 1.176 MB / 0.6231 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004126/0.835, allocations: 1.499 MB / 0.815 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.637e-05/0.835, allocations: 10.03 kB / 0.815 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.835, allocations: 8 kB / 0.815 GB, free: 15.65 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.719e-05/0.8351, allocations: 12 kB / 0.815 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00146/0.8365, allocations: 292 kB / 0.8153 GB, free: 15.35 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.608e-05/0.8366, allocations: 19.92 kB / 0.8153 GB, free: 15.33 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001481/0.8381, allocations: 222 kB / 0.8155 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001651/0.8382, allocations: 51.97 kB / 0.8156 GB, free: 15.07 MB / 0.6387 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.000564/0.8388, allocations: 335.7 kB / 0.8159 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002701/0.8391, allocations: 138.2 kB / 0.816 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004248/0.8433, allocations: 1.412 MB / 0.8174 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.126e-06/0.8434, allocations: 4 kB / 0.8174 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/0.8434, allocations: 4 kB / 0.8174 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.8434, allocations: 7.922 kB / 0.8174 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006268/0.8497, allocations: 2.787 MB / 0.8202 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.968e-06/0.8497, allocations: 7.938 kB / 0.8202 GB, free: 10.26 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001335/0.851, allocations: 232.1 kB / 0.8204 GB, free: 10.03 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.568e-05/0.8511, allocations: 7.984 kB / 0.8204 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-05/0.8512, allocations: 27.97 kB / 0.8204 GB, free: 9.996 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.768e-06/0.8512, allocations: 8 kB / 0.8204 GB, free: 9.988 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.8512, allocations: 4 kB / 0.8204 GB, free: 9.984 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005863/0.8571, allocations: 2.256 MB / 0.8226 GB, free: 7.668 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009207/0.858, allocations: 299.2 kB / 0.8229 GB, free: 7.355 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000445/0.8585, allocations: 16 kB / 0.8229 GB, free: 7.34 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001636/0.8601, allocations: 135.8 kB / 0.8231 GB, free: 7.207 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002218/0.8604, allocations: 72.23 kB / 0.8231 GB, free: 7.137 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001155/0.8605, allocations: 31.98 kB / 0.8232 GB, free: 7.105 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001559/0.8621, allocations: 0.86 MB / 0.824 GB, free: 6.242 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.8e-07/0.8621, allocations: 0 / 0.824 GB, free: 6.242 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001574/0.8637, allocations: 315.7 kB / 0.8243 GB, free: 5.934 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 (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.001602/0.8653, allocations: 0.5268 MB / 0.8248 GB, free: 5.598 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003792/0.8691, allocations: 1.267 MB / 0.8261 GB, free: 4.328 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/0.8691, allocations: 4 kB / 0.8261 GB, free: 4.324 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001804/0.8709, allocations: 0.6482 MB / 0.8267 GB, free: 3.68 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002801/0.8737, allocations: 0.5624 MB / 0.8272 GB, free: 3.121 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00565/0.8794, allocations: 2.982 MB / 0.8302 GB, free: 64 kB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008504/0.8802, allocations: 1.179 MB / 0.8313 GB, free: 14.85 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001515/0.8818, allocations: 344.1 kB / 0.8316 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004076/0.8822, allocations: 107.4 kB / 0.8317 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of SimCode: time 6.02e-07/0.8822, allocations: 0 / 0.8317 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of Templates: time 0.0375/0.9197, allocations: 21.23 MB / 0.8525 GB, free: 9.438 MB / 0.67 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)