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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2665/0.2665, allocations: 54.4 MB / 61.68 MB, free: 1.691 MB / 50.76 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001147/0.001146, allocations: 184.4 kB / 75.38 MB, free: 10.51 MB / 66.76 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.331/1.331, allocations: 194.2 MB / 283.2 MB, free: 9.242 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001678/0.001678, allocations: 109.4 kB / 341.3 MB, free: 2.152 MB / 258.8 MB Notification: Performance of FrontEnd - loaded program: time 9.227e-06/9.307e-06, allocations: 4 kB / 405 MB, free: 2.414 MB / 322.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1437, allocations: 57.64 MB / 462.6 MB, free: 8.691 MB / 386.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.352/4.496, allocations: 2.172 GB / 2.623 GB, free: 119.2 MB / 498.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003466/4.496, allocations: 86.95 kB / 2.624 GB, free: 119.2 MB / 498.8 MB Notification: Performance of FrontEnd: time 2.953/7.45, allocations: 0.7351 GB / 3.359 GB, free: 49.27 MB / 0.5183 GB Notification: Performance of Transformations before backend: time 0.0004103/7.45, allocations: 46.28 kB / 3.359 GB, free: 49.27 MB / 0.5183 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.00825/7.458, allocations: 1.91 MB / 3.36 GB, free: 48.52 MB / 0.5183 GB Notification: Performance of prepare preOptimizeDAE: time 5.889e-05/7.459, allocations: 15.41 kB / 3.361 GB, free: 48.52 MB / 0.5183 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004615/7.463, allocations: 0.4952 MB / 3.361 GB, free: 48.42 MB / 0.5183 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007448/7.471, allocations: 1.939 MB / 3.363 GB, free: 48.08 MB / 0.5183 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001068/7.471, allocations: 31.31 kB / 3.363 GB, free: 48.08 MB / 0.5183 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000578/7.471, allocations: 69.47 kB / 3.363 GB, free: 48.08 MB / 0.5183 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002822/7.474, allocations: 0.9078 MB / 3.364 GB, free: 48.07 MB / 0.5183 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002838/7.477, allocations: 1.104 MB / 3.365 GB, free: 47.88 MB / 0.5183 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.739e-05/7.477, allocations: 2.75 kB / 3.365 GB, free: 47.88 MB / 0.5183 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001636/7.477, allocations: 3.531 kB / 3.365 GB, free: 47.88 MB / 0.5183 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.281e-05/7.477, allocations: 39 kB / 3.365 GB, free: 47.88 MB / 0.5183 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01014/7.488, allocations: 5.068 MB / 3.37 GB, free: 45.62 MB / 0.5183 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00157/7.489, allocations: 0.7872 MB / 3.371 GB, free: 45.59 MB / 0.5183 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007639/7.49, allocations: 418.3 kB / 3.371 GB, free: 45.58 MB / 0.5183 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001857/7.49, allocations: 99.42 kB / 3.371 GB, free: 45.49 MB / 0.5183 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000825/7.491, allocations: 0.5135 MB / 3.372 GB, free: 45.38 MB / 0.5183 GB Notification: Performance of pre-optimization done (n=68): time 3.757e-06/7.491, allocations: 0 / 3.372 GB, free: 45.38 MB / 0.5183 GB Notification: Performance of matching and sorting (n=68): time 0.003656/7.495, allocations: 0.9451 MB / 3.373 GB, free: 45.25 MB / 0.5183 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001685/7.495, allocations: 347.4 kB / 3.373 GB, free: 44.84 MB / 0.5183 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002567/7.497, allocations: 0.9273 MB / 3.374 GB, free: 44.7 MB / 0.5183 GB Notification: Performance of collectPreVariables (initialization): time 0.0002047/7.498, allocations: 29.23 kB / 3.374 GB, free: 44.66 MB / 0.5183 GB Notification: Performance of collectInitialEqns (initialization): time 0.000916/7.499, allocations: 484.4 kB / 3.374 GB, free: 44.46 MB / 0.5183 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004089/7.499, allocations: 225.9 kB / 3.375 GB, free: 44.31 MB / 0.5183 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.775e-05/7.499, allocations: 0 / 3.375 GB, free: 44.31 MB / 0.5183 GB Notification: Performance of setup shared object (initialization): time 0.0001797/7.499, allocations: 347.5 kB / 3.375 GB, free: 44 MB / 0.5183 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006831/7.5, allocations: 332.4 kB / 3.375 GB, free: 44 MB / 0.5183 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009938/7.501, allocations: 0.6359 MB / 3.376 GB, free: 43.65 MB / 0.5183 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001202/7.502, allocations: 445.3 kB / 3.376 GB, free: 43.64 MB / 0.5183 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-05/7.502, allocations: 6.156 kB / 3.376 GB, free: 43.64 MB / 0.5183 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.002986/7.505, allocations: 1.144 MB / 3.377 GB, free: 43.51 MB / 0.5183 GB Notification: Performance of prepare postOptimizeDAE: time 0.000779/7.506, allocations: 2.216 MB / 3.38 GB, free: 41.24 MB / 0.5183 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.852e-05/7.506, allocations: 6.531 kB / 3.38 GB, free: 41.24 MB / 0.5183 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004628/7.507, allocations: 111.8 kB / 3.38 GB, free: 41.23 MB / 0.5183 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001736/7.508, allocations: 291.7 kB / 3.38 GB, free: 41.23 MB / 0.5183 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001519/7.51, allocations: 1.335 MB / 3.381 GB, free: 40.13 MB / 0.5183 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001847/7.512, allocations: 140.5 kB / 3.381 GB, free: 40.08 MB / 0.5183 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001653/7.512, allocations: 55.58 kB / 3.381 GB, free: 40.08 MB / 0.5183 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/7.512, allocations: 3.969 kB / 3.381 GB, free: 40.08 MB / 0.5183 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002075/7.514, allocations: 0.8828 MB / 3.382 GB, free: 40.06 MB / 0.5183 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.155e-05/7.514, allocations: 11.81 kB / 3.382 GB, free: 40.06 MB / 0.5183 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000489/7.515, allocations: 104.4 kB / 3.382 GB, free: 40.05 MB / 0.5183 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000862/7.515, allocations: 199 kB / 3.383 GB, free: 40.05 MB / 0.5183 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004749/7.52, allocations: 2.599 MB / 3.385 GB, free: 38.43 MB / 0.5183 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001658/7.522, allocations: 109.8 kB / 3.385 GB, free: 38.4 MB / 0.5183 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001432/7.522, allocations: 46.73 kB / 3.385 GB, free: 38.4 MB / 0.5183 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.0004018/7.522, allocations: 136.9 kB / 3.385 GB, free: 38.29 MB / 0.5183 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004632/7.523, allocations: 130.4 kB / 3.386 GB, free: 38.22 MB / 0.5183 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002571/7.525, allocations: 0.8914 MB / 3.386 GB, free: 38.14 MB / 0.5183 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/7.525, allocations: 6.844 kB / 3.386 GB, free: 38.14 MB / 0.5183 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/7.525, allocations: 0 / 3.386 GB, free: 38.14 MB / 0.5183 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001578/7.527, allocations: 0.7804 MB / 3.387 GB, free: 37.95 MB / 0.5183 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002688/7.53, allocations: 1.204 MB / 3.388 GB, free: 37.64 MB / 0.5183 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/7.53, allocations: 2.438 kB / 3.388 GB, free: 37.64 MB / 0.5183 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001558/7.531, allocations: 239 kB / 3.389 GB, free: 37.64 MB / 0.5183 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002124/7.532, allocations: 65.78 kB / 3.389 GB, free: 37.63 MB / 0.5183 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.811e-05/7.532, allocations: 23.73 kB / 3.389 GB, free: 37.63 MB / 0.5183 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001831/7.534, allocations: 1.94 MB / 3.391 GB, free: 35.86 MB / 0.5183 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/7.534, allocations: 3.906 kB / 3.391 GB, free: 35.86 MB / 0.5183 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00248/7.536, allocations: 1.275 MB / 3.392 GB, free: 35.66 MB / 0.5183 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008386/7.537, allocations: 294.2 kB / 3.392 GB, free: 35.48 MB / 0.5183 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004492/7.537, allocations: 6.5 kB / 3.392 GB, free: 35.48 MB / 0.5183 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001346/7.539, allocations: 84.61 kB / 3.392 GB, free: 35.48 MB / 0.5183 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001705/7.539, allocations: 50.47 kB / 3.392 GB, free: 35.48 MB / 0.5183 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000101/7.539, allocations: 28.61 kB / 3.392 GB, free: 35.48 MB / 0.5183 GB Notification: Performance of sort global known variables: time 0.001514/7.541, allocations: 0.7015 MB / 3.393 GB, free: 35.37 MB / 0.5183 GB Notification: Performance of remove unused functions: time 0.004342/7.545, allocations: 1.033 MB / 3.394 GB, free: 35.2 MB / 0.5183 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 (65): * Single equations (assignments): 61 * 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.005701/7.551, allocations: 2.909 MB / 3.397 GB, free: 34.34 MB / 0.5183 GB Notification: Performance of simCode: created initialization part: time 0.004853/7.555, allocations: 1.647 MB / 3.398 GB, free: 34.09 MB / 0.5183 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/7.555, allocations: 2.75 kB / 3.398 GB, free: 34.09 MB / 0.5183 GB Notification: Performance of simCode: created simulation system equations: time 0.002305/7.558, allocations: 0.5371 MB / 3.399 GB, free: 34.09 MB / 0.5183 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003572/7.561, allocations: 0.5531 MB / 3.399 GB, free: 34.08 MB / 0.5183 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006314/7.568, allocations: 2.043 MB / 3.401 GB, free: 33.56 MB / 0.5183 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001832/7.57, allocations: 1.448 MB / 3.403 GB, free: 32.84 MB / 0.5183 GB Notification: Performance of SimCode: time 2.555e-06/7.57, allocations: 0 / 3.403 GB, free: 32.84 MB / 0.5183 GB Notification: Performance of Templates: time 0.1023/7.672, allocations: 44.55 MB / 3.446 GB, free: 30.36 MB / 0.5183 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)