Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_dp.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_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_dp") translateModel(IDEAS.Fluid.Movers.Validation.FlowControlled_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_dp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001581/0.001581, allocations: 110.6 kB / 16.41 MB, free: 6.496 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.001907/0.001907, allocations: 187 kB / 17.34 MB, free: 5.762 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.344/1.344, 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/package.mo): time 0.7903/0.7903, allocations: 132.2 MB / 423.4 MB, free: 6.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 62.28 kB / 0.582 GB, free: 23.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1511, allocations: 80.21 MB / 0.6603 GB, free: 10.26 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_dp): time 0.7548/0.9059, allocations: 323.6 MB / 0.9764 GB, free: 1.887 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.03285/0.9388, allocations: 20.22 MB / 0.9961 GB, free: 13.61 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003965/0.9428, allocations: 95.5 kB / 0.9962 GB, free: 13.52 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.004682/0.9475, allocations: 1.523 MB / 0.9977 GB, free: 11.99 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.01143/0.959, allocations: 4.219 MB / 1.002 GB, free: 7.754 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.006428/0.9654, allocations: 2.37 MB / 1.004 GB, free: 5.402 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.009486/0.9749, allocations: 5.964 MB / 1.01 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004068/0.979, allocations: 2.175 MB / 1.012 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008151/0.9872, allocations: 3.274 MB / 1.015 GB, free: 9.91 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004217/0.9915, allocations: 1.727 MB / 1.017 GB, free: 8.18 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0009879/0.9925, allocations: 220 kB / 1.017 GB, free: 7.965 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008299/1.001, allocations: 3.687 MB / 1.021 GB, free: 4.27 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.001626/1.002, allocations: 0.8764 MB / 1.022 GB, free: 3.391 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.003112/1.006, allocations: 1.341 MB / 1.023 GB, free: 2.043 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.01047/1.016, allocations: 4.783 MB / 1.028 GB, free: 13.25 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/1.016, allocations: 0 / 1.028 GB, free: 13.25 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.244e-06/1.016, allocations: 0 / 1.028 GB, free: 13.25 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0001487/1.016, allocations: 0 / 1.028 GB, free: 13.25 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: 345 * Number of variables: 345 Notification: Performance of Generate backend data structure: time 0.007149/1.023, allocations: 2.996 MB / 1.031 GB, free: 10.19 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/1.024, allocations: 8.031 kB / 1.031 GB, free: 10.18 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005844/1.029, allocations: 0.8436 MB / 1.031 GB, free: 9.332 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004612/1.034, allocations: 1.932 MB / 1.033 GB, free: 7.324 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001407/1.034, allocations: 114.7 kB / 1.033 GB, free: 7.211 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004368/1.035, allocations: 147.9 kB / 1.033 GB, free: 7.066 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003971/1.039, allocations: 1.67 MB / 1.035 GB, free: 5.328 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.172e-05/1.039, allocations: 0 / 1.035 GB, free: 5.328 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001735/1.039, allocations: 56 kB / 1.035 GB, free: 5.273 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.527e-05/1.039, allocations: 54.61 kB / 1.035 GB, free: 5.219 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003301/1.042, allocations: 1.361 MB / 1.037 GB, free: 3.852 MB / 0.795 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.01211/1.054, allocations: 7.904 MB / 1.044 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002079/1.056, allocations: 1.001 MB / 1.045 GB, free: 10.3 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001112/1.058, allocations: 483.5 kB / 1.046 GB, free: 9.824 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002012/1.058, allocations: 109.7 kB / 1.046 GB, free: 9.699 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.633e-05/1.058, allocations: 39.22 kB / 1.046 GB, free: 9.648 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=73): time 2.645e-06/1.058, allocations: 3.938 kB / 1.046 GB, free: 9.645 MB / 0.8106 GB Notification: Performance of matching and sorting (n=73): time 0.004284/1.062, allocations: 1.526 MB / 1.047 GB, free: 8.094 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/1.062, allocations: 60.06 kB / 1.047 GB, free: 8.023 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002986/1.065, allocations: 1.81 MB / 1.049 GB, free: 6.18 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001325/1.065, allocations: 41.7 kB / 1.049 GB, free: 6.133 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008832/1.066, allocations: 0.9996 MB / 1.05 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.000281/1.067, allocations: 252.3 kB / 1.05 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003607/1.067, allocations: 218.4 kB / 1.051 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000131/1.067, allocations: 345.9 kB / 1.051 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001042/1.068, allocations: 448.6 kB / 1.051 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001423/1.07, allocations: 0.8343 MB / 1.052 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002342/1.072, allocations: 1.203 MB / 1.053 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.119e-05/1.072, allocations: 0 / 1.053 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.003433/1.075, allocations: 1.453 MB / 1.055 GB, free: 60 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.864e-05/1.075, allocations: 17.89 kB / 1.055 GB, free: 44 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.972e-05/1.075, allocations: 12 kB / 1.055 GB, free: 32 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3381/1.414, allocations: 61.7 kB / 1.055 GB, free: 317.4 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001554/1.415, allocations: 278.7 kB / 1.055 GB, free: 317.4 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007737/1.416, allocations: 1.754 MB / 1.057 GB, free: 315.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001725/1.418, allocations: 146.2 kB / 1.057 GB, free: 315.8 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000139/1.418, allocations: 52.06 kB / 1.057 GB, free: 315.8 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001848/1.42, allocations: 0.8211 MB / 1.058 GB, free: 315.7 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001166/1.421, allocations: 0.7839 MB / 1.059 GB, free: 315.2 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001982/1.423, allocations: 1.109 MB / 1.06 GB, free: 314.9 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.845e-06/1.423, allocations: 5.781 kB / 1.06 GB, free: 314.9 MB / 0.8106 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.003014/1.426, allocations: 1.416 MB / 1.061 GB, free: 314.7 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/1.426, allocations: 9.594 kB / 1.061 GB, free: 314.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.697e-05/1.426, allocations: 9.562 kB / 1.061 GB, free: 314.7 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001453/1.426, allocations: 52.25 kB / 1.061 GB, free: 314.7 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001019/1.427, allocations: 232.1 kB / 1.061 GB, free: 314.7 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001072/1.428, allocations: 1.64 MB / 1.063 GB, free: 313.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001524/1.43, allocations: 112.8 kB / 1.063 GB, free: 313.1 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/1.43, allocations: 48.61 kB / 1.063 GB, free: 313.1 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 (117): * Single equations (assignments): 112 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003671/1.43, allocations: 258.5 kB / 1.063 GB, free: 312.9 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003273/1.431, allocations: 194.6 kB / 1.064 GB, free: 312.9 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002941/1.433, allocations: 1.168 MB / 1.065 GB, free: 312.4 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.336e-05/1.434, allocations: 7.703 kB / 1.065 GB, free: 312.4 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/1.434, allocations: 1.469 kB / 1.065 GB, free: 312.4 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00221/1.436, allocations: 0.9976 MB / 1.066 GB, free: 311.9 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006187/1.442, allocations: 2.825 MB / 1.068 GB, free: 310.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/1.442, allocations: 1.281 kB / 1.068 GB, free: 310.5 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001118/1.443, allocations: 223 kB / 1.069 GB, free: 310.5 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.988e-05/1.443, allocations: 23.78 kB / 1.069 GB, free: 310.5 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.308e-05/1.443, allocations: 19.7 kB / 1.069 GB, free: 310.5 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001383/1.445, allocations: 3.297 MB / 1.072 GB, free: 307.1 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.706e-06/1.445, allocations: 1.25 kB / 1.072 GB, free: 307.1 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003804/1.448, allocations: 1.74 MB / 1.074 GB, free: 306.3 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007954/1.449, allocations: 363.6 kB / 1.074 GB, free: 306 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002087/1.45, allocations: 18.06 kB / 1.074 GB, free: 306 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009724/1.451, allocations: 54.53 kB / 1.074 GB, free: 306 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000142/1.451, allocations: 54.94 kB / 1.074 GB, free: 306 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.574e-05/1.451, allocations: 29.95 kB / 1.074 GB, free: 306 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001935/1.453, allocations: 1.23 MB / 1.075 GB, free: 305.5 MB / 0.8106 GB Notification: Performance of sort global known variables: time 5.61e-07/1.453, allocations: 0 / 1.075 GB, free: 305.5 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003077/1.456, allocations: 0.9711 MB / 1.076 GB, free: 305.4 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 (73): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009691/1.457, allocations: 364.2 kB / 1.077 GB, free: 305.3 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.004359/1.461, allocations: 1.762 MB / 1.078 GB, free: 304.7 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/1.461, allocations: 0 / 1.078 GB, free: 304.7 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001283/1.462, allocations: 0.5893 MB / 1.079 GB, free: 304.4 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004723/1.467, allocations: 1.068 MB / 1.08 GB, free: 304.2 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006588/1.474, allocations: 3.628 MB / 1.084 GB, free: 302.4 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001269/1.475, allocations: 1.573 MB / 1.085 GB, free: 301.6 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006699/1.476, allocations: 157.1 kB / 1.085 GB, free: 301.5 MB / 0.8106 GB Notification: Performance of SimCode: time 7.61e-07/1.476, allocations: 0 / 1.085 GB, free: 301.5 MB / 0.8106 GB Notification: Performance of Templates: time 0.06222/1.538, allocations: 67.72 MB / 1.151 GB, free: 241.9 MB / 0.8106 GB make -j1 -f IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_dp.makefile (rm -f IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_dp.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_dp.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_dp.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_dp.sim & ./IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_dp.pipe 2>&1)