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.009247/0.009247, allocations: 101.1 kB / 15.73 MB, free: 5.992 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.002121/0.002122, allocations: 198.8 kB / 16.68 MB, free: 5.918 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.348/1.348, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8109/0.8109, allocations: 135.1 MB / 425.7 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 63.03 kB / 0.5856 GB, free: 21.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.155, allocations: 80.92 MB / 0.6647 GB, free: 5.773 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter floMacSta.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter floMacDyn.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.6804/0.8354, allocations: 323.5 MB / 0.9806 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02876/0.8642, allocations: 20.2 MB / 1 GB, free: 7.043 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004821/0.8691, allocations: 91.5 kB / 1 GB, free: 6.953 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.004518/0.8736, allocations: 1.554 MB / 1.002 GB, free: 5.391 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.01151/0.8852, allocations: 4.372 MB / 1.006 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.006168/0.8913, allocations: 2.348 MB / 1.008 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.00834/0.8997, allocations: 5.944 MB / 1.014 GB, free: 8.715 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003256/0.903, allocations: 2.154 MB / 1.016 GB, free: 6.516 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007276/0.9103, allocations: 3.324 MB / 1.02 GB, free: 3.18 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003416/0.9137, allocations: 1.717 MB / 1.021 GB, free: 1.461 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0004441/0.9142, allocations: 216 kB / 1.021 GB, free: 1.25 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007419/0.9216, allocations: 3.695 MB / 1.025 GB, free: 13.55 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.001004/0.9226, allocations: 0.8764 MB / 1.026 GB, free: 12.67 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.001829/0.9245, allocations: 1.322 MB / 1.027 GB, free: 11.34 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.008097/0.9326, allocations: 4.748 MB / 1.032 GB, free: 6.578 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.9326, allocations: 0 / 1.032 GB, free: 6.578 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.106e-06/0.9326, allocations: 0 / 1.032 GB, free: 6.578 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.275e-05/0.9327, allocations: 7.938 kB / 1.032 GB, free: 6.57 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.004779/0.9375, allocations: 2.963 MB / 1.035 GB, free: 3.543 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.9375, allocations: 9.109 kB / 1.035 GB, free: 3.535 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005165/0.9427, allocations: 0.8359 MB / 1.036 GB, free: 2.695 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003543/0.9462, allocations: 1.92 MB / 1.037 GB, free: 0.6992 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.981e-05/0.9463, allocations: 106.7 kB / 1.038 GB, free: 0.5938 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002201/0.9466, allocations: 151.9 kB / 1.038 GB, free: 456 kB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003015/0.9496, allocations: 1.654 MB / 1.039 GB, free: 14.72 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.454e-05/0.9496, allocations: 4 kB / 1.039 GB, free: 14.72 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001297/0.9498, allocations: 56 kB / 1.039 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.658e-05/0.9498, allocations: 54.56 kB / 1.039 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00287/0.9527, allocations: 1.353 MB / 1.041 GB, free: 13.25 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.01078/0.9635, allocations: 7.849 MB / 1.048 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001757/0.9653, allocations: 0.9962 MB / 1.049 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009944/0.9663, allocations: 0.4894 MB / 1.05 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002306/0.9665, allocations: 117.6 kB / 1.05 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.327e-05/0.9666, allocations: 43.22 kB / 1.05 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=72): time 2.484e-06/0.9666, allocations: 0 / 1.05 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of matching and sorting (n=72): time 0.003629/0.9702, allocations: 1.335 MB / 1.051 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/0.9703, allocations: 56.06 kB / 1.051 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.389/1.359, allocations: 1.795 MB / 1.053 GB, free: 314.2 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0002459/1.36, allocations: 46.7 kB / 1.053 GB, free: 314.2 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.001179/1.361, allocations: 0.9902 MB / 1.054 GB, free: 314.1 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004133/1.361, allocations: 255.1 kB / 1.054 GB, free: 314.1 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005178/1.362, allocations: 211.4 kB / 1.055 GB, free: 314.1 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.32e-05/1.362, allocations: 346.1 kB / 1.055 GB, free: 313.7 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001247/1.363, allocations: 451.8 kB / 1.055 GB, free: 313.7 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00146/1.365, allocations: 0.8322 MB / 1.056 GB, free: 313.2 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002285/1.367, allocations: 1.2 MB / 1.057 GB, free: 312.5 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.55e-05/1.367, allocations: 7.219 kB / 1.057 GB, free: 312.5 MB / 0.8106 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.003343/1.37, allocations: 1.399 MB / 1.059 GB, free: 312 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.857e-05/1.37, allocations: 10.72 kB / 1.059 GB, free: 312 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.532e-05/1.37, allocations: 9 kB / 1.059 GB, free: 312 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.04e-05/1.37, allocations: 14.03 kB / 1.059 GB, free: 312 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001278/1.372, allocations: 274.4 kB / 1.059 GB, free: 312 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003081/1.372, allocations: 0.6056 MB / 1.06 GB, free: 311.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001531/1.374, allocations: 144.9 kB / 1.06 GB, free: 311.3 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000135/1.374, allocations: 53.22 kB / 1.06 GB, free: 311.3 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00168/1.375, allocations: 0.8156 MB / 1.061 GB, free: 310.9 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001157/1.377, allocations: 0.7867 MB / 1.061 GB, free: 310.3 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002048/1.379, allocations: 1.1 MB / 1.062 GB, free: 309.6 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.204e-05/1.379, allocations: 2.938 kB / 1.062 GB, free: 309.6 MB / 0.8106 GB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.003044/1.382, allocations: 1.292 MB / 1.064 GB, free: 309.1 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.583e-05/1.382, allocations: 9.375 kB / 1.064 GB, free: 309.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.962e-05/1.382, allocations: 10.58 kB / 1.064 GB, free: 309.1 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.842e-05/1.382, allocations: 14.38 kB / 1.064 GB, free: 309.1 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001058/1.383, allocations: 248.7 kB / 1.064 GB, free: 309.1 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.789e-05/1.383, allocations: 25.06 kB / 1.064 GB, free: 309.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001192/1.384, allocations: 112.4 kB / 1.064 GB, free: 309 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.937e-05/1.384, allocations: 48.41 kB / 1.064 GB, free: 309 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.000308/1.384, allocations: 251.1 kB / 1.064 GB, free: 308.8 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000252/1.385, allocations: 191.2 kB / 1.065 GB, free: 308.7 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002701/1.387, allocations: 1.053 MB / 1.066 GB, free: 308.3 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.271e-05/1.387, allocations: 7.594 kB / 1.066 GB, free: 308.3 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/1.387, allocations: 0.5 kB / 1.066 GB, free: 308.3 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001822/1.389, allocations: 0.8859 MB / 1.066 GB, free: 307.9 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004859/1.394, allocations: 2.848 MB / 1.069 GB, free: 306.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/1.394, allocations: 1.406 kB / 1.069 GB, free: 306.5 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001027/1.395, allocations: 210.1 kB / 1.069 GB, free: 306.5 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.366e-06/1.395, allocations: 7.812 kB / 1.069 GB, free: 306.5 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.012e-05/1.395, allocations: 19.84 kB / 1.069 GB, free: 306.4 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001855/1.396, allocations: 0.5847 MB / 1.07 GB, free: 305.9 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/1.396, allocations: 5.125 kB / 1.07 GB, free: 305.9 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003229/1.399, allocations: 1.622 MB / 1.072 GB, free: 305.1 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005958/1.399, allocations: 362.7 kB / 1.072 GB, free: 304.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001892/1.4, allocations: 17 kB / 1.072 GB, free: 304.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008846/1.4, allocations: 52.7 kB / 1.072 GB, free: 304.8 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001155/1.401, allocations: 47.75 kB / 1.072 GB, free: 304.8 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.608e-05/1.401, allocations: 36.52 kB / 1.072 GB, free: 304.8 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001714/1.402, allocations: 1.22 MB / 1.073 GB, free: 304.3 MB / 0.8106 GB Notification: Performance of sort global known variables: time 4.31e-07/1.402, allocations: 1.125 kB / 1.073 GB, free: 304.3 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.002315/1.405, allocations: 0.9541 MB / 1.074 GB, free: 304.2 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.0007767/1.406, allocations: 365.1 kB / 1.075 GB, free: 304.1 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.003599/1.409, allocations: 1.601 MB / 1.076 GB, free: 303.6 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/1.409, allocations: 1.469 kB / 1.076 GB, free: 303.6 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001065/1.41, allocations: 457.4 kB / 1.077 GB, free: 303.4 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003583/1.414, allocations: 1.047 MB / 1.078 GB, free: 303.2 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005387/1.419, allocations: 3.472 MB / 1.081 GB, free: 301.4 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009324/1.42, allocations: 1.558 MB / 1.083 GB, free: 300.6 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.00176/1.422, allocations: 491.9 kB / 1.083 GB, free: 300.5 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003721/1.422, allocations: 145 kB / 1.083 GB, free: 300.5 MB / 0.8106 GB Notification: Performance of SimCode: time 5.91e-07/1.422, allocations: 0 / 1.083 GB, free: 300.5 MB / 0.8106 GB Notification: Performance of Templates: time 0.04898/1.471, allocations: 38.19 MB / 1.12 GB, free: 268.9 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)