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.00128/0.00128, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001312/0.001312, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.33/1.33, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8321/0.8321, allocations: 135.1 MB / 426.2 MB, free: 4.168 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001571/0.001571, allocations: 63.91 kB / 0.506 GB, free: 8.41 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3758/0.3773, allocations: 80.91 MB / 0.585 GB, free: 25.3 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.6512/1.029, allocations: 323.5 MB / 0.9009 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.03088/1.06, allocations: 20.2 MB / 0.9206 GB, free: 5.992 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004019/1.064, allocations: 91.5 kB / 0.9207 GB, free: 5.902 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.004991/1.069, allocations: 1.507 MB / 0.9222 GB, free: 4.387 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01225/1.081, allocations: 4.227 MB / 0.9263 GB, free: 148 kB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.006475/1.087, allocations: 2.329 MB / 0.9286 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.008929/1.096, allocations: 5.935 MB / 0.9344 GB, free: 7.879 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004271/1.101, allocations: 2.15 MB / 0.9365 GB, free: 5.676 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007517/1.108, allocations: 3.2 MB / 0.9396 GB, free: 2.465 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003794/1.112, allocations: 1.724 MB / 0.9413 GB, free: 0.7383 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0009424/1.113, allocations: 220 kB / 0.9415 GB, free: 0.5234 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007927/1.121, allocations: 3.68 MB / 0.9451 GB, free: 12.84 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001606/1.123, allocations: 0.8725 MB / 0.9459 GB, free: 11.96 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002884/1.126, allocations: 1.33 MB / 0.9472 GB, free: 10.62 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01013/1.136, allocations: 4.694 MB / 0.9518 GB, free: 5.918 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/1.136, allocations: 4 kB / 0.9518 GB, free: 5.914 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.974e-06/1.136, allocations: 0 / 0.9518 GB, free: 5.914 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001526/1.136, allocations: 0 / 0.9518 GB, free: 5.914 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: 341 * Number of variables: 341 Notification: Performance of Generate backend data structure: time 0.006774/1.143, allocations: 2.963 MB / 0.9547 GB, free: 2.887 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/1.143, allocations: 9.109 kB / 0.9547 GB, free: 2.879 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005608/1.148, allocations: 0.8398 MB / 0.9556 GB, free: 2.035 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003967/1.152, allocations: 1.846 MB / 0.9574 GB, free: 116 kB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004255/1.153, allocations: 174.6 kB / 0.9575 GB, free: 15.94 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003025/1.153, allocations: 144 kB / 0.9577 GB, free: 15.8 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003433/1.157, allocations: 1.658 MB / 0.9593 GB, free: 14.07 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.427e-05/1.157, allocations: 4 kB / 0.9593 GB, free: 14.07 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001328/1.157, allocations: 52 kB / 0.9593 GB, free: 14.02 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-05/1.157, allocations: 62.5 kB / 0.9594 GB, free: 13.95 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003357/1.16, allocations: 1.353 MB / 0.9607 GB, free: 12.59 MB / 0.6856 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.01155/1.172, allocations: 7.931 MB / 0.9685 GB, free: 4.074 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002062/1.174, allocations: 1.008 MB / 0.9694 GB, free: 3.02 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001182/1.175, allocations: 494.5 kB / 0.9699 GB, free: 2.535 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000235/1.175, allocations: 109.7 kB / 0.97 GB, free: 2.41 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.111e-05/1.175, allocations: 43.22 kB / 0.9701 GB, free: 2.359 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=72): time 3.397e-06/1.175, allocations: 0 / 0.9701 GB, free: 2.359 MB / 0.6856 GB Notification: Performance of matching and sorting (n=72): time 0.003892/1.179, allocations: 1.347 MB / 0.9714 GB, free: 1.004 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.087e-05/1.179, allocations: 64.06 kB / 0.9714 GB, free: 0.9297 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002458/1.182, allocations: 1.794 MB / 0.9732 GB, free: 15.1 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001209/1.182, allocations: 45.61 kB / 0.9732 GB, free: 15.05 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008023/1.183, allocations: 0.9917 MB / 0.9742 GB, free: 14.05 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002503/1.183, allocations: 252.3 kB / 0.9744 GB, free: 13.8 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003189/1.183, allocations: 218.4 kB / 0.9746 GB, free: 13.58 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001377/1.184, allocations: 349.9 kB / 0.975 GB, free: 13.23 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001082/1.185, allocations: 448.6 kB / 0.9754 GB, free: 12.79 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00137/1.186, allocations: 0.8367 MB / 0.9762 GB, free: 11.78 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002298/1.188, allocations: 1.215 MB / 0.9774 GB, free: 10.43 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.683e-06/1.188, allocations: 0 / 0.9774 GB, free: 10.43 MB / 0.7012 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.003161/1.191, allocations: 1.409 MB / 0.9788 GB, free: 9.016 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.825e-05/1.192, allocations: 8 kB / 0.9788 GB, free: 9.008 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.708e-05/1.192, allocations: 12.41 kB / 0.9788 GB, free: 8.996 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.994e-05/1.192, allocations: 16 kB / 0.9788 GB, free: 8.98 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001244/1.193, allocations: 271.6 kB / 0.9791 GB, free: 8.715 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003854/1.193, allocations: 0.6094 MB / 0.9797 GB, free: 8.082 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001406/1.195, allocations: 145.9 kB / 0.9798 GB, free: 7.941 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.87e-05/1.195, allocations: 55.97 kB / 0.9799 GB, free: 7.887 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001684/1.196, allocations: 0.8181 MB / 0.9807 GB, free: 7.062 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001181/1.198, allocations: 0.7874 MB / 0.9814 GB, free: 6.102 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001967/1.2, allocations: 1.114 MB / 0.9825 GB, free: 4.855 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.462e-06/1.2, allocations: 4 kB / 0.9825 GB, free: 4.852 MB / 0.7012 GB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.002699/1.202, allocations: 1.303 MB / 0.9838 GB, free: 3.539 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/1.202, allocations: 8 kB / 0.9838 GB, free: 3.531 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/1.202, allocations: 12.34 kB / 0.9838 GB, free: 3.52 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/1.202, allocations: 20 kB / 0.9838 GB, free: 3.5 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009653/1.203, allocations: 247.5 kB / 0.9841 GB, free: 3.258 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.898e-05/1.203, allocations: 23.92 kB / 0.9841 GB, free: 3.234 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001302/1.205, allocations: 120.5 kB / 0.9842 GB, free: 3.117 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.425e-05/1.205, allocations: 47.98 kB / 0.9843 GB, free: 3.07 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 (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.0003275/1.205, allocations: 249.6 kB / 0.9845 GB, free: 2.82 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003129/1.205, allocations: 193.5 kB / 0.9847 GB, free: 2.629 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002736/1.208, allocations: 1.067 MB / 0.9857 GB, free: 1.555 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.171e-05/1.208, allocations: 8 kB / 0.9857 GB, free: 1.547 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/1.208, allocations: 0 / 0.9857 GB, free: 1.547 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002039/1.21, allocations: 0.8943 MB / 0.9866 GB, free: 0.6211 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005247/1.216, allocations: 2.867 MB / 0.9894 GB, free: 13.63 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/1.216, allocations: 4 kB / 0.9894 GB, free: 13.63 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001056/1.217, allocations: 195.9 kB / 0.9896 GB, free: 13.44 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.918e-06/1.217, allocations: 7.938 kB / 0.9896 GB, free: 13.43 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.718e-05/1.217, allocations: 23.98 kB / 0.9896 GB, free: 13.41 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003163/1.217, allocations: 0.5976 MB / 0.9902 GB, free: 12.79 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/1.217, allocations: 0 / 0.9902 GB, free: 12.79 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00359/1.221, allocations: 1.628 MB / 0.9918 GB, free: 11.12 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007502/1.221, allocations: 354.5 kB / 0.9921 GB, free: 10.76 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002268/1.222, allocations: 19.94 kB / 0.9922 GB, free: 10.74 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000979/1.223, allocations: 63.88 kB / 0.9922 GB, free: 10.68 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/1.223, allocations: 40.5 kB / 0.9923 GB, free: 10.64 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.394e-05/1.223, allocations: 31.98 kB / 0.9923 GB, free: 10.61 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001714/1.225, allocations: 1.22 MB / 0.9935 GB, free: 9.367 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/1.225, allocations: 0 / 0.9935 GB, free: 9.367 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002486/1.227, allocations: 0.9662 MB / 0.9944 GB, free: 8.398 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 (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.0009309/1.228, allocations: 361.7 kB / 0.9948 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.004332/1.232, allocations: 1.678 MB / 0.9964 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/1.232, allocations: 3.938 kB / 0.9964 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001145/1.234, allocations: 468.8 kB / 0.9969 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004416/1.238, allocations: 1.047 MB / 0.9979 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006026/1.244, allocations: 3.66 MB / 1.001 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0012/1.245, allocations: 1.562 MB / 1.003 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000538/1.246, allocations: 155.4 kB / 1.003 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of SimCode: time 7.42e-07/1.246, allocations: 0 / 1.003 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of Templates: time 0.3463/1.592, allocations: 43.39 MB / 1.046 GB, free: 322.5 MB / 0.7481 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)