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.001076/0.001076, allocations: 104.4 kB / 16.41 MB, free: 6.512 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.001015/0.001015, allocations: 187 kB / 17.34 MB, free: 5.742 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.261/1.261, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7441/0.7441, allocations: 135.1 MB / 426.3 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 62.25 kB / 0.5863 GB, free: 21.58 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1432, allocations: 80.92 MB / 0.6653 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.6257/0.769, allocations: 323.5 MB / 0.9812 GB, free: 11.26 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02621/0.7952, allocations: 20.2 MB / 1.001 GB, free: 6.992 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003568/0.7988, allocations: 91.5 kB / 1.001 GB, free: 6.902 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.004282/0.8032, allocations: 1.507 MB / 1.003 GB, free: 5.387 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.01039/0.8136, allocations: 4.228 MB / 1.007 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.005803/0.8194, allocations: 2.337 MB / 1.009 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.008281/0.8277, allocations: 5.933 MB / 1.015 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003822/0.8316, allocations: 2.154 MB / 1.017 GB, free: 6.68 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007812/0.8394, allocations: 3.278 MB / 1.02 GB, free: 3.391 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003706/0.8432, allocations: 1.713 MB / 1.022 GB, free: 1.676 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.000933/0.8441, allocations: 220 kB / 1.022 GB, free: 1.461 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007336/0.8515, allocations: 3.687 MB / 1.025 GB, free: 13.77 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.001375/0.8529, allocations: 0.8725 MB / 1.026 GB, free: 12.89 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.002549/0.8555, allocations: 1.333 MB / 1.028 GB, free: 11.55 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.009275/0.8648, allocations: 4.744 MB / 1.032 GB, free: 6.793 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.8648, allocations: 0 / 1.032 GB, free: 6.793 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.274e-06/0.8648, allocations: 0 / 1.032 GB, free: 6.793 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0001414/0.865, allocations: 0 / 1.032 GB, free: 6.793 MB / 0.795 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.006624/0.8716, allocations: 2.969 MB / 1.035 GB, free: 3.762 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.8717, allocations: 13.11 kB / 1.035 GB, free: 3.75 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005312/0.877, allocations: 0.8359 MB / 1.036 GB, free: 2.91 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004465/0.8815, allocations: 1.916 MB / 1.038 GB, free: 0.918 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001205/0.8816, allocations: 114.7 kB / 1.038 GB, free: 0.8047 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003898/0.882, allocations: 143.9 kB / 1.038 GB, free: 0.6641 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003724/0.8858, allocations: 1.654 MB / 1.04 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.916e-05/0.8858, allocations: 3.938 kB / 1.04 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000152/0.886, allocations: 60 kB / 1.04 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-05/0.8861, allocations: 46.58 kB / 1.04 GB, free: 14.83 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003223/0.8893, allocations: 1.357 MB / 1.041 GB, free: 13.47 MB / 0.8106 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.01104/0.9003, allocations: 7.845 MB / 1.049 GB, free: 5.027 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001853/0.9022, allocations: 1.01 MB / 1.05 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001075/0.9033, allocations: 487.5 kB / 1.05 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001978/0.9035, allocations: 117.7 kB / 1.05 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.9036, allocations: 39.22 kB / 1.05 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=72): time 2.755e-06/0.9036, allocations: 0 / 1.05 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of matching and sorting (n=72): time 0.003553/0.9072, allocations: 1.335 MB / 1.052 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.9072, allocations: 60.06 kB / 1.052 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002844/0.9101, allocations: 1.797 MB / 1.054 GB, free: 72 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001156/0.9102, allocations: 45.7 kB / 1.054 GB, free: 20 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.3151/1.225, allocations: 0.982 MB / 1.055 GB, free: 314.7 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003353/1.226, allocations: 253.3 kB / 1.055 GB, free: 314.7 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000395/1.226, allocations: 213.8 kB / 1.055 GB, free: 314.7 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.317e-05/1.226, allocations: 348 kB / 1.055 GB, free: 314.4 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001143/1.227, allocations: 454.7 kB / 1.056 GB, free: 314.4 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001288/1.229, allocations: 0.8338 MB / 1.057 GB, free: 313.9 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00209/1.231, allocations: 1.199 MB / 1.058 GB, free: 313.2 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.385e-06/1.231, allocations: 2.906 kB / 1.058 GB, free: 313.2 MB / 0.8106 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.003023/1.234, allocations: 1.398 MB / 1.059 GB, free: 312.7 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/1.234, allocations: 11.16 kB / 1.059 GB, free: 312.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.736e-05/1.234, allocations: 10.56 kB / 1.059 GB, free: 312.7 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.833e-05/1.234, allocations: 15.25 kB / 1.059 GB, free: 312.7 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/1.235, allocations: 274 kB / 1.059 GB, free: 312.6 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002616/1.235, allocations: 0.6011 MB / 1.06 GB, free: 312.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001312/1.237, allocations: 145.9 kB / 1.06 GB, free: 312 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001087/1.237, allocations: 53.12 kB / 1.06 GB, free: 312 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001516/1.238, allocations: 0.8139 MB / 1.061 GB, free: 311.6 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001091/1.239, allocations: 0.785 MB / 1.062 GB, free: 311 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001915/1.241, allocations: 1.105 MB / 1.063 GB, free: 310.3 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.234e-06/1.241, allocations: 2.219 kB / 1.063 GB, free: 310.3 MB / 0.8106 GB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.002925/1.244, allocations: 1.296 MB / 1.064 GB, free: 309.8 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.926e-05/1.244, allocations: 10.56 kB / 1.064 GB, free: 309.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.553e-05/1.244, allocations: 12.25 kB / 1.064 GB, free: 309.8 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.026e-05/1.244, allocations: 17.84 kB / 1.064 GB, free: 309.8 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/1.245, allocations: 237.9 kB / 1.064 GB, free: 309.8 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.262e-05/1.246, allocations: 24.34 kB / 1.064 GB, free: 309.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001242/1.247, allocations: 116.3 kB / 1.065 GB, free: 309.7 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-05/1.247, allocations: 47.81 kB / 1.065 GB, free: 309.7 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (120): * Single equations (assignments): 117 * 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.0003528/1.247, allocations: 249.2 kB / 1.065 GB, free: 309.5 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003345/1.248, allocations: 192.6 kB / 1.065 GB, free: 309.4 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002652/1.25, allocations: 1.055 MB / 1.066 GB, free: 309 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.368e-05/1.25, allocations: 9.203 kB / 1.066 GB, free: 309 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/1.25, allocations: 1.969 kB / 1.066 GB, free: 309 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001905/1.252, allocations: 0.8815 MB / 1.067 GB, free: 308.6 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004929/1.257, allocations: 2.85 MB / 1.07 GB, free: 307.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/1.257, allocations: 1.094 kB / 1.07 GB, free: 307.2 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009865/1.258, allocations: 200.9 kB / 1.07 GB, free: 307.2 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.096e-05/1.258, allocations: 8.281 kB / 1.07 GB, free: 307.1 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.966e-05/1.258, allocations: 23.44 kB / 1.07 GB, free: 307.1 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001967/1.258, allocations: 0.5907 MB / 1.07 GB, free: 306.5 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/1.258, allocations: 1.594 kB / 1.07 GB, free: 306.5 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00342/1.262, allocations: 1.627 MB / 1.072 GB, free: 305.8 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007514/1.263, allocations: 359.9 kB / 1.072 GB, free: 305.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001816/1.263, allocations: 13.34 kB / 1.072 GB, free: 305.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008844/1.264, allocations: 60.55 kB / 1.072 GB, free: 305.5 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/1.264, allocations: 42.36 kB / 1.072 GB, free: 305.5 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.381e-05/1.264, allocations: 32.41 kB / 1.073 GB, free: 305.5 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001832/1.266, allocations: 1.229 MB / 1.074 GB, free: 305 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.71e-07/1.266, allocations: 0 / 1.074 GB, free: 305 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.002493/1.268, allocations: 0.9558 MB / 1.075 GB, free: 304.9 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (74): * Single equations (assignments): 73 * 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.0008842/1.269, allocations: 359.7 kB / 1.075 GB, free: 304.7 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.00385/1.273, allocations: 1.596 MB / 1.077 GB, free: 304.2 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/1.273, allocations: 1.094 kB / 1.077 GB, free: 304.2 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001098/1.274, allocations: 457.4 kB / 1.077 GB, free: 304.1 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004235/1.278, allocations: 1.046 MB / 1.078 GB, free: 303.8 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005374/1.284, allocations: 3.585 MB / 1.082 GB, free: 302 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008911/1.285, allocations: 1.564 MB / 1.083 GB, free: 301.2 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004989/1.285, allocations: 152.3 kB / 1.083 GB, free: 301.2 MB / 0.8106 GB Notification: Performance of SimCode: time 5.71e-07/1.285, allocations: 1.719 kB / 1.083 GB, free: 301.2 MB / 0.8106 GB Notification: Performance of Templates: time 0.04235/1.328, allocations: 43.93 MB / 1.126 GB, free: 263.6 MB / 0.8106 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)