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.001089/0.00109, allocations: 107.5 kB / 16.41 MB, free: 6.496 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.001083/0.001083, allocations: 189.5 kB / 17.34 MB, free: 5.766 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.303/1.303, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8928/0.8928, allocations: 132.2 MB / 423.4 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001755/0.001755, allocations: 59.38 kB / 0.582 GB, free: 23.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1736/0.1754, allocations: 80.21 MB / 0.6604 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.6215/0.7969, allocations: 193.8 MB / 0.8496 GB, free: 240 kB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00969/0.8067, allocations: 5.141 MB / 0.8547 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001904/0.8086, allocations: 44.75 kB / 0.8547 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002207/0.8109, allocations: 0.8098 MB / 0.8555 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.007372/0.8183, allocations: 2.601 MB / 0.858 GB, free: 9.484 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003172/0.8215, allocations: 1.111 MB / 0.8591 GB, free: 8.656 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004058/0.8256, allocations: 2.671 MB / 0.8617 GB, free: 7.133 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001857/0.8274, allocations: 0.9494 MB / 0.8627 GB, free: 6.539 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002913/0.8304, allocations: 1.133 MB / 0.8638 GB, free: 5.566 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001927/0.8323, allocations: 0.9924 MB / 0.8647 GB, free: 4.57 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0004064/0.8328, allocations: 84 kB / 0.8648 GB, free: 4.488 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004183/0.837, allocations: 1.789 MB / 0.8666 GB, free: 2.695 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0007467/0.8377, allocations: 450.6 kB / 0.867 GB, free: 2.254 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001424/0.8392, allocations: 0.6643 MB / 0.8676 GB, free: 1.586 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.005626/0.8448, allocations: 2.231 MB / 0.8698 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.8448, allocations: 0 / 0.8698 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.256e-06/0.8449, allocations: 4 kB / 0.8698 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.335e-05/0.8449, allocations: 3.938 kB / 0.8698 GB, free: 15.34 MB / 0.6387 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.006281/0.8512, allocations: 1.949 MB / 0.8717 GB, free: 13.33 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.8513, allocations: 16.03 kB / 0.8717 GB, free: 13.31 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005533/0.8568, allocations: 0.8954 MB / 0.8726 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002216/0.8591, allocations: 0.9645 MB / 0.8736 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-05/0.8592, allocations: 77.91 kB / 0.8736 GB, free: 11.32 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003567/0.8596, allocations: 95.84 kB / 0.8737 GB, free: 11.22 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004368/0.8639, allocations: 1.587 MB / 0.8753 GB, free: 9.605 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.762e-05/0.864, allocations: 4 kB / 0.8753 GB, free: 9.602 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001489/0.8642, allocations: 36 kB / 0.8753 GB, free: 9.566 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.341e-05/0.8642, allocations: 41.98 kB / 0.8754 GB, free: 9.523 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005517/0.8698, allocations: 1.85 MB / 0.8772 GB, free: 7.672 MB / 0.6387 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.008446/0.8782, allocations: 4.73 MB / 0.8818 GB, free: 2.703 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004594/0.8829, allocations: 1.572 MB / 0.8833 GB, free: 1.129 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002331/0.8852, allocations: 0.8557 MB / 0.8842 GB, free: 280 kB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001267/0.8865, allocations: 0.9451 MB / 0.8851 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002663/0.8892, allocations: 0.9105 MB / 0.886 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=95): time 4.779e-06/0.8892, allocations: 0 / 0.886 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of matching and sorting (n=95): time 0.008032/0.8973, allocations: 2.454 MB / 0.8884 GB, free: 11.76 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.135e-05/0.8974, allocations: 68.34 kB / 0.8884 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00174/0.8991, allocations: 1.197 MB / 0.8896 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001631/0.8993, allocations: 45.7 kB / 0.8896 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004989/0.8998, allocations: 0.5447 MB / 0.8902 GB, free: 9.867 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003809/0.9002, allocations: 323.4 kB / 0.8905 GB, free: 9.547 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003857/0.9006, allocations: 186.6 kB / 0.8907 GB, free: 9.359 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.9008, allocations: 341.9 kB / 0.891 GB, free: 9.02 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002191/0.9029, allocations: 0.7005 MB / 0.8917 GB, free: 8.32 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002391/0.9054, allocations: 0.9074 MB / 0.8926 GB, free: 7.344 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004416/0.9098, allocations: 1.554 MB / 0.8941 GB, free: 5.734 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.847e-06/0.9098, allocations: 4 kB / 0.8941 GB, free: 5.73 MB / 0.6544 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005419/0.9152, allocations: 1.78 MB / 0.8958 GB, free: 3.938 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.882e-05/0.9153, allocations: 8 kB / 0.8958 GB, free: 3.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.607e-05/0.9153, allocations: 7.562 kB / 0.8958 GB, free: 3.926 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.972e-05/0.9154, allocations: 12 kB / 0.8958 GB, free: 3.914 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001781/0.9172, allocations: 335.6 kB / 0.8962 GB, free: 3.586 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.737e-05/0.9172, allocations: 15.92 kB / 0.8962 GB, free: 3.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001667/0.9189, allocations: 234.7 kB / 0.8964 GB, free: 3.34 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000167/0.9191, allocations: 47.97 kB / 0.8964 GB, free: 3.293 MB / 0.6544 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.0006508/0.9197, allocations: 339.6 kB / 0.8968 GB, free: 2.953 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000364/0.9201, allocations: 130.4 kB / 0.8969 GB, free: 2.824 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005263/0.9254, allocations: 1.812 MB / 0.8987 GB, free: 1.008 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-05/0.9254, allocations: 12 kB / 0.8987 GB, free: 0.9961 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/0.9254, allocations: 0 / 0.8987 GB, free: 0.9961 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/0.9255, allocations: 3.984 kB / 0.8987 GB, free: 0.9922 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007666/0.9331, allocations: 3.328 MB / 0.9019 GB, free: 13.56 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.768e-06/0.9332, allocations: 96 / 0.9019 GB, free: 13.56 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00162/0.9348, allocations: 291.7 kB / 0.9022 GB, free: 13.27 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-05/0.9349, allocations: 11.98 kB / 0.9022 GB, free: 13.26 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001203/0.935, allocations: 31.97 kB / 0.9022 GB, free: 13.23 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-05/0.935, allocations: 11.94 kB / 0.9023 GB, free: 13.22 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.935, allocations: 4 kB / 0.9023 GB, free: 13.21 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007352/0.9424, allocations: 2.847 MB / 0.905 GB, free: 10.3 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006907/0.9431, allocations: 323.2 kB / 0.9053 GB, free: 9.969 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003546/0.9435, allocations: 24.86 kB / 0.9054 GB, free: 9.945 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001473/0.945, allocations: 159.8 kB / 0.9055 GB, free: 9.789 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000169/0.9451, allocations: 68.45 kB / 0.9056 GB, free: 9.723 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001021/0.9453, allocations: 43.97 kB / 0.9056 GB, free: 9.68 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001136/0.9464, allocations: 0.8275 MB / 0.9064 GB, free: 8.848 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9464, allocations: 4 kB / 0.9064 GB, free: 8.844 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.00118/0.9476, allocations: 339.6 kB / 0.9068 GB, free: 8.512 MB / 0.67 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.001368/0.949, allocations: 0.5459 MB / 0.9073 GB, free: 8.164 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004893/0.9539, allocations: 1.634 MB / 0.9089 GB, free: 6.531 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/0.9539, allocations: 0 / 0.9089 GB, free: 6.531 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002426/0.9563, allocations: 0.836 MB / 0.9097 GB, free: 5.691 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003171/0.9595, allocations: 0.6251 MB / 0.9103 GB, free: 5.094 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006767/0.9663, allocations: 3.035 MB / 0.9133 GB, free: 1.973 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009753/0.9674, allocations: 1.179 MB / 0.9144 GB, free: 0.7617 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007703/0.9681, allocations: 131.3 kB / 0.9146 GB, free: 0.6328 MB / 0.67 GB Notification: Performance of SimCode: time 1.262e-06/0.9682, allocations: 0 / 0.9146 GB, free: 0.6328 MB / 0.67 GB Notification: Performance of Templates: time 0.03607/1.004, allocations: 21.89 MB / 0.9359 GB, free: 10.84 MB / 0.7012 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)