Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001472/0.001472, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001244/0.001244, allocations: 189.8 kB / 17.2 MB, free: 5.953 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 / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8477/0.8477, allocations: 135.1 MB / 426.2 MB, free: 4.172 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 71.89 kB / 0.506 GB, free: 8.402 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3978/0.3994, allocations: 80.9 MB / 0.585 GB, free: 25.2 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.5624/0.9619, allocations: 193.8 MB / 0.7743 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009011/0.9709, allocations: 5.149 MB / 0.7793 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001837/0.9728, allocations: 47.34 kB / 0.7793 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002238/0.9751, allocations: 0.8105 MB / 0.7801 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007658/0.9828, allocations: 2.6 MB / 0.7827 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0032/0.9861, allocations: 1.113 MB / 0.7838 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003907/0.99, allocations: 2.671 MB / 0.7864 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001485/0.9915, allocations: 0.9414 MB / 0.7873 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002507/0.994, allocations: 1.099 MB / 0.7884 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001848/0.9959, allocations: 0.9853 MB / 0.7893 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002036/0.9961, allocations: 84.81 kB / 0.7894 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004099/1, allocations: 1.788 MB / 0.7911 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005085/1.001, allocations: 456.6 kB / 0.7916 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000934/1.002, allocations: 0.6681 MB / 0.7922 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004072/1.006, allocations: 2.193 MB / 0.7944 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/1.006, allocations: 0 / 0.7944 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.413e-06/1.006, allocations: 0.875 kB / 0.7944 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.777e-05/1.006, allocations: 0 / 0.7944 GB, free: 0.8438 MB / 0.5762 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.005267/1.011, allocations: 1.954 MB / 0.7963 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/1.011, allocations: 12.39 kB / 0.7963 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005639/1.017, allocations: 0.8954 MB / 0.7972 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001704/1.019, allocations: 0.9077 MB / 0.7981 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.999e-05/1.019, allocations: 74.12 kB / 0.7981 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001754/1.019, allocations: 89.22 kB / 0.7982 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003712/1.023, allocations: 1.58 MB / 0.7998 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.802e-05/1.023, allocations: 0.625 kB / 0.7998 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001278/1.023, allocations: 38.03 kB / 0.7998 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.045e-05/1.023, allocations: 53.56 kB / 0.7998 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005561/1.028, allocations: 1.848 MB / 0.8016 GB, free: 15.29 MB / 0.5919 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.007958/1.036, allocations: 4.749 MB / 0.8063 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00435/1.041, allocations: 1.572 MB / 0.8078 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002326/1.043, allocations: 0.8597 MB / 0.8087 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001383/1.044, allocations: 0.9415 MB / 0.8096 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00268/1.047, allocations: 0.9146 MB / 0.8105 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=95): time 3.937e-06/1.047, allocations: 4 kB / 0.8105 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of matching and sorting (n=95): time 0.007776/1.055, allocations: 2.454 MB / 0.8129 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.636e-05/1.055, allocations: 60.5 kB / 0.8129 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001445/1.056, allocations: 1.199 MB / 0.8141 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001441/1.057, allocations: 43.48 kB / 0.8141 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004173/1.057, allocations: 0.5475 MB / 0.8147 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003224/1.057, allocations: 321.8 kB / 0.815 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000394/1.058, allocations: 190.5 kB / 0.8152 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001549/1.058, allocations: 343.3 kB / 0.8155 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002374/1.06, allocations: 0.7016 MB / 0.8162 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002409/1.063, allocations: 0.9134 MB / 0.8171 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004336/1.067, allocations: 1.55 MB / 0.8186 GB, free: 9.848 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.061e-05/1.067, allocations: 7.188 kB / 0.8186 GB, free: 9.844 MB / 0.5919 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005335/1.072, allocations: 1.779 MB / 0.8203 GB, free: 9.367 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.639e-05/1.073, allocations: 7.531 kB / 0.8203 GB, free: 9.367 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/1.073, allocations: 5.688 kB / 0.8203 GB, free: 9.367 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.538e-05/1.073, allocations: 12.22 kB / 0.8204 GB, free: 9.363 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001848/1.074, allocations: 341.2 kB / 0.8207 GB, free: 9.277 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.584e-05/1.074, allocations: 17.36 kB / 0.8207 GB, free: 9.273 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001775/1.076, allocations: 229.3 kB / 0.8209 GB, free: 9.164 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001066/1.076, allocations: 46.53 kB / 0.821 GB, free: 9.156 MB / 0.5919 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.0006549/1.077, allocations: 347.2 kB / 0.8213 GB, free: 8.996 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002359/1.077, allocations: 134.5 kB / 0.8214 GB, free: 8.926 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005124/1.082, allocations: 1.81 MB / 0.8232 GB, free: 8.398 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/1.082, allocations: 10.66 kB / 0.8232 GB, free: 8.398 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/1.082, allocations: 0 / 0.8232 GB, free: 8.398 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.272e-05/1.082, allocations: 3.984 kB / 0.8232 GB, free: 8.395 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007477/1.09, allocations: 3.336 MB / 0.8265 GB, free: 5.609 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/1.09, allocations: 4.5 kB / 0.8265 GB, free: 5.605 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001737/1.092, allocations: 297.1 kB / 0.8267 GB, free: 5.324 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.184e-05/1.092, allocations: 7.938 kB / 0.8268 GB, free: 5.316 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-05/1.092, allocations: 35.97 kB / 0.8268 GB, free: 5.281 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.658e-06/1.092, allocations: 7.188 kB / 0.8268 GB, free: 5.277 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/1.092, allocations: 8 kB / 0.8268 GB, free: 5.27 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007616/1.1, allocations: 2.85 MB / 0.8296 GB, free: 2.375 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007533/1.1, allocations: 323.1 kB / 0.8299 GB, free: 2.039 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002392/1.101, allocations: 27.98 kB / 0.8299 GB, free: 2.012 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001483/1.102, allocations: 151.9 kB / 0.8301 GB, free: 1.863 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001588/1.102, allocations: 75.64 kB / 0.8301 GB, free: 1.793 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.958e-05/1.102, allocations: 39.97 kB / 0.8302 GB, free: 1.754 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001023/1.103, allocations: 0.8353 MB / 0.831 GB, free: 0.9141 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/1.103, allocations: 0 / 0.831 GB, free: 0.9141 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001091/1.104, allocations: 335.7 kB / 0.8313 GB, free: 0.5859 MB / 0.5919 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.001355/1.106, allocations: 0.5282 MB / 0.8318 GB, free: 280 kB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0056/1.111, allocations: 1.789 MB / 0.8336 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 7.163e-06/1.111, allocations: 3.938 kB / 0.8336 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002554/1.114, allocations: 0.8361 MB / 0.8344 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003378/1.117, allocations: 0.6114 MB / 0.835 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006872/1.124, allocations: 3.069 MB / 0.838 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008766/1.125, allocations: 1.179 MB / 0.8391 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007778/1.126, allocations: 135.3 kB / 0.8393 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of SimCode: time 7.81e-07/1.126, allocations: 0 / 0.8393 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of Templates: time 0.03331/1.159, allocations: 21.58 MB / 0.8603 GB, free: 3.215 MB / 0.6231 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)