Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Movers.Validation.ControlledFlowMachineDynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Fluid.Movers.Validation.ControlledFlowMachineDynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Movers.Validation.ControlledFlowMachineDynamic") translateModel(Annex60.Fluid.Movers.Validation.ControlledFlowMachineDynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Movers.Validation.ControlledFlowMachineDynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2865/0.2865, allocations: 54.33 MB / 66.89 MB, free: 6.098 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001055/0.001055, allocations: 178.9 kB / 80.7 MB, free: 15.39 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.699/1.699, allocations: 194.2 MB / 288.6 MB, free: 15.07 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001701/0.001701, allocations: 106.1 kB / 346.9 MB, free: 4.797 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.646e-05/3.648e-05, allocations: 4 kB / 412.4 MB, free: 21.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1424, allocations: 57.64 MB / 470 MB, free: 11.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.604/5.746, allocations: 2.174 GB / 2.633 GB, free: 117.6 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002072/5.746, allocations: 94.45 kB / 2.633 GB, free: 117.5 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 15.19/20.94, allocations: 3.736 GB / 6.369 GB, free: 43.06 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.845e-06/20.94, allocations: 0 / 6.369 GB, free: 43.06 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.001913/20.94, allocations: 166.9 kB / 6.369 GB, free: 43.03 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.03282/20.98, allocations: 6.094 MB / 6.375 GB, free: 40.57 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.581e-05/20.98, allocations: 15.16 kB / 6.375 GB, free: 40.57 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01618/20.99, allocations: 1.798 MB / 6.377 GB, free: 40.19 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0343/21.03, allocations: 11.32 MB / 6.388 GB, free: 38.99 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003937/21.03, allocations: 284.9 kB / 6.388 GB, free: 38.98 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001759/21.03, allocations: 399.1 kB / 6.389 GB, free: 38.98 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01239/21.04, allocations: 4.832 MB / 6.393 GB, free: 38.53 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.93e-05/21.04, allocations: 7.5 kB / 6.393 GB, free: 38.53 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005754/21.04, allocations: 145.2 kB / 6.394 GB, free: 38.53 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001135/21.04, allocations: 116.5 kB / 6.394 GB, free: 38.52 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01124/21.05, allocations: 3.621 MB / 6.397 GB, free: 38.49 MB / 0.6667 GB Warning: The model contains alias variables with conflicting start and/or 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.04282/21.1, allocations: 20.44 MB / 6.417 GB, free: 30.67 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01068/21.11, allocations: 3.458 MB / 6.421 GB, free: 30.25 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003327/21.11, allocations: 1.286 MB / 6.422 GB, free: 30.23 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003088/21.11, allocations: 40.92 kB / 6.422 GB, free: 30.23 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007471/21.12, allocations: 2.395 MB / 6.424 GB, free: 30.05 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005693/21.12, allocations: 378.3 kB / 6.425 GB, free: 29.92 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=201): time 1.907e-05/21.12, allocations: 0 / 6.425 GB, free: 29.92 MB / 0.6667 GB Notification: Performance of matching and sorting (n=201): time 0.01632/21.14, allocations: 3.837 MB / 6.428 GB, free: 29.51 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000353/21.14, allocations: 0.634 MB / 6.429 GB, free: 28.76 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02156/21.16, allocations: 6.491 MB / 6.435 GB, free: 28.34 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.001619/21.16, allocations: 93.52 kB / 6.435 GB, free: 28.3 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.005801/21.17, allocations: 2.903 MB / 6.438 GB, free: 27.64 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.001899/21.17, allocations: 0.7009 MB / 6.439 GB, free: 27.18 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001127/21.17, allocations: 61 kB / 6.439 GB, free: 27.18 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0004802/21.17, allocations: 441.2 kB / 6.439 GB, free: 26.88 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003644/21.18, allocations: 1.318 MB / 6.441 GB, free: 26.87 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004668/21.18, allocations: 2.667 MB / 6.443 GB, free: 25.28 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004206/21.19, allocations: 1.699 MB / 6.445 GB, free: 25.18 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.43e-05/21.19, allocations: 9.094 kB / 6.445 GB, free: 25.18 MB / 0.6667 GB Notification: Performance of matching and sorting (n=428) (initialization): time 0.01554/21.2, allocations: 4.736 MB / 6.45 GB, free: 24.71 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.007597/21.21, allocations: 15.34 MB / 6.464 GB, free: 24.37 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002067/21.21, allocations: 38.8 kB / 6.465 GB, free: 24.37 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00132/21.21, allocations: 287.2 kB / 6.465 GB, free: 24.36 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007539/21.22, allocations: 1.202 MB / 6.466 GB, free: 24.36 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005453/21.22, allocations: 3.633 MB / 6.47 GB, free: 21.55 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01167/21.24, allocations: 486.6 kB / 6.47 GB, free: 21.53 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001692/21.24, allocations: 276.9 kB / 6.47 GB, free: 21.53 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/21.24, allocations: 3.656 kB / 6.47 GB, free: 21.53 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0117/21.25, allocations: 4.258 MB / 6.474 GB, free: 21.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002069/21.25, allocations: 38.88 kB / 6.474 GB, free: 21.39 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001408/21.25, allocations: 0.5508 MB / 6.475 GB, free: 21.38 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003355/21.25, allocations: 0.7308 MB / 6.476 GB, free: 21.38 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01124/21.26, allocations: 7.243 MB / 6.483 GB, free: 18.15 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008321/21.27, allocations: 352.9 kB / 6.483 GB, free: 18.13 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001345/21.27, allocations: 234.8 kB / 6.483 GB, free: 18.13 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 137 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.y.T_start,y.T_start,$PRE.y.count,y.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (367): * Single equations (assignments): 349 * Array equations: 8 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.00258/21.28, allocations: 313.6 kB / 6.484 GB, free: 18 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002914/21.28, allocations: 0.5694 MB / 6.484 GB, free: 17.69 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01162/21.29, allocations: 3.471 MB / 6.488 GB, free: 17.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.407e-05/21.29, allocations: 23.75 kB / 6.488 GB, free: 17.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.911e-05/21.29, allocations: 7.062 kB / 6.488 GB, free: 17.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006172/21.3, allocations: 2.965 MB / 6.491 GB, free: 16.97 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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 postOpt removeSimpleEquations (simulation): time 0.03268/21.33, allocations: 9.347 MB / 6.5 GB, free: 15.99 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.791e-05/21.33, allocations: 0 / 6.5 GB, free: 15.99 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005379/21.34, allocations: 0.9884 MB / 6.501 GB, free: 15.99 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007762/21.34, allocations: 264.5 kB / 6.501 GB, free: 15.97 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005146/21.34, allocations: 70.5 kB / 6.501 GB, free: 15.97 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006069/21.34, allocations: 4.454 MB / 6.505 GB, free: 28.44 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.299e-06/21.34, allocations: 2.531 kB / 6.505 GB, free: 28.44 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01219/21.36, allocations: 4.937 MB / 6.51 GB, free: 27.75 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00633/21.36, allocations: 1.243 MB / 6.511 GB, free: 27.35 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003309/21.37, allocations: 58.28 kB / 6.511 GB, free: 27.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007733/21.37, allocations: 437.1 kB / 6.512 GB, free: 27.32 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006956/21.37, allocations: 140.5 kB / 6.512 GB, free: 27.32 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006173/21.37, allocations: 104.7 kB / 6.512 GB, free: 27.32 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.01548/21.39, allocations: 4.937 MB / 6.517 GB, free: 27.07 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.11e-07/21.39, allocations: 2.516 kB / 6.517 GB, free: 27.07 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.02189/21.41, allocations: 3.649 MB / 6.52 GB, free: 26.73 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 20 (fan1.vol.dynBal.U,fan1.vol.dynBal.m,fan1.vol.dynBal.mXi[1],fan1.filter.x[1],fan1.filter.x[2],fan3.vol.dynBal.U,fan3.vol.dynBal.m,fan3.vol.dynBal.mXi[1],fan3.filter.x[1],fan3.filter.x[2],fan2.vol.dynBal.U,fan2.vol.dynBal.m,fan2.vol.dynBal.mXi[1],fan2.filter.x[1],fan2.filter.x[2],fan4.vol.dynBal.U,fan4.vol.dynBal.m,fan4.vol.dynBal.mXi[1],fan4.filter.x[1],fan4.filter.x[2]) * Number of discrete variables: 3 ($whenCondition1,y.T_start,y.count) * Number of discrete states: 1 (y.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (197): * Single equations (assignments): 190 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.02188/21.43, allocations: 11 MB / 6.531 GB, free: 20.76 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01941/21.45, allocations: 6.575 MB / 6.538 GB, free: 20.04 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.417e-05/21.45, allocations: 4.031 kB / 6.538 GB, free: 20.04 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.007179/21.46, allocations: 2.011 MB / 6.54 GB, free: 20.02 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01995/21.48, allocations: 3.304 MB / 6.543 GB, free: 19.93 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02327/21.5, allocations: 8.995 MB / 6.552 GB, free: 17.69 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005628/21.51, allocations: 3.639 MB / 6.555 GB, free: 16.79 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.01419/21.52, allocations: 2.992 MB / 6.558 GB, free: 16.48 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001474/21.53, allocations: 338.3 kB / 6.558 GB, free: 16.48 MB / 0.698 GB Notification: Performance of SimCode: time 1.443e-06/21.53, allocations: 0 / 6.558 GB, free: 16.48 MB / 0.698 GB Notification: Performance of Templates: time 1.053/22.58, allocations: 232.5 MB / 6.785 GB, free: 68.91 MB / 0.7136 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Movers.Validation.ControlledFlowMachineDynamic.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Movers.Validation.ControlledFlowMachineDynamic.sim & ./Annex60_1.0.0_Annex60.Fluid.Movers.Validation.ControlledFlowMachineDynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe 2>&1)