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.001154/0.001154, allocations: 111 kB / 16.37 MB, free: 6.012 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.001264/0.001264, allocations: 191 kB / 17.3 MB, free: 5.613 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.359/1.359, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8482/0.8482, allocations: 132.2 MB / 423.4 MB, free: 6.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 59.91 kB / 0.5032 GB, free: 10.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3678/0.369, allocations: 80.17 MB / 0.5815 GB, free: 27.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Validation.FlowControlled_dp): time 0.6898/1.059, allocations: 323.6 MB / 0.8975 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0291/1.088, allocations: 20.23 MB / 0.9172 GB, free: 11.33 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004517/1.093, allocations: 95.5 kB / 0.9173 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.004667/1.097, allocations: 1.515 MB / 0.9188 GB, free: 9.711 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01263/1.11, allocations: 4.235 MB / 0.9229 GB, free: 5.461 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.007167/1.117, allocations: 2.36 MB / 0.9253 GB, free: 3.113 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01013/1.127, allocations: 5.961 MB / 0.9311 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004205/1.132, allocations: 2.171 MB / 0.9332 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008121/1.14, allocations: 3.231 MB / 0.9364 GB, free: 7.672 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003991/1.144, allocations: 1.731 MB / 0.938 GB, free: 5.941 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0007761/1.145, allocations: 220 kB / 0.9383 GB, free: 5.727 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008139/1.153, allocations: 3.691 MB / 0.9419 GB, free: 2.027 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001483/1.154, allocations: 0.8763 MB / 0.9427 GB, free: 1.148 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.004001/1.158, allocations: 1.337 MB / 0.944 GB, free: 15.8 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01171/1.17, allocations: 4.779 MB / 0.9487 GB, free: 11.01 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/1.17, allocations: 0 / 0.9487 GB, free: 11.01 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.885e-06/1.17, allocations: 0 / 0.9487 GB, free: 11.01 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001596/1.17, allocations: 0 / 0.9487 GB, free: 11.01 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: 345 * Number of variables: 345 Notification: Performance of Generate backend data structure: time 0.007851/1.178, allocations: 2.99 MB / 0.9516 GB, free: 7.957 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/1.178, allocations: 12.03 kB / 0.9516 GB, free: 7.945 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005979/1.184, allocations: 0.8397 MB / 0.9524 GB, free: 7.102 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00522/1.189, allocations: 1.936 MB / 0.9543 GB, free: 5.09 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001548/1.19, allocations: 114.7 kB / 0.9544 GB, free: 4.977 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004988/1.19, allocations: 151.9 kB / 0.9546 GB, free: 4.828 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004015/1.194, allocations: 1.67 MB / 0.9562 GB, free: 3.09 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.868e-05/1.194, allocations: 7.938 kB / 0.9562 GB, free: 3.082 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000164/1.194, allocations: 56 kB / 0.9563 GB, free: 3.027 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.048e-05/1.194, allocations: 46.61 kB / 0.9563 GB, free: 2.98 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003406/1.198, allocations: 1.357 MB / 0.9576 GB, free: 1.617 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.01277/1.211, allocations: 7.892 MB / 0.9653 GB, free: 9.117 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002091/1.213, allocations: 1.017 MB / 0.9663 GB, free: 8.059 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001039/1.214, allocations: 485 kB / 0.9668 GB, free: 7.586 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002213/1.214, allocations: 105.7 kB / 0.9669 GB, free: 7.461 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.056e-05/1.214, allocations: 47.22 kB / 0.967 GB, free: 7.406 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=73): time 2.985e-06/1.214, allocations: 0 / 0.967 GB, free: 7.406 MB / 0.6856 GB Notification: Performance of matching and sorting (n=73): time 0.004398/1.218, allocations: 1.516 MB / 0.9684 GB, free: 5.863 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.672e-05/1.219, allocations: 56.06 kB / 0.9685 GB, free: 5.793 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003352/1.222, allocations: 1.81 MB / 0.9703 GB, free: 3.949 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001838/1.222, allocations: 53.64 kB / 0.9703 GB, free: 3.891 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009222/1.223, allocations: 0.9919 MB / 0.9713 GB, free: 2.887 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003215/1.223, allocations: 256.2 kB / 0.9715 GB, free: 2.633 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004094/1.224, allocations: 218.4 kB / 0.9717 GB, free: 2.41 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001258/1.224, allocations: 341.9 kB / 0.9721 GB, free: 2.07 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001068/1.225, allocations: 456.6 kB / 0.9725 GB, free: 1.621 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001321/1.226, allocations: 0.8304 MB / 0.9733 GB, free: 0.6172 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002294/1.229, allocations: 1.203 MB / 0.9745 GB, free: 15.28 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.059e-05/1.229, allocations: 8 kB / 0.9745 GB, free: 15.27 MB / 0.7012 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.003411/1.232, allocations: 1.46 MB / 0.9759 GB, free: 13.8 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.71e-05/1.232, allocations: 8 kB / 0.9759 GB, free: 13.79 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.711e-05/1.232, allocations: 8 kB / 0.9759 GB, free: 13.79 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003068/1.232, allocations: 69.22 kB / 0.976 GB, free: 13.71 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00124/1.234, allocations: 283.5 kB / 0.9763 GB, free: 13.44 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001009/1.235, allocations: 1.748 MB / 0.978 GB, free: 11.62 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001573/1.236, allocations: 144.4 kB / 0.9781 GB, free: 11.48 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000132/1.236, allocations: 55.97 kB / 0.9782 GB, free: 11.43 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001637/1.238, allocations: 0.8181 MB / 0.979 GB, free: 10.61 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001162/1.239, allocations: 0.7874 MB / 0.9797 GB, free: 9.641 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001897/1.241, allocations: 1.117 MB / 0.9808 GB, free: 8.398 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.004e-06/1.241, allocations: 0 / 0.9808 GB, free: 8.398 MB / 0.7012 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.002977/1.244, allocations: 1.415 MB / 0.9822 GB, free: 6.953 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/1.244, allocations: 8 kB / 0.9822 GB, free: 6.945 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.577e-05/1.244, allocations: 12 kB / 0.9822 GB, free: 6.934 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001394/1.244, allocations: 48.77 kB / 0.9823 GB, free: 6.883 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009256/1.245, allocations: 239.7 kB / 0.9825 GB, free: 6.648 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001296/1.247, allocations: 1.639 MB / 0.9841 GB, free: 4.871 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001491/1.248, allocations: 112.5 kB / 0.9842 GB, free: 4.758 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001054/1.248, allocations: 52.08 kB / 0.9842 GB, free: 4.707 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 (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.0003521/1.249, allocations: 249.9 kB / 0.9845 GB, free: 4.457 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004869/1.249, allocations: 193.6 kB / 0.9847 GB, free: 4.266 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002794/1.252, allocations: 1.171 MB / 0.9858 GB, free: 3.055 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.447e-06/1.252, allocations: 8 kB / 0.9858 GB, free: 3.047 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/1.252, allocations: 128 / 0.9858 GB, free: 3.047 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002014/1.254, allocations: 1.009 MB / 0.9868 GB, free: 1.988 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006887/1.261, allocations: 2.818 MB / 0.9896 GB, free: 15.06 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-06/1.261, allocations: 4 kB / 0.9896 GB, free: 15.06 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001101/1.262, allocations: 211.8 kB / 0.9898 GB, free: 14.85 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001159/1.262, allocations: 28.84 kB / 0.9898 GB, free: 14.82 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-05/1.262, allocations: 23.98 kB / 0.9898 GB, free: 14.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001991/1.264, allocations: 3.29 MB / 0.993 GB, free: 11.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/1.264, allocations: 4.375 kB / 0.993 GB, free: 11.3 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003726/1.268, allocations: 1.741 MB / 0.9947 GB, free: 9.5 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001108/1.269, allocations: 370.4 kB / 0.9951 GB, free: 9.117 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004124/1.27, allocations: 12 kB / 0.9951 GB, free: 9.105 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001223/1.271, allocations: 59.89 kB / 0.9952 GB, free: 9.047 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001368/1.271, allocations: 44.59 kB / 0.9952 GB, free: 9.004 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.305e-05/1.271, allocations: 35.97 kB / 0.9952 GB, free: 8.969 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002589/1.274, allocations: 1.232 MB / 0.9964 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/1.274, allocations: 0 / 0.9964 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00348/1.277, allocations: 0.9702 MB / 0.9974 GB, free: 6.746 MB / 0.7169 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.001155/1.278, allocations: 361.7 kB / 0.9977 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.004478/1.283, allocations: 1.76 MB / 0.9994 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/1.283, allocations: 0 / 0.9994 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001304/1.284, allocations: 0.5932 MB / 1 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004499/1.289, allocations: 1.058 MB / 1.001 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006331/1.295, allocations: 3.508 MB / 1.004 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001335/1.296, allocations: 1.57 MB / 1.006 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001875/1.298, allocations: 488.7 kB / 1.006 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004299/1.299, allocations: 143.4 kB / 1.007 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of SimCode: time 1.523e-06/1.299, allocations: 0 / 1.007 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of Templates: time 0.3983/1.697, allocations: 38.82 MB / 1.045 GB, free: 313.9 MB / 0.7481 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_dp.pipe 2>&1)