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.001027/0.001027, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 173 kB / 16.92 MB, free: 6.652 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.335/1.335, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9263/0.9263, allocations: 135.3 MB / 427.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003313/0.0003315, allocations: 17.38 kB / 0.5082 GB, free: 4.773 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1533, allocations: 82.29 MB / 0.5886 GB, free: 2.652 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow): time 1.028/1.181, allocations: 317 MB / 0.8982 GB, free: 33.02 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02904/1.211, allocations: 20.16 MB / 0.9179 GB, free: 32.77 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004551/1.215, allocations: 80.84 kB / 0.918 GB, free: 32.77 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.005101/1.22, allocations: 1.307 MB / 0.9192 GB, free: 32.74 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01378/1.234, allocations: 3.945 MB / 0.9231 GB, free: 32.54 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.006778/1.241, allocations: 2.094 MB / 0.9251 GB, free: 32.48 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01364/1.255, allocations: 8.001 MB / 0.933 GB, free: 32.46 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004485/1.259, allocations: 1.82 MB / 0.9347 GB, free: 32.17 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009449/1.269, allocations: 2.82 MB / 0.9375 GB, free: 32.12 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005458/1.274, allocations: 1.722 MB / 0.9392 GB, free: 32.11 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001044/1.275, allocations: 88.78 kB / 0.9392 GB, free: 32.11 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01055/1.286, allocations: 4.03 MB / 0.9432 GB, free: 32.07 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.002067/1.288, allocations: 0.745 MB / 0.9439 GB, free: 32.06 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.003951/1.292, allocations: 1.202 MB / 0.9451 GB, free: 32.03 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.007564/1.299, allocations: 3.486 MB / 0.9485 GB, free: 30.5 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/1.299, allocations: 4 kB / 0.9485 GB, free: 30.5 MB / 0.67 GB Notification: Performance of FrontEnd: time 3.897e-06/1.299, allocations: 0 / 0.9485 GB, free: 30.5 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001586/1.3, allocations: 0 / 0.9485 GB, free: 30.5 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.006044/1.306, allocations: 2.538 MB / 0.951 GB, free: 28.86 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/1.306, allocations: 11.09 kB / 0.951 GB, free: 28.86 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005832/1.312, allocations: 0.8735 MB / 0.9518 GB, free: 28.5 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004399/1.316, allocations: 1.865 MB / 0.9537 GB, free: 27.59 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004412/1.316, allocations: 177.1 kB / 0.9538 GB, free: 27.56 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005338/1.317, allocations: 148.8 kB / 0.954 GB, free: 27.56 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004187/1.321, allocations: 1.678 MB / 0.9556 GB, free: 27.07 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 5e-05/1.321, allocations: 5.688 kB / 0.9556 GB, free: 27.07 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001792/1.321, allocations: 55.81 kB / 0.9557 GB, free: 27.07 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.693e-05/1.322, allocations: 46.39 kB / 0.9557 GB, free: 27.07 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003471/1.325, allocations: 1.439 MB / 0.9571 GB, free: 26.82 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.01072/1.336, allocations: 7.738 MB / 0.9647 GB, free: 21.76 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001801/1.338, allocations: 1.076 MB / 0.9657 GB, free: 21.42 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001037/1.339, allocations: 0.5274 MB / 0.9662 GB, free: 21.33 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001717/1.339, allocations: 115.1 kB / 0.9663 GB, free: 21.23 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/1.339, allocations: 43.25 kB / 0.9664 GB, free: 21.19 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001057/1.34, allocations: 197.7 kB / 0.9666 GB, free: 21.1 MB / 0.67 GB Notification: Performance of pre-optimization done (n=76): time 3.186e-06/1.34, allocations: 0 / 0.9666 GB, free: 21.1 MB / 0.67 GB Notification: Performance of matching and sorting (n=76): time 0.003259/1.343, allocations: 1.435 MB / 0.968 GB, free: 20.76 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.124e-05/1.343, allocations: 60.81 kB / 0.968 GB, free: 20.7 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002046/1.345, allocations: 1.793 MB / 0.9698 GB, free: 20.18 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001094/1.345, allocations: 43.7 kB / 0.9698 GB, free: 20.15 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005563/1.346, allocations: 0.9865 MB / 0.9708 GB, free: 19.38 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001916/1.346, allocations: 266.6 kB / 0.971 GB, free: 19.15 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000118/1.346, allocations: 96 kB / 0.9711 GB, free: 19.08 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 6.553e-05/1.346, allocations: 349.1 kB / 0.9715 GB, free: 18.75 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009834/1.347, allocations: 472.6 kB / 0.9719 GB, free: 18.53 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001111/1.349, allocations: 0.8697 MB / 0.9728 GB, free: 17.79 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002068/1.351, allocations: 1.275 MB / 0.974 GB, free: 16.95 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/1.351, allocations: 3.156 kB / 0.974 GB, free: 16.95 MB / 0.67 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002804/1.353, allocations: 1.476 MB / 0.9755 GB, free: 16.28 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001692/1.354, allocations: 384.6 kB / 0.9758 GB, free: 15.79 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.651e-05/1.354, allocations: 9.5 kB / 0.9758 GB, free: 15.79 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.074e-05/1.354, allocations: 15.44 kB / 0.9759 GB, free: 15.79 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001202/1.355, allocations: 282.3 kB / 0.9761 GB, free: 15.74 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002526/1.355, allocations: 0.6076 MB / 0.9767 GB, free: 15.14 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001747/1.357, allocations: 156.2 kB / 0.9769 GB, free: 15.07 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.359e-05/1.357, allocations: 51.55 kB / 0.9769 GB, free: 15.06 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 9.498e-06/1.357, allocations: 3.375 kB / 0.9769 GB, free: 15.06 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002079/1.359, allocations: 1.165 MB / 0.9781 GB, free: 14.57 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.589e-05/1.359, allocations: 9.844 kB / 0.9781 GB, free: 14.57 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/1.359, allocations: 14.25 kB / 0.9781 GB, free: 14.57 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008866/1.36, allocations: 261.8 kB / 0.9783 GB, free: 14.52 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.591e-05/1.36, allocations: 18.41 kB / 0.9783 GB, free: 14.52 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001578/1.362, allocations: 150.8 kB / 0.9785 GB, free: 14.46 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.645e-05/1.362, allocations: 49.14 kB / 0.9785 GB, free: 14.45 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.001033/1.363, allocations: 0.5941 MB / 0.9791 GB, free: 14.02 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003798/1.363, allocations: 193 kB / 0.9793 GB, free: 13.91 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002436/1.366, allocations: 1.131 MB / 0.9804 GB, free: 13.07 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.786e-06/1.366, allocations: 8 kB / 0.9804 GB, free: 13.07 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/1.366, allocations: 0 / 0.9804 GB, free: 13.07 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001738/1.367, allocations: 0.9516 MB / 0.9813 GB, free: 12.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.005119/1.373, allocations: 3.065 MB / 0.9843 GB, free: 8.918 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.72e-06/1.373, allocations: 0 / 0.9843 GB, free: 8.918 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009736/1.374, allocations: 219.7 kB / 0.9845 GB, free: 8.711 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.786e-06/1.374, allocations: 4 kB / 0.9845 GB, free: 8.707 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.064e-05/1.374, allocations: 23.98 kB / 0.9846 GB, free: 8.684 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001896/1.374, allocations: 0.5962 MB / 0.9852 GB, free: 8.066 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/1.374, allocations: 6.562 kB / 0.9852 GB, free: 8.062 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003178/1.377, allocations: 1.697 MB / 0.9868 GB, free: 6.336 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008399/1.378, allocations: 346.6 kB / 0.9871 GB, free: 5.977 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002062/1.378, allocations: 20 kB / 0.9872 GB, free: 5.957 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001186/1.379, allocations: 152.3 kB / 0.9873 GB, free: 5.809 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.842e-05/1.379, allocations: 52.53 kB / 0.9874 GB, free: 5.758 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.541e-05/1.379, allocations: 27.97 kB / 0.9874 GB, free: 5.73 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001515/1.381, allocations: 1.216 MB / 0.9886 GB, free: 4.496 MB / 0.67 GB Notification: Performance of sort global known variables: time 5.11e-07/1.381, allocations: 0 / 0.9886 GB, free: 4.496 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002559/1.384, allocations: 0.9742 MB / 0.9895 GB, free: 3.52 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.0008375/1.384, allocations: 360.4 kB / 0.9899 GB, free: 3.195 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003548/1.388, allocations: 1.691 MB / 0.9915 GB, free: 1.57 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/1.388, allocations: 0 / 0.9915 GB, free: 1.57 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0009776/1.389, allocations: 490.8 kB / 0.992 GB, free: 1.113 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005104/1.394, allocations: 1.008 MB / 0.993 GB, free: 136 kB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0072/1.401, allocations: 4.481 MB / 0.9973 GB, free: 11.61 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001211/1.403, allocations: 1.57 MB / 0.9989 GB, free: 10.01 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006634/1.403, allocations: 155.4 kB / 0.999 GB, free: 9.859 MB / 0.6856 GB Notification: Performance of SimCode: time 1.162e-06/1.403, allocations: 0 / 0.999 GB, free: 9.859 MB / 0.6856 GB Notification: Performance of Templates: time 0.06066/1.464, allocations: 43.09 MB / 1.041 GB, free: 15.03 MB / 0.7325 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)