Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.00137/0.00137, allocations: 104.6 kB / 16.35 MB, free: 5.895 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.001514/0.001514, allocations: 192.3 kB / 17.29 MB, free: 5.527 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.414/1.414, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7784/0.7784, allocations: 132.2 MB / 423.3 MB, free: 6.652 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 63.91 kB / 0.5032 GB, free: 10.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3789/0.3803, allocations: 80.19 MB / 0.5815 GB, free: 27.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.6061/0.9865, allocations: 193.8 MB / 0.7707 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008914/0.9955, allocations: 5.138 MB / 0.7758 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001835/0.9974, allocations: 54.09 kB / 0.7758 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002328/0.9998, allocations: 0.8131 MB / 0.7766 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008059/1.008, allocations: 2.602 MB / 0.7791 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003406/1.011, allocations: 1.111 MB / 0.7802 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004988/1.016, allocations: 2.679 MB / 0.7828 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001718/1.018, allocations: 0.9471 MB / 0.7838 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002721/1.021, allocations: 1.102 MB / 0.7848 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001802/1.023, allocations: 0.9837 MB / 0.7858 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002399/1.023, allocations: 91.12 kB / 0.7859 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004215/1.027, allocations: 1.791 MB / 0.7876 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000668/1.028, allocations: 456.6 kB / 0.7881 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001143/1.029, allocations: 0.6656 MB / 0.7887 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004631/1.034, allocations: 2.221 MB / 0.7909 GB, free: 0.9297 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/1.034, allocations: 7.188 kB / 0.7909 GB, free: 0.9297 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.805e-06/1.034, allocations: 0 / 0.7909 GB, free: 0.9297 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.536e-05/1.034, allocations: 0.9062 kB / 0.7909 GB, free: 0.9297 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.004997/1.039, allocations: 1.955 MB / 0.7928 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/1.039, allocations: 7.031 kB / 0.7928 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005207/1.044, allocations: 0.8962 MB / 0.7937 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001732/1.046, allocations: 0.9793 MB / 0.7947 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.376e-05/1.046, allocations: 70.12 kB / 0.7947 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000172/1.046, allocations: 90.25 kB / 0.7948 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003392/1.049, allocations: 1.582 MB / 0.7964 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.446e-05/1.049, allocations: 5.5 kB / 0.7964 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001053/1.049, allocations: 33.5 kB / 0.7964 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.677e-05/1.05, allocations: 48.36 kB / 0.7964 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004619/1.054, allocations: 1.846 MB / 0.7982 GB, free: 15.37 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.007818/1.062, allocations: 4.728 MB / 0.8029 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003995/1.066, allocations: 1.566 MB / 0.8044 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002126/1.068, allocations: 0.8645 MB / 0.8052 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001368/1.07, allocations: 0.941 MB / 0.8061 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00244/1.072, allocations: 0.9113 MB / 0.807 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=95): time 5.07e-06/1.072, allocations: 0 / 0.807 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of matching and sorting (n=95): time 0.007232/1.079, allocations: 2.452 MB / 0.8094 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.48e-05/1.079, allocations: 63.77 kB / 0.8095 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001745/1.081, allocations: 1.205 MB / 0.8107 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001736/1.081, allocations: 42.48 kB / 0.8107 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004882/1.082, allocations: 0.5443 MB / 0.8112 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003154/1.082, allocations: 322.5 kB / 0.8116 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003509/1.082, allocations: 188.6 kB / 0.8117 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001423/1.083, allocations: 350 kB / 0.8121 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002041/1.085, allocations: 0.6966 MB / 0.8127 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002179/1.087, allocations: 0.9091 MB / 0.8136 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004192/1.091, allocations: 1.551 MB / 0.8151 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/1.091, allocations: 1.125 kB / 0.8151 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005105/1.096, allocations: 1.784 MB / 0.8169 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.36e-05/1.096, allocations: 7.344 kB / 0.8169 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/1.096, allocations: 2.844 kB / 0.8169 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.401e-05/1.096, allocations: 10.22 kB / 0.8169 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001799/1.098, allocations: 342.9 kB / 0.8172 GB, free: 9.656 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.235e-05/1.098, allocations: 16.58 kB / 0.8173 GB, free: 9.652 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001736/1.1, allocations: 232.1 kB / 0.8175 GB, free: 9.543 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001225/1.1, allocations: 48.34 kB / 0.8175 GB, free: 9.535 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.0006254/1.101, allocations: 348.7 kB / 0.8179 GB, free: 9.379 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002652/1.101, allocations: 138.3 kB / 0.818 GB, free: 9.305 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004964/1.106, allocations: 1.798 MB / 0.8197 GB, free: 8.781 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.204e-05/1.106, allocations: 14.59 kB / 0.8198 GB, free: 8.777 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/1.106, allocations: 0 / 0.8198 GB, free: 8.777 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.268e-05/1.106, allocations: 3.984 kB / 0.8198 GB, free: 8.773 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007281/1.113, allocations: 3.328 MB / 0.823 GB, free: 7.516 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.167e-06/1.113, allocations: 1.562 kB / 0.823 GB, free: 7.516 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001696/1.115, allocations: 293.6 kB / 0.8233 GB, free: 7.383 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.609e-05/1.115, allocations: 11.98 kB / 0.8233 GB, free: 7.371 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001069/1.115, allocations: 29.78 kB / 0.8233 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-05/1.115, allocations: 11.09 kB / 0.8233 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/1.115, allocations: 4 kB / 0.8233 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007306/1.123, allocations: 2.854 MB / 0.8261 GB, free: 4.445 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008485/1.123, allocations: 327 kB / 0.8264 GB, free: 4.105 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002203/1.124, allocations: 23.98 kB / 0.8265 GB, free: 4.082 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001381/1.125, allocations: 155.8 kB / 0.8266 GB, free: 3.93 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001653/1.125, allocations: 71.7 kB / 0.8267 GB, free: 3.863 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001037/1.125, allocations: 43.97 kB / 0.8267 GB, free: 3.82 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001041/1.126, allocations: 0.8314 MB / 0.8275 GB, free: 2.984 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.31e-07/1.126, allocations: 0 / 0.8275 GB, free: 2.984 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00114/1.128, allocations: 335.7 kB / 0.8279 GB, free: 2.656 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.001346/1.129, allocations: 0.5497 MB / 0.8284 GB, free: 2.332 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.004795/1.134, allocations: 1.63 MB / 0.83 GB, free: 0.7305 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/1.134, allocations: 0 / 0.83 GB, free: 0.7305 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002374/1.136, allocations: 0.84 MB / 0.8308 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002889/1.139, allocations: 0.608 MB / 0.8314 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006118/1.145, allocations: 2.986 MB / 0.8343 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007411/1.146, allocations: 1.183 MB / 0.8355 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001573/1.148, allocations: 358 kB / 0.8358 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000464/1.148, allocations: 115.4 kB / 0.8359 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of SimCode: time 1.793e-06/1.148, allocations: 0 / 0.8359 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of Templates: time 0.04005/1.188, allocations: 23.75 MB / 0.8591 GB, free: 3.242 MB / 0.6231 GB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)