Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Movers.Validation.FlowControlled_m_flow.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Fluid.Movers.Validation.FlowControlled_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Movers.Validation.FlowControlled_m_flow") translateModel(Annex60.Fluid.Movers.Validation.FlowControlled_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Movers.Validation.FlowControlled_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009848/0.009849, allocations: 99.86 kB / 15.73 MB, free: 6.004 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.002756/0.002757, allocations: 192.8 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.648/1.648, allocations: 205.1 MB / 222.6 MB, free: 4.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4233/0.4233, allocations: 54.94 MB / 324.8 MB, free: 15.97 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001565/0.001565, allocations: 71.92 kB / 456.2 MB, free: 38.45 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.163, allocations: 59.58 MB / 0.5037 GB, free: 9.863 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.9228/1.086, allocations: 323.8 MB / 0.82 GB, free: 6.637 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.04006/1.126, allocations: 22.71 MB / 0.8421 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006276/1.132, allocations: 95.5 kB / 0.8422 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.006572/1.139, allocations: 1.545 MB / 0.8437 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01588/1.155, allocations: 4.195 MB / 0.8478 GB, free: 10 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.008118/1.163, allocations: 2.255 MB / 0.85 GB, free: 7.758 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01285/1.176, allocations: 5.975 MB / 0.8559 GB, free: 1.766 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005444/1.181, allocations: 2.126 MB / 0.858 GB, free: 15.6 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009622/1.191, allocations: 3.091 MB / 0.861 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005117/1.196, allocations: 1.771 MB / 0.8627 GB, free: 10.73 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001318/1.198, allocations: 224 kB / 0.8629 GB, free: 10.51 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01002/1.208, allocations: 3.567 MB / 0.8664 GB, free: 6.938 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.002243/1.21, allocations: 0.9076 MB / 0.8673 GB, free: 6.027 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.00423/1.214, allocations: 1.349 MB / 0.8686 GB, free: 4.672 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01439/1.229, allocations: 4.769 MB / 0.8733 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/1.229, allocations: 0 / 0.8733 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of FrontEnd: time 4.468e-06/1.229, allocations: 0 / 0.8733 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001786/1.229, allocations: 7.938 kB / 0.8733 GB, free: 15.88 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 352 * Number of variables: 352 Notification: Performance of Generate backend data structure: time 0.009695/1.239, allocations: 3.061 MB / 0.8763 GB, free: 12.75 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.777e-05/1.239, allocations: 8.031 kB / 0.8763 GB, free: 12.75 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006011/1.245, allocations: 0.8256 MB / 0.8771 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005774/1.25, allocations: 1.914 MB / 0.8789 GB, free: 9.93 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001918/1.251, allocations: 118.7 kB / 0.8791 GB, free: 9.812 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005895/1.251, allocations: 152 kB / 0.8792 GB, free: 9.664 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005805/1.257, allocations: 1.796 MB / 0.881 GB, free: 7.801 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.398e-05/1.257, allocations: 4 kB / 0.881 GB, free: 7.797 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002988/1.258, allocations: 56 kB / 0.881 GB, free: 7.742 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.905e-05/1.258, allocations: 50.67 kB / 0.8811 GB, free: 7.691 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004673/1.262, allocations: 1.482 MB / 0.8825 GB, free: 6.203 MB / 0.6544 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.4103/1.673, allocations: 7.992 MB / 0.8903 GB, free: 282.7 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002867/1.676, allocations: 1.081 MB / 0.8914 GB, free: 282.5 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001196/1.677, allocations: 478.1 kB / 0.8918 GB, free: 282.5 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 6.131e-05/1.677, allocations: 17.34 kB / 0.8918 GB, free: 282.5 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.882e-05/1.677, allocations: 46.56 kB / 0.8919 GB, free: 282.5 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=69): time 2.344e-06/1.677, allocations: 0 / 0.8919 GB, free: 282.5 MB / 0.6544 GB Notification: Performance of matching and sorting (n=69): time 0.005386/1.682, allocations: 1.442 MB / 0.8933 GB, free: 282.4 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/1.682, allocations: 61.47 kB / 0.8934 GB, free: 282.3 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003464/1.686, allocations: 1.856 MB / 0.8952 GB, free: 281.6 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001759/1.686, allocations: 45.94 kB / 0.8952 GB, free: 281.6 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000875/1.687, allocations: 1.027 MB / 0.8962 GB, free: 281 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002676/1.687, allocations: 256.5 kB / 0.8965 GB, free: 280.8 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004813/1.688, allocations: 218.9 kB / 0.8967 GB, free: 280.7 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001221/1.688, allocations: 348.4 kB / 0.897 GB, free: 280.4 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001478/1.689, allocations: 479.5 kB / 0.8975 GB, free: 280.2 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00172/1.691, allocations: 0.8712 MB / 0.8983 GB, free: 279.6 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002945/1.694, allocations: 1.245 MB / 0.8995 GB, free: 278.9 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.279e-05/1.694, allocations: 3.25 kB / 0.8995 GB, free: 278.9 MB / 0.6544 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003685/1.698, allocations: 1.479 MB / 0.901 GB, free: 278.3 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.876e-05/1.698, allocations: 9 kB / 0.901 GB, free: 278.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.293e-05/1.698, allocations: 11.7 kB / 0.901 GB, free: 278.3 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.332e-05/1.698, allocations: 16.88 kB / 0.901 GB, free: 278.3 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001815/1.7, allocations: 350 kB / 0.9013 GB, free: 278.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00179/1.701, allocations: 1.515 MB / 0.9028 GB, free: 276.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001937/1.703, allocations: 161.1 kB / 0.903 GB, free: 276.8 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001193/1.703, allocations: 55.95 kB / 0.903 GB, free: 276.8 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00173/1.705, allocations: 0.827 MB / 0.9038 GB, free: 276.4 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009735/1.706, allocations: 0.7927 MB / 0.9046 GB, free: 275.8 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001708/1.708, allocations: 1.119 MB / 0.9057 GB, free: 275.1 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.941e-06/1.708, allocations: 3.969 kB / 0.9057 GB, free: 275.1 MB / 0.6544 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.002702/1.711, allocations: 1.337 MB / 0.907 GB, free: 274.6 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/1.711, allocations: 7.938 kB / 0.907 GB, free: 274.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/1.711, allocations: 14.59 kB / 0.907 GB, free: 274.6 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/1.711, allocations: 18.59 kB / 0.907 GB, free: 274.6 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008855/1.712, allocations: 247.2 kB / 0.9073 GB, free: 274.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.078e-05/1.712, allocations: 23.33 kB / 0.9073 GB, free: 274.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001365/1.713, allocations: 112.1 kB / 0.9074 GB, free: 274.5 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.411e-05/1.713, allocations: 47.62 kB / 0.9075 GB, free: 274.5 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (124): * Single equations (assignments): 121 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004023/1.714, allocations: 249.2 kB / 0.9077 GB, free: 274.3 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002544/1.714, allocations: 209.7 kB / 0.9079 GB, free: 274.1 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002678/1.716, allocations: 1.065 MB / 0.9089 GB, free: 273.6 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/1.716, allocations: 3.969 kB / 0.9089 GB, free: 273.6 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/1.716, allocations: 10.66 kB / 0.909 GB, free: 273.6 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001904/1.718, allocations: 0.9132 MB / 0.9098 GB, free: 273.1 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004937/1.723, allocations: 2.656 MB / 0.9124 GB, free: 271.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/1.723, allocations: 3.984 kB / 0.9124 GB, free: 271.4 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001573/1.725, allocations: 283.5 kB / 0.9127 GB, free: 271.3 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.388e-06/1.725, allocations: 2.75 kB / 0.9127 GB, free: 271.3 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-05/1.725, allocations: 18.05 kB / 0.9127 GB, free: 271.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001324/1.726, allocations: 1.474 MB / 0.9142 GB, free: 269.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/1.726, allocations: 0 / 0.9142 GB, free: 269.8 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003478/1.73, allocations: 1.652 MB / 0.9158 GB, free: 268.8 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008851/1.731, allocations: 377 kB / 0.9161 GB, free: 268.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002053/1.731, allocations: 16.69 kB / 0.9162 GB, free: 268.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001041/1.732, allocations: 68.78 kB / 0.9162 GB, free: 268.5 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/1.732, allocations: 42.94 kB / 0.9163 GB, free: 268.5 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.247e-05/1.732, allocations: 33.12 kB / 0.9163 GB, free: 268.5 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001767/1.734, allocations: 1.255 MB / 0.9175 GB, free: 267.5 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/1.734, allocations: 0 / 0.9175 GB, free: 267.5 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002436/1.736, allocations: 0.9662 MB / 0.9185 GB, free: 266.6 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (floMacDyn.vol.dynBal.U,floMacDyn.vol.dynBal.m,floMacDyn.vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (71): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007777/1.737, allocations: 331.4 kB / 0.9188 GB, free: 266.3 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004306/1.742, allocations: 1.714 MB / 0.9205 GB, free: 264.6 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/1.742, allocations: 1.875 kB / 0.9205 GB, free: 264.6 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001964/1.744, allocations: 0.5752 MB / 0.921 GB, free: 264.1 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004311/1.748, allocations: 1.089 MB / 0.9221 GB, free: 263 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005165/1.753, allocations: 3.565 MB / 0.9256 GB, free: 259.5 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008062/1.754, allocations: 1.566 MB / 0.9271 GB, free: 257.9 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001766/1.756, allocations: 487 kB / 0.9276 GB, free: 257.4 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000371/1.756, allocations: 147.4 kB / 0.9277 GB, free: 257.3 MB / 0.6544 GB Notification: Performance of SimCode: time 7.22e-07/1.756, allocations: 0 / 0.9277 GB, free: 257.3 MB / 0.6544 GB Notification: Performance of Templates: time 0.05502/1.811, allocations: 39.45 MB / 0.9662 GB, free: 218.1 MB / 0.6544 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Movers.Validation.FlowControlled_m_flow.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Movers.Validation.FlowControlled_m_flow.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Movers.Validation.FlowControlled_m_flow.sim & ./Annex60_1.0.0_Annex60.Fluid.Movers.Validation.FlowControlled_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1)