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.001219/0.001219, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001388/0.001388, allocations: 193.2 kB / 16.25 MB, free: 6.633 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.324/1.324, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7506/0.7506, allocations: 132.2 MB / 422.3 MB, free: 1.941 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 60.03 kB / 0.5013 GB, free: 9.102 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.1625, allocations: 80.21 MB / 0.5796 GB, free: 9.113 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.4421/0.6046, allocations: 191.3 MB / 0.7664 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00832/0.6129, allocations: 5.125 MB / 0.7714 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001047/0.614, allocations: 47.69 kB / 0.7715 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001717/0.6157, allocations: 0.7234 MB / 0.7722 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005582/0.6213, allocations: 2.448 MB / 0.7746 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002604/0.624, allocations: 1.012 MB / 0.7756 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003664/0.6276, allocations: 2.692 MB / 0.7782 GB, free: 7.848 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001349/0.629, allocations: 0.9444 MB / 0.7791 GB, free: 6.891 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002396/0.6314, allocations: 1.144 MB / 0.7802 GB, free: 5.742 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001621/0.633, allocations: 1.047 MB / 0.7812 GB, free: 4.691 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000161/0.6332, allocations: 88 kB / 0.7813 GB, free: 4.605 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003463/0.6367, allocations: 1.862 MB / 0.7831 GB, free: 2.738 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004859/0.6372, allocations: 458.6 kB / 0.7836 GB, free: 2.289 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006623/0.6379, allocations: 0.6604 MB / 0.7842 GB, free: 1.625 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003381/0.6412, allocations: 2.317 MB / 0.7865 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.6413, allocations: 0 / 0.7865 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.783e-06/0.6413, allocations: 0 / 0.7865 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.568e-05/0.6413, allocations: 0 / 0.7865 GB, free: 15.3 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.004933/0.6462, allocations: 1.967 MB / 0.7884 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.6463, allocations: 12.03 kB / 0.7884 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005745/0.652, allocations: 0.8947 MB / 0.7893 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001434/0.6535, allocations: 0.9059 MB / 0.7902 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.542e-05/0.6536, allocations: 73.97 kB / 0.7903 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001862/0.6538, allocations: 91.98 kB / 0.7903 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003635/0.6574, allocations: 1.583 MB / 0.7919 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.218e-05/0.6574, allocations: 4 kB / 0.7919 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000116/0.6576, allocations: 35.98 kB / 0.7919 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.964e-05/0.6576, allocations: 45.98 kB / 0.792 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005197/0.6628, allocations: 1.85 MB / 0.7938 GB, free: 7.695 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.007322/0.6702, allocations: 4.728 MB / 0.7984 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004329/0.6745, allocations: 1.573 MB / 0.7999 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002222/0.6768, allocations: 0.8478 MB / 0.8008 GB, free: 324 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001234/0.678, allocations: 0.9451 MB / 0.8017 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002502/0.6805, allocations: 0.9105 MB / 0.8026 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=95): time 3.016e-06/0.6805, allocations: 0 / 0.8026 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of matching and sorting (n=95): time 0.007665/0.6882, allocations: 2.458 MB / 0.805 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.808e-05/0.6883, allocations: 60.41 kB / 0.805 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001527/0.6898, allocations: 1.201 MB / 0.8062 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001253/0.6899, allocations: 41.7 kB / 0.8062 GB, free: 10.47 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004288/0.6904, allocations: 0.5448 MB / 0.8068 GB, free: 9.922 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003116/0.6907, allocations: 331.3 kB / 0.8071 GB, free: 9.594 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000351/0.6911, allocations: 186.5 kB / 0.8073 GB, free: 9.402 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.6912, allocations: 341.9 kB / 0.8076 GB, free: 9.062 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002103/0.6933, allocations: 0.6967 MB / 0.8083 GB, free: 8.367 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002288/0.6956, allocations: 0.9191 MB / 0.8092 GB, free: 7.383 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004244/0.6999, allocations: 1.554 MB / 0.8107 GB, free: 5.77 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.6999, allocations: 0 / 0.8107 GB, free: 5.77 MB / 0.6231 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004954/0.7048, allocations: 1.776 MB / 0.8124 GB, free: 3.988 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.459e-05/0.7049, allocations: 10.03 kB / 0.8124 GB, free: 3.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/0.7049, allocations: 4 kB / 0.8124 GB, free: 3.977 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.356e-05/0.7049, allocations: 15.97 kB / 0.8124 GB, free: 3.961 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001834/0.7068, allocations: 351.9 kB / 0.8128 GB, free: 3.617 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.409e-05/0.7068, allocations: 8 kB / 0.8128 GB, free: 3.609 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001706/0.7085, allocations: 250.7 kB / 0.813 GB, free: 3.363 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001212/0.7086, allocations: 47.97 kB / 0.8131 GB, free: 3.316 MB / 0.6231 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.0005634/0.7092, allocations: 336.2 kB / 0.8134 GB, free: 2.98 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002786/0.7095, allocations: 138.3 kB / 0.8135 GB, free: 2.844 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005206/0.7147, allocations: 1.808 MB / 0.8153 GB, free: 1.023 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.7147, allocations: 8 kB / 0.8153 GB, free: 1.016 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.7148, allocations: 0 / 0.8153 GB, free: 1.016 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/0.7148, allocations: 3.984 kB / 0.8153 GB, free: 1.012 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007411/0.7222, allocations: 3.336 MB / 0.8186 GB, free: 13.58 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.104e-05/0.7222, allocations: 4 kB / 0.8186 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001798/0.724, allocations: 292.8 kB / 0.8188 GB, free: 13.29 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.436e-05/0.724, allocations: 4 kB / 0.8188 GB, free: 13.29 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001139/0.7242, allocations: 35.97 kB / 0.8189 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.778e-06/0.7242, allocations: 4 kB / 0.8189 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.7242, allocations: 15.94 kB / 0.8189 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007436/0.7316, allocations: 2.843 MB / 0.8217 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000581/0.7322, allocations: 319.1 kB / 0.822 GB, free: 9.992 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002475/0.7325, allocations: 31.92 kB / 0.822 GB, free: 9.965 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001614/0.7341, allocations: 175.7 kB / 0.8222 GB, free: 9.793 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001598/0.7343, allocations: 72.45 kB / 0.8222 GB, free: 9.723 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001024/0.7344, allocations: 39.97 kB / 0.8223 GB, free: 9.684 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0011/0.7355, allocations: 0.8314 MB / 0.8231 GB, free: 8.848 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7355, allocations: 0 / 0.8231 GB, free: 8.848 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001132/0.7367, allocations: 343.6 kB / 0.8234 GB, free: 8.512 MB / 0.6387 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.001304/0.738, allocations: 0.5288 MB / 0.8239 GB, free: 8.184 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.005574/0.7436, allocations: 1.779 MB / 0.8257 GB, free: 6.406 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.7436, allocations: 0 / 0.8257 GB, free: 6.406 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002469/0.746, allocations: 0.8438 MB / 0.8265 GB, free: 5.562 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003033/0.7491, allocations: 0.6096 MB / 0.8271 GB, free: 4.98 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006791/0.7559, allocations: 3.415 MB / 0.8304 GB, free: 1.488 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008653/0.7568, allocations: 1.183 MB / 0.8316 GB, free: 284 kB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001878/0.7587, allocations: 362 kB / 0.8319 GB, free: 15.92 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005437/0.7592, allocations: 111.4 kB / 0.832 GB, free: 15.81 MB / 0.6544 GB Notification: Performance of SimCode: time 7.11e-07/0.7593, allocations: 4 kB / 0.832 GB, free: 15.81 MB / 0.6544 GB Notification: Performance of Templates: time 0.03911/0.7984, allocations: 23.55 MB / 0.855 GB, free: 8.57 MB / 0.67 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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)