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.001364/0.001369, allocations: 108.1 kB / 16.37 MB, free: 6.48 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.001253/0.001253, allocations: 195.8 kB / 17.31 MB, free: 5.82 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.308/1.308, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7819/0.7819, allocations: 132.2 MB / 423.3 MB, free: 6.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.00126, allocations: 63.91 kB / 0.5032 GB, free: 10.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.328/0.3292, allocations: 80.18 MB / 0.5815 GB, free: 27.6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Validation.FlowControlled_dp): time 0.6445/0.9738, allocations: 323.6 MB / 0.8975 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.03088/1.005, allocations: 20.22 MB / 0.9173 GB, free: 11.31 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00492/1.01, allocations: 95.44 kB / 0.9173 GB, free: 11.22 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.004699/1.014, allocations: 1.511 MB / 0.9188 GB, free: 9.699 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01257/1.027, allocations: 4.235 MB / 0.923 GB, free: 5.449 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.006685/1.034, allocations: 2.358 MB / 0.9253 GB, free: 3.109 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.009878/1.044, allocations: 5.964 MB / 0.9311 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003803/1.048, allocations: 2.173 MB / 0.9332 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007424/1.055, allocations: 3.242 MB / 0.9364 GB, free: 7.645 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003725/1.059, allocations: 1.72 MB / 0.938 GB, free: 5.926 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.000729/1.059, allocations: 220 kB / 0.9383 GB, free: 5.711 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007508/1.067, allocations: 3.683 MB / 0.9419 GB, free: 2.02 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001379/1.068, allocations: 0.8763 MB / 0.9427 GB, free: 1.141 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002534/1.071, allocations: 1.353 MB / 0.944 GB, free: 15.78 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.008483/1.079, allocations: 4.768 MB / 0.9487 GB, free: 11 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.912e-06/1.08, allocations: 4 kB / 0.9487 GB, free: 11 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.063e-06/1.08, allocations: 0 / 0.9487 GB, free: 11 MB / 0.67 GB Notification: Performance of Transformations before backend: time 4.741e-05/1.08, allocations: 0 / 0.9487 GB, free: 11 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.005386/1.085, allocations: 2.992 MB / 0.9516 GB, free: 7.941 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/1.085, allocations: 12.03 kB / 0.9516 GB, free: 7.93 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005742/1.091, allocations: 0.8436 MB / 0.9524 GB, free: 7.082 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004323/1.095, allocations: 1.932 MB / 0.9543 GB, free: 5.074 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001042/1.095, allocations: 110.7 kB / 0.9544 GB, free: 4.965 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002417/1.096, allocations: 151.9 kB / 0.9546 GB, free: 4.816 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003247/1.099, allocations: 1.674 MB / 0.9562 GB, free: 3.074 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.626e-05/1.099, allocations: 7.875 kB / 0.9562 GB, free: 3.066 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001313/1.099, allocations: 56 kB / 0.9563 GB, free: 3.012 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.251e-05/1.099, allocations: 50.61 kB / 0.9563 GB, free: 2.961 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003079/1.102, allocations: 1.357 MB / 0.9577 GB, free: 1.598 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.01077/1.113, allocations: 7.888 MB / 0.9654 GB, free: 9.102 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001998/1.115, allocations: 1.013 MB / 0.9663 GB, free: 8.047 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001036/1.116, allocations: 479.5 kB / 0.9668 GB, free: 7.578 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002102/1.116, allocations: 113.7 kB / 0.9669 GB, free: 7.445 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.811e-05/1.116, allocations: 51.16 kB / 0.967 GB, free: 7.387 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=73): time 2.915e-06/1.116, allocations: 0 / 0.967 GB, free: 7.387 MB / 0.6856 GB Notification: Performance of matching and sorting (n=73): time 0.004195/1.12, allocations: 1.508 MB / 0.9684 GB, free: 5.852 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.109e-05/1.121, allocations: 60.06 kB / 0.9685 GB, free: 5.777 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002515/1.123, allocations: 1.81 MB / 0.9703 GB, free: 3.934 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001626/1.123, allocations: 49.69 kB / 0.9703 GB, free: 3.879 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008073/1.124, allocations: 0.9919 MB / 0.9713 GB, free: 2.875 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002865/1.124, allocations: 256.2 kB / 0.9715 GB, free: 2.621 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000336/1.125, allocations: 222.4 kB / 0.9717 GB, free: 2.395 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.000127/1.125, allocations: 345.9 kB / 0.9721 GB, free: 2.051 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001064/1.126, allocations: 448.6 kB / 0.9725 GB, free: 1.609 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001355/1.127, allocations: 0.8343 MB / 0.9733 GB, free: 0.6016 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002294/1.13, allocations: 1.207 MB / 0.9745 GB, free: 15.27 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.095e-05/1.13, allocations: 8 kB / 0.9745 GB, free: 15.26 MB / 0.7012 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.003377/1.133, allocations: 1.456 MB / 0.9759 GB, free: 13.79 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/1.133, allocations: 8 kB / 0.9759 GB, free: 13.78 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.813e-05/1.133, allocations: 8 kB / 0.9759 GB, free: 13.77 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003035/1.133, allocations: 69.22 kB / 0.976 GB, free: 13.7 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001294/1.135, allocations: 279.5 kB / 0.9763 GB, free: 13.43 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001049/1.136, allocations: 1.755 MB / 0.978 GB, free: 11.6 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001608/1.137, allocations: 142.9 kB / 0.9781 GB, free: 11.46 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001197/1.137, allocations: 55.97 kB / 0.9782 GB, free: 11.41 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001721/1.139, allocations: 0.8181 MB / 0.979 GB, free: 10.59 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001187/1.14, allocations: 0.7796 MB / 0.9797 GB, free: 9.633 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001961/1.142, allocations: 1.114 MB / 0.9808 GB, free: 8.395 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.624e-06/1.142, allocations: 8 kB / 0.9808 GB, free: 8.387 MB / 0.7012 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.002994/1.145, allocations: 1.415 MB / 0.9822 GB, free: 6.941 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/1.145, allocations: 8 kB / 0.9822 GB, free: 6.934 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-05/1.145, allocations: 8 kB / 0.9822 GB, free: 6.926 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001386/1.146, allocations: 56.77 kB / 0.9823 GB, free: 6.867 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009911/1.147, allocations: 235.8 kB / 0.9825 GB, free: 6.637 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001326/1.148, allocations: 1.635 MB / 0.9841 GB, free: 4.863 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001477/1.149, allocations: 124.6 kB / 0.9842 GB, free: 4.738 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/1.15, allocations: 48.17 kB / 0.9843 GB, free: 4.691 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.0003559/1.15, allocations: 245.1 kB / 0.9845 GB, free: 4.445 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004993/1.15, allocations: 193.6 kB / 0.9847 GB, free: 4.254 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002873/1.153, allocations: 1.174 MB / 0.9858 GB, free: 3.039 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.104e-06/1.153, allocations: 4 kB / 0.9858 GB, free: 3.035 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/1.153, allocations: 4 kB / 0.9858 GB, free: 3.031 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002022/1.155, allocations: 1.002 MB / 0.9868 GB, free: 1.98 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006085/1.161, allocations: 2.818 MB / 0.9896 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/1.161, allocations: 0 / 0.9896 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001174/1.163, allocations: 219.8 kB / 0.9898 GB, free: 14.84 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.475e-05/1.163, allocations: 24.84 kB / 0.9898 GB, free: 14.81 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.303e-05/1.163, allocations: 23.98 kB / 0.9898 GB, free: 14.79 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00192/1.165, allocations: 3.299 MB / 0.993 GB, free: 11.29 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/1.165, allocations: 12.05 kB / 0.993 GB, free: 11.27 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003733/1.169, allocations: 1.741 MB / 0.9947 GB, free: 9.477 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009313/1.169, allocations: 366.4 kB / 0.9951 GB, free: 9.098 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004306/1.17, allocations: 12 kB / 0.9951 GB, free: 9.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00123/1.171, allocations: 59.89 kB / 0.9952 GB, free: 9.027 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/1.171, allocations: 52.52 kB / 0.9952 GB, free: 8.977 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.701e-05/1.171, allocations: 27.98 kB / 0.9952 GB, free: 8.949 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002161/1.174, allocations: 1.228 MB / 0.9964 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.51e-07/1.174, allocations: 0 / 0.9964 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00308/1.177, allocations: 0.9702 MB / 0.9974 GB, free: 6.73 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.001048/1.178, allocations: 354.3 kB / 0.9977 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.004427/1.182, allocations: 1.764 MB / 0.9995 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/1.182, allocations: 0 / 0.9995 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001355/1.184, allocations: 0.5934 MB / 1 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004564/1.188, allocations: 1.059 MB / 1.001 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006905/1.195, allocations: 3.507 MB / 1.004 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001672/1.197, allocations: 1.574 MB / 1.006 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002027/1.199, allocations: 480.7 kB / 1.006 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004892/1.199, allocations: 147.4 kB / 1.007 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of SimCode: time 7.92e-07/1.199, allocations: 0 / 1.007 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of Templates: time 0.3329/1.532, allocations: 38.82 MB / 1.045 GB, free: 313.7 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 gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_dp.pipe 2>&1)