Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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 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.Movers.Validation.FlowControlled_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow") translateModel(IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.0009159/0.0009161, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.00768/0.00768, allocations: 172.8 kB / 16.26 MB, free: 6.613 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.366/1.366, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9572/0.9572, allocations: 135.3 MB / 426.7 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003917/0.0003917, allocations: 8.656 kB / 0.5076 GB, free: 4.742 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2051/0.2055, allocations: 82.31 MB / 0.588 GB, free: 2.605 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow): time 1.203/1.408, allocations: 317 MB / 0.8976 GB, free: 33.08 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02711/1.435, allocations: 20.14 MB / 0.9172 GB, free: 32.84 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003958/1.439, allocations: 80.91 kB / 0.9173 GB, free: 32.84 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.00439/1.444, allocations: 1.31 MB / 0.9186 GB, free: 32.8 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01542/1.459, allocations: 3.947 MB / 0.9225 GB, free: 32.6 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.007397/1.467, allocations: 2.104 MB / 0.9245 GB, free: 32.54 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01589/1.483, allocations: 8.001 MB / 0.9323 GB, free: 32.52 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004724/1.487, allocations: 1.81 MB / 0.9341 GB, free: 32.24 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009105/1.496, allocations: 2.814 MB / 0.9368 GB, free: 32.19 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005579/1.502, allocations: 1.733 MB / 0.9385 GB, free: 32.17 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001062/1.503, allocations: 92.09 kB / 0.9386 GB, free: 32.17 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01108/1.514, allocations: 4.03 MB / 0.9426 GB, free: 32.14 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.002125/1.516, allocations: 0.7327 MB / 0.9433 GB, free: 32.13 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.004411/1.521, allocations: 1.201 MB / 0.9444 GB, free: 32.1 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01188/1.533, allocations: 4.761 MB / 0.9491 GB, free: 30.2 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/1.533, allocations: 2.438 kB / 0.9491 GB, free: 30.2 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.783e-06/1.533, allocations: 0 / 0.9491 GB, free: 30.2 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001604/1.533, allocations: 0 / 0.9491 GB, free: 30.2 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 341 * Number of variables: 341 Notification: Performance of Generate backend data structure: time 0.005463/1.538, allocations: 2.538 MB / 0.9516 GB, free: 28.55 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/1.538, allocations: 9.375 kB / 0.9516 GB, free: 28.55 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005751/1.544, allocations: 0.8767 MB / 0.9524 GB, free: 28.18 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004491/1.549, allocations: 1.866 MB / 0.9543 GB, free: 27.27 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004108/1.549, allocations: 176.4 kB / 0.9544 GB, free: 27.25 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000278/1.549, allocations: 146.5 kB / 0.9546 GB, free: 27.25 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003254/1.553, allocations: 1.679 MB / 0.9562 GB, free: 26.75 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.447e-05/1.553, allocations: 0 / 0.9562 GB, free: 26.75 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001466/1.553, allocations: 57.66 kB / 0.9563 GB, free: 26.75 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.834e-05/1.553, allocations: 49.64 kB / 0.9563 GB, free: 26.75 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002996/1.556, allocations: 1.439 MB / 0.9577 GB, free: 26.5 MB / 0.67 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.009817/1.566, allocations: 7.734 MB / 0.9653 GB, free: 21.45 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001914/1.568, allocations: 1.082 MB / 0.9663 GB, free: 21.1 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001114/1.569, allocations: 0.5224 MB / 0.9668 GB, free: 21.01 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001878/1.569, allocations: 106.8 kB / 0.9669 GB, free: 20.91 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/1.569, allocations: 44.12 kB / 0.967 GB, free: 20.87 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001011/1.57, allocations: 202 kB / 0.9672 GB, free: 20.78 MB / 0.67 GB Notification: Performance of pre-optimization done (n=76): time 2.825e-06/1.57, allocations: 0 / 0.9672 GB, free: 20.78 MB / 0.67 GB Notification: Performance of matching and sorting (n=76): time 0.003406/1.574, allocations: 1.438 MB / 0.9686 GB, free: 20.44 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.906e-05/1.574, allocations: 58.56 kB / 0.9686 GB, free: 20.38 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002174/1.576, allocations: 1.789 MB / 0.9704 GB, free: 19.78 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.000112/1.576, allocations: 48.39 kB / 0.9704 GB, free: 19.73 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008534/1.577, allocations: 0.9905 MB / 0.9714 GB, free: 18.87 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002538/1.577, allocations: 268.8 kB / 0.9716 GB, free: 18.64 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001252/1.577, allocations: 91.5 kB / 0.9717 GB, free: 18.58 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 9.788e-05/1.577, allocations: 342.9 kB / 0.9721 GB, free: 18.25 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001047/1.578, allocations: 469.6 kB / 0.9725 GB, free: 18.03 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001247/1.58, allocations: 0.8733 MB / 0.9734 GB, free: 17.29 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002258/1.582, allocations: 1.275 MB / 0.9746 GB, free: 16.45 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.145e-06/1.582, allocations: 3.281 kB / 0.9746 GB, free: 16.45 MB / 0.67 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003242/1.585, allocations: 1.479 MB / 0.9761 GB, free: 15.77 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002035/1.585, allocations: 379 kB / 0.9764 GB, free: 15.29 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.762e-05/1.585, allocations: 9.719 kB / 0.9764 GB, free: 15.29 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.094e-05/1.585, allocations: 14.28 kB / 0.9764 GB, free: 15.29 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001258/1.587, allocations: 294.3 kB / 0.9767 GB, free: 15.22 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002917/1.587, allocations: 0.6062 MB / 0.9773 GB, free: 14.62 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00197/1.589, allocations: 153.7 kB / 0.9775 GB, free: 14.56 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.339e-05/1.589, allocations: 52.08 kB / 0.9775 GB, free: 14.55 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 7.985e-06/1.589, allocations: 2.875 kB / 0.9775 GB, free: 14.55 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00216/1.591, allocations: 1.162 MB / 0.9786 GB, free: 14.05 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/1.591, allocations: 10.25 kB / 0.9787 GB, free: 14.05 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/1.591, allocations: 16.19 kB / 0.9787 GB, free: 14.05 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009122/1.592, allocations: 260.8 kB / 0.9789 GB, free: 14 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.628e-05/1.592, allocations: 22.84 kB / 0.9789 GB, free: 14 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001879/1.594, allocations: 139.4 kB / 0.9791 GB, free: 13.94 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.232e-05/1.594, allocations: 52.8 kB / 0.9791 GB, free: 13.93 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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.00138/1.596, allocations: 0.5951 MB / 0.9797 GB, free: 13.41 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002842/1.596, allocations: 193.6 kB / 0.9799 GB, free: 13.21 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002389/1.598, allocations: 1.123 MB / 0.981 GB, free: 12.08 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/1.598, allocations: 8 kB / 0.981 GB, free: 12.07 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/1.598, allocations: 3.938 kB / 0.981 GB, free: 12.07 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001789/1.6, allocations: 0.9586 MB / 0.9819 GB, free: 11.09 MB / 0.67 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 postOpt removeSimpleEquations (simulation): time 0.004866/1.605, allocations: 3.06 MB / 0.9849 GB, free: 7.922 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/1.605, allocations: 4 kB / 0.9849 GB, free: 7.918 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001007/1.606, allocations: 215.6 kB / 0.9851 GB, free: 7.715 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.138e-05/1.606, allocations: 8 kB / 0.9851 GB, free: 7.707 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.393e-05/1.606, allocations: 23.98 kB / 0.9852 GB, free: 7.684 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002127/1.606, allocations: 0.5923 MB / 0.9857 GB, free: 7.07 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/1.606, allocations: 0 / 0.9857 GB, free: 7.07 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003149/1.61, allocations: 1.704 MB / 0.9874 GB, free: 5.336 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006642/1.61, allocations: 350.6 kB / 0.9877 GB, free: 4.973 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001964/1.61, allocations: 20 kB / 0.9878 GB, free: 4.953 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001196/1.612, allocations: 148.3 kB / 0.9879 GB, free: 4.809 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.984e-05/1.612, allocations: 51.22 kB / 0.9879 GB, free: 4.762 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.487e-05/1.612, allocations: 27.98 kB / 0.988 GB, free: 4.734 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001424/1.613, allocations: 1.216 MB / 0.9892 GB, free: 3.5 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/1.613, allocations: 0 / 0.9892 GB, free: 3.5 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002317/1.616, allocations: 0.9728 MB / 0.9901 GB, free: 2.527 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (78): * Single equations (assignments): 77 * 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.000738/1.616, allocations: 367.3 kB / 0.9905 GB, free: 2.191 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003498/1.62, allocations: 1.689 MB / 0.9921 GB, free: 0.5742 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/1.62, allocations: 0 / 0.9921 GB, free: 0.5742 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001004/1.621, allocations: 499.4 kB / 0.9926 GB, free: 104 kB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00477/1.626, allocations: 0.995 MB / 0.9936 GB, free: 15.13 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006424/1.632, allocations: 4.348 MB / 0.9978 GB, free: 10.74 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001359/1.633, allocations: 1.57 MB / 0.9993 GB, free: 9.141 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002059/1.635, allocations: 496.6 kB / 0.9998 GB, free: 8.652 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004139/1.636, allocations: 151.4 kB / 1 GB, free: 8.504 MB / 0.6856 GB Notification: Performance of SimCode: time 9.32e-07/1.636, allocations: 2.531 kB / 1 GB, free: 8.504 MB / 0.6856 GB Notification: Performance of Templates: time 0.06547/1.701, allocations: 37.12 MB / 1.036 GB, free: 3.926 MB / 0.7169 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.sim & ./IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1)