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.001084/0.001084, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 200.1 kB / 16.79 MB, free: 6.809 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.349/1.349, allocations: 222.9 MB / 240.5 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.004/1.004, allocations: 135.1 MB / 425.7 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 64.47 kB / 0.5053 GB, free: 5.73 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.1708, allocations: 80.92 MB / 0.5843 GB, free: 4.973 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.5018/0.6726, allocations: 191.5 MB / 0.7714 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009261/0.6819, allocations: 5.186 MB / 0.7764 GB, free: 8.621 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001931/0.684, allocations: 43.69 kB / 0.7765 GB, free: 8.578 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002324/0.6863, allocations: 0.7116 MB / 0.7772 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.007437/0.6938, allocations: 2.46 MB / 0.7796 GB, free: 5.395 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002979/0.6968, allocations: 0.9949 MB / 0.7806 GB, free: 4.41 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004531/0.7013, allocations: 3.613 MB / 0.7841 GB, free: 0.7891 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001577/0.7029, allocations: 0.8619 MB / 0.7849 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002333/0.7053, allocations: 1.027 MB / 0.7859 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001521/0.7068, allocations: 1.016 MB / 0.7869 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001564/0.707, allocations: 56 kB / 0.787 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004156/0.7111, allocations: 2.077 MB / 0.789 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000553/0.7117, allocations: 430.6 kB / 0.7894 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0008926/0.7126, allocations: 0.6339 MB / 0.79 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00263/0.7153, allocations: 1.551 MB / 0.7915 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.7153, allocations: 0 / 0.7915 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.793e-06/0.7153, allocations: 0 / 0.7915 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.081e-05/0.7153, allocations: 0 / 0.7915 GB, free: 9.113 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.005417/0.7207, allocations: 1.959 MB / 0.7935 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.7208, allocations: 8.031 kB / 0.7935 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005925/0.7267, allocations: 0.9033 MB / 0.7944 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001868/0.7286, allocations: 0.9058 MB / 0.7952 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.967e-05/0.7287, allocations: 69.98 kB / 0.7953 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001935/0.7289, allocations: 88 kB / 0.7954 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003896/0.7328, allocations: 1.583 MB / 0.7969 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.045e-05/0.7329, allocations: 0 / 0.7969 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001191/0.733, allocations: 39.98 kB / 0.797 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.897e-05/0.733, allocations: 45.98 kB / 0.797 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005171/0.7382, allocations: 1.85 MB / 0.7988 GB, free: 1.516 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.008026/0.7463, allocations: 4.752 MB / 0.8035 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00439/0.7507, allocations: 1.557 MB / 0.805 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002301/0.753, allocations: 0.8468 MB / 0.8058 GB, free: 10.13 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001312/0.7543, allocations: 0.949 MB / 0.8067 GB, free: 9 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002545/0.7569, allocations: 0.9144 MB / 0.8076 GB, free: 8.074 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=95): time 5.631e-06/0.7569, allocations: 0 / 0.8076 GB, free: 8.074 MB / 0.6231 GB Notification: Performance of matching and sorting (n=95): time 0.007733/0.7647, allocations: 2.446 MB / 0.81 GB, free: 5.621 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.171e-05/0.7648, allocations: 64.34 kB / 0.8101 GB, free: 5.547 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001488/0.7663, allocations: 1.197 MB / 0.8112 GB, free: 4.34 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001193/0.7664, allocations: 45.7 kB / 0.8113 GB, free: 4.289 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004245/0.7668, allocations: 0.5448 MB / 0.8118 GB, free: 3.738 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003059/0.7671, allocations: 327.3 kB / 0.8121 GB, free: 3.414 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003422/0.7675, allocations: 190.5 kB / 0.8123 GB, free: 3.223 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.7676, allocations: 342 kB / 0.8126 GB, free: 2.883 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002109/0.7697, allocations: 0.7043 MB / 0.8133 GB, free: 2.18 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002241/0.772, allocations: 0.9113 MB / 0.8142 GB, free: 1.203 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004238/0.7762, allocations: 1.554 MB / 0.8157 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.692e-06/0.7763, allocations: 4 kB / 0.8157 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.00499/0.7813, allocations: 1.776 MB / 0.8175 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.733e-05/0.7813, allocations: 4 kB / 0.8175 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.7813, allocations: 8 kB / 0.8175 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.642e-05/0.7814, allocations: 8 kB / 0.8175 GB, free: 13.78 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001773/0.7831, allocations: 340 kB / 0.8178 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.475e-05/0.7832, allocations: 23.86 kB / 0.8178 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001827/0.785, allocations: 254.7 kB / 0.8181 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001174/0.7851, allocations: 48.06 kB / 0.8181 GB, free: 13.13 MB / 0.6387 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.0006312/0.7858, allocations: 335.7 kB / 0.8185 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002542/0.786, allocations: 138.3 kB / 0.8186 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00504/0.7911, allocations: 1.807 MB / 0.8203 GB, free: 10.84 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/0.7911, allocations: 8 kB / 0.8204 GB, free: 10.83 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.7911, allocations: 0 / 0.8204 GB, free: 10.83 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.7912, allocations: 3.984 kB / 0.8204 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007406/0.7986, allocations: 3.34 MB / 0.8236 GB, free: 7.383 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.418e-06/0.7986, allocations: 4 kB / 0.8236 GB, free: 7.379 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001676/0.8003, allocations: 284 kB / 0.8239 GB, free: 7.102 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.477e-05/0.8003, allocations: 8 kB / 0.8239 GB, free: 7.094 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001061/0.8004, allocations: 31.97 kB / 0.8239 GB, free: 7.062 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.919e-06/0.8004, allocations: 15.88 kB / 0.824 GB, free: 7.047 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/0.8005, allocations: 8 kB / 0.824 GB, free: 7.039 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007299/0.8078, allocations: 2.845 MB / 0.8267 GB, free: 4.129 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007503/0.8085, allocations: 327.1 kB / 0.827 GB, free: 3.789 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002252/0.8088, allocations: 20 kB / 0.8271 GB, free: 3.77 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001511/0.8103, allocations: 179.7 kB / 0.8272 GB, free: 3.594 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001602/0.8105, allocations: 72.44 kB / 0.8273 GB, free: 3.52 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.808e-05/0.8106, allocations: 43.97 kB / 0.8273 GB, free: 3.477 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001031/0.8116, allocations: 0.8275 MB / 0.8282 GB, free: 2.645 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.71e-07/0.8116, allocations: 0 / 0.8282 GB, free: 2.645 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001127/0.8128, allocations: 335.7 kB / 0.8285 GB, free: 2.316 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.001282/0.814, allocations: 0.5294 MB / 0.829 GB, free: 1.988 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004817/0.8189, allocations: 1.626 MB / 0.8306 GB, free: 372 kB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 8.236e-06/0.8189, allocations: 4 kB / 0.8306 GB, free: 368 kB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002395/0.8213, allocations: 0.8283 MB / 0.8314 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002912/0.8242, allocations: 0.5921 MB / 0.832 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006614/0.8309, allocations: 3.472 MB / 0.8354 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007166/0.8316, allocations: 1.183 MB / 0.8365 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007785/0.8324, allocations: 127.4 kB / 0.8366 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of SimCode: time 7.82e-07/0.8324, allocations: 4 kB / 0.8366 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of Templates: time 0.03256/0.865, allocations: 21.57 MB / 0.8577 GB, free: 4.617 MB / 0.67 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)