Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Movers.Examples.ClosedLoop_y.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.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Movers.Examples.ClosedLoop_y") translateModel(Annex60.Fluid.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Movers.Examples.ClosedLoop_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2703/0.2703, allocations: 54.33 MB / 66.89 MB, free: 6.113 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.001074/0.001075, allocations: 184.9 kB / 80.71 MB, free: 15.4 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.394/1.394, 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.001656/0.001656, allocations: 131.3 kB / 346.9 MB, free: 4.793 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.96e-05/2.962e-05, allocations: 4 kB / 412.4 MB, free: 21.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1043, allocations: 57.64 MB / 470 MB, free: 11.79 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.846/4.951, allocations: 2.172 GB / 2.631 GB, free: 119.2 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002761/4.951, allocations: 89.89 kB / 2.632 GB, free: 119.2 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.929/7.88, allocations: 0.7352 GB / 3.367 GB, free: 58.07 MB / 0.5261 GB Notification: Performance of FrontEnd: time 4.138e-06/7.88, allocations: 0 / 3.367 GB, free: 58.07 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0003094/7.881, allocations: 47.56 kB / 3.367 GB, free: 58.07 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.00873/7.889, allocations: 1.894 MB / 3.369 GB, free: 57.41 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 7.397e-05/7.889, allocations: 10.38 kB / 3.369 GB, free: 57.41 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004865/7.894, allocations: 466.8 kB / 3.369 GB, free: 57.32 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007462/7.902, allocations: 1.897 MB / 3.371 GB, free: 56.98 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001879/7.902, allocations: 87 kB / 3.371 GB, free: 56.98 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003575/7.902, allocations: 112.8 kB / 3.371 GB, free: 56.98 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003617/7.906, allocations: 1.231 MB / 3.372 GB, free: 56.78 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.939e-05/7.906, allocations: 7.75 kB / 3.372 GB, free: 56.78 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001403/7.906, allocations: 47.44 kB / 3.372 GB, free: 56.78 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.636e-05/7.906, allocations: 34.53 kB / 3.372 GB, free: 56.78 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002574/7.909, allocations: 0.8996 MB / 3.373 GB, free: 56.77 MB / 0.5261 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.01028/7.919, allocations: 5.127 MB / 3.378 GB, free: 54.49 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002091/7.921, allocations: 0.8638 MB / 3.379 GB, free: 54.35 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005783/7.922, allocations: 335.5 kB / 3.379 GB, free: 54.34 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 6.184e-05/7.922, allocations: 17.52 kB / 3.379 GB, free: 54.34 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001143/7.923, allocations: 0.532 MB / 3.38 GB, free: 54.23 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001221/7.924, allocations: 96.91 kB / 3.38 GB, free: 54.21 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=68): time 3.447e-06/7.924, allocations: 0 / 3.38 GB, free: 54.21 MB / 0.5261 GB Notification: Performance of matching and sorting (n=68): time 0.002391/7.927, allocations: 0.8354 MB / 3.381 GB, free: 54.09 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001704/7.927, allocations: 350.4 kB / 3.381 GB, free: 53.68 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002037/7.929, allocations: 1.083 MB / 3.382 GB, free: 53.52 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.859e-05/7.929, allocations: 42.98 kB / 3.382 GB, free: 53.49 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008525/7.93, allocations: 0.7009 MB / 3.383 GB, free: 53.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002709/7.93, allocations: 245.7 kB / 3.383 GB, free: 53.18 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.189e-05/7.93, allocations: 15.22 kB / 3.383 GB, free: 53.18 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001598/7.931, allocations: 341.3 kB / 3.384 GB, free: 52.88 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000589/7.931, allocations: 305.4 kB / 3.384 GB, free: 52.88 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009526/7.932, allocations: 0.6219 MB / 3.384 GB, free: 52.52 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007803/7.933, allocations: 424.1 kB / 3.385 GB, free: 52.48 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/7.933, allocations: 0 / 3.385 GB, free: 52.48 MB / 0.5261 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.002641/7.936, allocations: 1.129 MB / 3.386 GB, free: 52.32 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001069/7.937, allocations: 2.258 MB / 3.388 GB, free: 50.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.002e-05/7.937, allocations: 6.938 kB / 3.388 GB, free: 50.02 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005303/7.937, allocations: 81.66 kB / 3.388 GB, free: 50.01 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001521/7.939, allocations: 271.5 kB / 3.389 GB, free: 50.01 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001231/7.94, allocations: 1.236 MB / 3.39 GB, free: 48.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001947/7.942, allocations: 109.6 kB / 3.39 GB, free: 48.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001157/7.942, allocations: 51.31 kB / 3.39 GB, free: 48.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/7.942, allocations: 5.125 kB / 3.39 GB, free: 48.9 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00189/7.944, allocations: 0.9719 MB / 3.391 GB, free: 48.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.735e-05/7.944, allocations: 7.469 kB / 3.391 GB, free: 48.84 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004546/7.945, allocations: 107.4 kB / 3.391 GB, free: 48.83 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007119/7.945, allocations: 186.9 kB / 3.391 GB, free: 48.83 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004065/7.949, allocations: 2.718 MB / 3.394 GB, free: 47.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001764/7.951, allocations: 96.62 kB / 3.394 GB, free: 47.07 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.102e-05/7.951, allocations: 43.19 kB / 3.394 GB, free: 47.07 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.y.T_start,y.T_start,$PRE.y.count,y.count,conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 98 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.000406/7.952, allocations: 165.4 kB / 3.394 GB, free: 46.96 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002612/7.952, allocations: 143 kB / 3.394 GB, free: 46.88 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00221/7.954, allocations: 0.8869 MB / 3.395 GB, free: 46.79 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/7.954, allocations: 9.453 kB / 3.395 GB, free: 46.79 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/7.954, allocations: 7.047 kB / 3.395 GB, free: 46.79 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001377/7.956, allocations: 0.7747 MB / 3.396 GB, free: 46.61 MB / 0.5261 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.005158/7.961, allocations: 2.273 MB / 3.398 GB, free: 46.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.676e-06/7.961, allocations: 3.906 kB / 3.398 GB, free: 46.11 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001412/7.962, allocations: 227.6 kB / 3.398 GB, free: 46.11 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003563/7.963, allocations: 87.39 kB / 3.398 GB, free: 46.1 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.882e-05/7.963, allocations: 21.39 kB / 3.398 GB, free: 46.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002103/7.965, allocations: 1.977 MB / 3.4 GB, free: 44.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.426e-06/7.965, allocations: 7.469 kB / 3.4 GB, free: 44.27 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002825/7.968, allocations: 1.31 MB / 3.402 GB, free: 43.99 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001296/7.969, allocations: 296.7 kB / 3.402 GB, free: 43.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002061/7.969, allocations: 17.47 kB / 3.402 GB, free: 43.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001036/7.97, allocations: 103.3 kB / 3.402 GB, free: 43.82 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002266/7.97, allocations: 54.22 kB / 3.402 GB, free: 43.82 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.794e-05/7.97, allocations: 27.44 kB / 3.402 GB, free: 43.82 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001694/7.972, allocations: 0.8317 MB / 3.403 GB, free: 43.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.4e-07/7.972, allocations: 0 / 3.403 GB, free: 43.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004689/7.977, allocations: 1.131 MB / 3.404 GB, free: 43.57 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (fan.vol.dynBal.U,fan.vol.dynBal.m,fan.vol.dynBal.mXi[1],fan.filter.x[1],fan.filter.x[2],conPID.I.y) * 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 (64): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.004849/7.982, allocations: 2.754 MB / 3.407 GB, free: 42.66 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003707/7.985, allocations: 1.652 MB / 3.408 GB, free: 42.34 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/7.985, allocations: 0 / 3.408 GB, free: 42.34 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001645/7.987, allocations: 485.4 kB / 3.409 GB, free: 42.33 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003403/7.991, allocations: 0.6622 MB / 3.409 GB, free: 42.31 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003743/7.994, allocations: 2.035 MB / 3.411 GB, free: 41.76 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008049/7.995, allocations: 1.335 MB / 3.413 GB, free: 41.04 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002179/7.997, allocations: 0.4953 MB / 3.413 GB, free: 41.03 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002284/7.998, allocations: 89.78 kB / 3.413 GB, free: 41.02 MB / 0.5261 GB Notification: Performance of SimCode: time 1.763e-06/7.998, allocations: 0 / 3.413 GB, free: 41.02 MB / 0.5261 GB Notification: Performance of Templates: time 0.09028/8.088, allocations: 63.66 MB / 3.475 GB, free: 37.7 MB / 0.5261 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Movers.Examples.ClosedLoop_y.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Movers.Examples.ClosedLoop_y.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Movers.Examples.ClosedLoop_y.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Movers.Examples.ClosedLoop_y.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Movers.Examples.ClosedLoop_y.sim & ./Annex60_1.0.0_Annex60.Fluid.Movers.Examples.ClosedLoop_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Movers.Examples.ClosedLoop_y.pipe 2>&1)