Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.Movers.Validation.FlowControlled_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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_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.001088/0.001088, allocations: 104.5 kB / 15.98 MB, free: 6.352 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.001056/0.001056, allocations: 193 kB / 16.91 MB, free: 6.188 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.287/1.287, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.761/0.761, allocations: 132.2 MB / 422.9 MB, free: 6.836 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 59.89 kB / 0.5019 GB, free: 12.03 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4315/0.4327, allocations: 80.18 MB / 0.5802 GB, free: 26.84 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.6964/1.129, allocations: 319.8 MB / 0.8925 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02903/1.158, allocations: 20.06 MB / 0.9121 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004407/1.163, allocations: 83.5 kB / 0.9122 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.004718/1.167, allocations: 1.349 MB / 0.9135 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01162/1.179, allocations: 3.968 MB / 0.9174 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.006466/1.186, allocations: 2.147 MB / 0.9194 GB, free: 8.438 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.009091/1.195, allocations: 5.951 MB / 0.9253 GB, free: 2.469 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004351/1.199, allocations: 2.142 MB / 0.9274 GB, free: 280 kB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008098/1.207, allocations: 3.246 MB / 0.9305 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004159/1.211, allocations: 1.86 MB / 0.9323 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0009846/1.212, allocations: 224 kB / 0.9326 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008362/1.221, allocations: 3.812 MB / 0.9363 GB, free: 7.117 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001592/1.222, allocations: 0.8881 MB / 0.9371 GB, free: 6.227 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.003045/1.225, allocations: 1.334 MB / 0.9384 GB, free: 4.887 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.006417/1.232, allocations: 3.606 MB / 0.942 GB, free: 1.273 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.932e-06/1.232, allocations: 0 / 0.942 GB, free: 1.273 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.563e-06/1.232, allocations: 0 / 0.942 GB, free: 1.273 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.000144/1.232, allocations: 7.938 kB / 0.942 GB, free: 1.266 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: 341 * Number of variables: 341 Notification: Performance of Generate backend data structure: time 0.006956/1.239, allocations: 2.982 MB / 0.9449 GB, free: 14.22 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/1.239, allocations: 8.031 kB / 0.9449 GB, free: 14.21 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005718/1.245, allocations: 0.8437 MB / 0.9457 GB, free: 13.36 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00446/1.249, allocations: 1.85 MB / 0.9475 GB, free: 11.44 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004123/1.25, allocations: 170.6 kB / 0.9477 GB, free: 11.27 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004569/1.25, allocations: 148 kB / 0.9478 GB, free: 11.12 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004005/1.254, allocations: 1.667 MB / 0.9495 GB, free: 9.402 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.571e-05/1.254, allocations: 0 / 0.9495 GB, free: 9.402 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001743/1.254, allocations: 59.94 kB / 0.9495 GB, free: 9.344 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.592e-05/1.254, allocations: 58.53 kB / 0.9496 GB, free: 9.285 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003434/1.258, allocations: 1.4 MB / 0.9509 GB, free: 7.879 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.01154/1.269, allocations: 7.684 MB / 0.9584 GB, free: 15.6 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001972/1.271, allocations: 1.069 MB / 0.9595 GB, free: 14.49 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001088/1.273, allocations: 0.5025 MB / 0.96 GB, free: 13.98 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000216/1.273, allocations: 113.7 kB / 0.9601 GB, free: 13.86 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/1.273, allocations: 39.22 kB / 0.9601 GB, free: 13.81 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001065/1.274, allocations: 151 kB / 0.9603 GB, free: 13.66 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=76): time 2.735e-06/1.274, allocations: 7.875 kB / 0.9603 GB, free: 13.65 MB / 0.6856 GB Notification: Performance of matching and sorting (n=76): time 0.003582/1.278, allocations: 1.421 MB / 0.9617 GB, free: 12.22 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.418e-05/1.278, allocations: 60.06 kB / 0.9617 GB, free: 12.15 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002234/1.28, allocations: 1.793 MB / 0.9635 GB, free: 10.32 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001009/1.28, allocations: 41.7 kB / 0.9635 GB, free: 10.28 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007216/1.281, allocations: 0.988 MB / 0.9645 GB, free: 9.277 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002214/1.281, allocations: 264.1 kB / 0.9647 GB, free: 9.016 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000314/1.281, allocations: 230.4 kB / 0.9649 GB, free: 8.785 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001182/1.281, allocations: 341.9 kB / 0.9653 GB, free: 8.445 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001008/1.282, allocations: 476.5 kB / 0.9657 GB, free: 7.977 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00125/1.284, allocations: 0.858 MB / 0.9666 GB, free: 6.941 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002223/1.286, allocations: 1.263 MB / 0.9678 GB, free: 5.547 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.593e-06/1.286, allocations: 4 kB / 0.9678 GB, free: 5.543 MB / 0.6856 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.00297/1.289, allocations: 1.464 MB / 0.9692 GB, free: 4.074 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.007e-05/1.289, allocations: 15.94 kB / 0.9692 GB, free: 4.059 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.907e-05/1.289, allocations: 12 kB / 0.9693 GB, free: 4.047 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.766e-05/1.289, allocations: 12 kB / 0.9693 GB, free: 4.035 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001286/1.29, allocations: 291.5 kB / 0.9695 GB, free: 3.75 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003699/1.291, allocations: 0.5938 MB / 0.9701 GB, free: 3.133 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001701/1.292, allocations: 154.2 kB / 0.9703 GB, free: 2.984 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001153/1.292, allocations: 51.98 kB / 0.9703 GB, free: 2.934 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001574/1.294, allocations: 0.8415 MB / 0.9711 GB, free: 2.086 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001083/1.295, allocations: 0.8073 MB / 0.9719 GB, free: 1.098 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001875/1.297, allocations: 1.17 MB / 0.9731 GB, free: 15.8 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.785e-06/1.297, allocations: 7.938 kB / 0.9731 GB, free: 15.79 MB / 0.7012 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.002526/1.3, allocations: 1.358 MB / 0.9744 GB, free: 14.43 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/1.3, allocations: 12 kB / 0.9744 GB, free: 14.41 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/1.3, allocations: 8.281 kB / 0.9744 GB, free: 14.41 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/1.3, allocations: 20 kB / 0.9744 GB, free: 14.39 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009794/1.301, allocations: 255.6 kB / 0.9747 GB, free: 14.14 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.579e-05/1.301, allocations: 15.94 kB / 0.9747 GB, free: 14.12 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001468/1.302, allocations: 145 kB / 0.9748 GB, free: 13.98 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.181e-05/1.302, allocations: 51.98 kB / 0.9749 GB, free: 13.93 MB / 0.7012 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 (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.0003463/1.303, allocations: 251.9 kB / 0.9751 GB, free: 13.68 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002389/1.303, allocations: 197.5 kB / 0.9753 GB, free: 13.48 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002626/1.305, allocations: 1.126 MB / 0.9764 GB, free: 12.34 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/1.305, allocations: 8 kB / 0.9764 GB, free: 12.33 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/1.305, allocations: 0 / 0.9764 GB, free: 12.33 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00187/1.307, allocations: 0.9451 MB / 0.9774 GB, free: 11.36 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004841/1.312, allocations: 2.924 MB / 0.9802 GB, free: 8.312 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/1.312, allocations: 4 kB / 0.9802 GB, free: 8.309 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001073/1.313, allocations: 211.8 kB / 0.9804 GB, free: 8.102 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.129e-05/1.313, allocations: 7.984 kB / 0.9804 GB, free: 8.094 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.105e-05/1.313, allocations: 23.98 kB / 0.9804 GB, free: 8.07 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003039/1.314, allocations: 0.586 MB / 0.981 GB, free: 7.461 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/1.314, allocations: 4.031 kB / 0.981 GB, free: 7.457 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003398/1.317, allocations: 1.706 MB / 0.9827 GB, free: 5.723 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007289/1.318, allocations: 354.7 kB / 0.983 GB, free: 5.355 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002099/1.318, allocations: 19.98 kB / 0.983 GB, free: 5.336 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001152/1.319, allocations: 123.7 kB / 0.9832 GB, free: 5.215 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/1.319, allocations: 56.47 kB / 0.9832 GB, free: 5.156 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.204e-05/1.319, allocations: 31.97 kB / 0.9832 GB, free: 5.125 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001638/1.321, allocations: 1.212 MB / 0.9844 GB, free: 3.895 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1e-07/1.321, allocations: 0 / 0.9844 GB, free: 3.895 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002469/1.324, allocations: 0.9702 MB / 0.9854 GB, free: 2.922 MB / 0.7012 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 (79): * Single equations (assignments): 78 * 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.0009432/1.325, allocations: 373.3 kB / 0.9857 GB, free: 2.562 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.004463/1.329, allocations: 1.778 MB / 0.9875 GB, free: 0.7891 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/1.329, allocations: 0 / 0.9875 GB, free: 0.7891 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001121/1.33, allocations: 487.8 kB / 0.9879 GB, free: 324 kB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004733/1.335, allocations: 1.056 MB / 0.989 GB, free: 15.32 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007896/1.343, allocations: 4.438 MB / 0.9933 GB, free: 10.83 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001341/1.344, allocations: 1.566 MB / 0.9948 GB, free: 9.227 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008265/1.345, allocations: 163.4 kB / 0.995 GB, free: 9.066 MB / 0.7169 GB Notification: Performance of SimCode: time 2.134e-06/1.345, allocations: 0 / 0.995 GB, free: 9.066 MB / 0.7169 GB Notification: Performance of Templates: time 0.3825/1.728, allocations: 43.56 MB / 1.038 GB, free: 326.3 MB / 0.7481 GB make -j1 -f IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.makefile (rm -f IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.sim & ./IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1)