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.001714/0.001714, allocations: 108.4 kB / 16.41 MB, free: 6.508 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.001743/0.001743, allocations: 183 kB / 17.34 MB, free: 5.766 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.428/1.428, 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.8926/0.8926, allocations: 135.2 MB / 426.4 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 62.16 kB / 0.5864 GB, free: 21.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1667/0.1686, allocations: 80.93 MB / 0.6654 GB, free: 5.723 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.7565/0.9252, allocations: 324.2 MB / 0.982 GB, free: 10.52 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.03334/0.9585, allocations: 20.21 MB / 1.002 GB, free: 6.242 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003797/0.9623, allocations: 91.5 kB / 1.002 GB, free: 6.152 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.004828/0.9671, allocations: 1.562 MB / 1.003 GB, free: 4.582 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.01252/0.9796, allocations: 4.38 MB / 1.008 GB, free: 192 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.006557/0.9862, allocations: 2.343 MB / 1.01 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.01019/0.9964, allocations: 5.942 MB / 1.016 GB, free: 7.906 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003657/1, allocations: 1.771 MB / 1.018 GB, free: 6.09 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008316/1.008, allocations: 3.324 MB / 1.021 GB, free: 2.754 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004131/1.012, allocations: 1.712 MB / 1.022 GB, free: 1.043 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0007943/1.013, allocations: 220 kB / 1.023 GB, free: 0.8281 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008517/1.022, allocations: 3.691 MB / 1.026 GB, free: 13.13 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.001787/1.024, allocations: 0.9072 MB / 1.027 GB, free: 12.22 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.002851/1.026, allocations: 1.326 MB / 1.028 GB, free: 10.89 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.01062/1.037, allocations: 4.769 MB / 1.033 GB, free: 6.102 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/1.037, allocations: 0 / 1.033 GB, free: 6.102 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.643e-06/1.037, allocations: 0 / 1.033 GB, free: 6.102 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0001048/1.037, allocations: 3.938 kB / 1.033 GB, free: 6.098 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.006617/1.044, allocations: 3.052 MB / 1.036 GB, free: 2.977 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/1.044, allocations: 13.11 kB / 1.036 GB, free: 2.965 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005942/1.05, allocations: 0.849 MB / 1.037 GB, free: 2.113 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004923/1.055, allocations: 1.938 MB / 1.039 GB, free: 104 kB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001689/1.055, allocations: 114.7 kB / 1.039 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003979/1.055, allocations: 143.9 kB / 1.039 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003886/1.059, allocations: 1.659 MB / 1.041 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.643e-05/1.059, allocations: 0 / 1.041 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001463/1.059, allocations: 56 kB / 1.041 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-05/1.059, allocations: 50.56 kB / 1.041 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003493/1.063, allocations: 1.349 MB / 1.042 GB, free: 12.66 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.01247/1.075, allocations: 7.868 MB / 1.05 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00207/1.077, allocations: 0.9521 MB / 1.051 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001122/1.079, allocations: 452.1 kB / 1.051 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000214/1.079, allocations: 117.7 kB / 1.051 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.118e-05/1.079, allocations: 39.22 kB / 1.051 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=72): time 2.815e-06/1.079, allocations: 0 / 1.051 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of matching and sorting (n=72): time 0.003793/1.083, allocations: 1.344 MB / 1.053 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.971e-05/1.083, allocations: 60.06 kB / 1.053 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3357/1.418, allocations: 1.795 MB / 1.054 GB, free: 314.2 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0002505/1.419, allocations: 45.2 kB / 1.054 GB, free: 314.2 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009551/1.42, allocations: 1.002 MB / 1.055 GB, free: 314.1 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003531/1.42, allocations: 263.4 kB / 1.056 GB, free: 314.1 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004231/1.42, allocations: 214.9 kB / 1.056 GB, free: 314 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.865e-05/1.42, allocations: 350 kB / 1.056 GB, free: 313.7 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001213/1.422, allocations: 449.1 kB / 1.057 GB, free: 313.7 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001345/1.423, allocations: 0.8324 MB / 1.057 GB, free: 313.1 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002261/1.425, allocations: 1.199 MB / 1.059 GB, free: 312.4 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.678e-06/1.425, allocations: 3.031 kB / 1.059 GB, free: 312.4 MB / 0.8106 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.003369/1.429, allocations: 1.41 MB / 1.06 GB, free: 311.9 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.496e-05/1.429, allocations: 10.94 kB / 1.06 GB, free: 311.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.124e-05/1.429, allocations: 10.59 kB / 1.06 GB, free: 311.9 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.843e-05/1.429, allocations: 17.03 kB / 1.06 GB, free: 311.9 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001351/1.43, allocations: 272.6 kB / 1.06 GB, free: 311.8 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002979/1.43, allocations: 0.6084 MB / 1.061 GB, free: 311.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001523/1.432, allocations: 148.8 kB / 1.061 GB, free: 311.2 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/1.432, allocations: 52.64 kB / 1.061 GB, free: 311.2 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00179/1.434, allocations: 0.8109 MB / 1.062 GB, free: 310.8 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001217/1.435, allocations: 0.7881 MB / 1.063 GB, free: 310.2 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002065/1.437, allocations: 1.105 MB / 1.064 GB, free: 309.5 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.027e-05/1.437, allocations: 6.641 kB / 1.064 GB, free: 309.5 MB / 0.8106 GB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.003544/1.441, allocations: 1.307 MB / 1.065 GB, free: 309 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.413e-05/1.441, allocations: 11.88 kB / 1.065 GB, free: 309 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.593e-05/1.441, allocations: 9.625 kB / 1.065 GB, free: 309 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.091e-05/1.441, allocations: 17.81 kB / 1.065 GB, free: 309 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001012/1.442, allocations: 243.4 kB / 1.065 GB, free: 309 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.424e-05/1.442, allocations: 22.31 kB / 1.065 GB, free: 309 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001483/1.443, allocations: 112.1 kB / 1.065 GB, free: 308.9 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/1.443, allocations: 48.72 kB / 1.065 GB, free: 308.9 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.0003961/1.444, allocations: 255.8 kB / 1.066 GB, free: 308.7 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005257/1.444, allocations: 200.8 kB / 1.066 GB, free: 308.6 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002955/1.447, allocations: 1.05 MB / 1.067 GB, free: 308.2 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/1.447, allocations: 6.406 kB / 1.067 GB, free: 308.2 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/1.447, allocations: 4.094 kB / 1.067 GB, free: 308.2 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001975/1.449, allocations: 0.8873 MB / 1.068 GB, free: 307.8 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00573/1.455, allocations: 2.853 MB / 1.071 GB, free: 306.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/1.455, allocations: 1.406 kB / 1.071 GB, free: 306.4 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001089/1.456, allocations: 212.9 kB / 1.071 GB, free: 306.4 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.399e-05/1.456, allocations: 5.188 kB / 1.071 GB, free: 306.4 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.349e-05/1.456, allocations: 20.25 kB / 1.071 GB, free: 306.3 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002497/1.456, allocations: 0.5879 MB / 1.071 GB, free: 305.8 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/1.456, allocations: 5.703 kB / 1.071 GB, free: 305.8 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003718/1.46, allocations: 1.631 MB / 1.073 GB, free: 305 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008434/1.461, allocations: 370.7 kB / 1.073 GB, free: 304.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002429/1.461, allocations: 17.94 kB / 1.073 GB, free: 304.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009738/1.462, allocations: 58.12 kB / 1.073 GB, free: 304.7 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/1.462, allocations: 50.16 kB / 1.073 GB, free: 304.7 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.937e-05/1.462, allocations: 30.81 kB / 1.073 GB, free: 304.7 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001934/1.464, allocations: 1.22 MB / 1.075 GB, free: 304.2 MB / 0.8106 GB Notification: Performance of sort global known variables: time 9e-08/1.464, allocations: 0 / 1.075 GB, free: 304.2 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003009/1.467, allocations: 0.96 MB / 1.076 GB, free: 304.1 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.001058/1.468, allocations: 366.9 kB / 1.076 GB, free: 304 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.004206/1.473, allocations: 1.525 MB / 1.077 GB, free: 303.5 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/1.473, allocations: 0 / 1.077 GB, free: 303.5 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001212/1.474, allocations: 428.5 kB / 1.078 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.005231/1.479, allocations: 1.051 MB / 1.079 GB, free: 303.1 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006849/1.486, allocations: 3.646 MB / 1.082 GB, free: 301.3 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001144/1.487, allocations: 1.565 MB / 1.084 GB, free: 300.4 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007258/1.488, allocations: 156.6 kB / 1.084 GB, free: 300.4 MB / 0.8106 GB Notification: Performance of SimCode: time 1.322e-06/1.488, allocations: 1.344 kB / 1.084 GB, free: 300.4 MB / 0.8106 GB Notification: Performance of Templates: time 0.05124/1.539, allocations: 43.82 MB / 1.127 GB, free: 262.8 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)