Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Movers.Examples.ClosedLoop_y.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Fluid.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Movers.Examples.ClosedLoop_y") translateModel(IDEAS.Fluid.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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/Complex 4.0.0+maint.om/package.mo): time 0.001843/0.001843, allocations: 181 kB / 7.462 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5937/0.5937, allocations: 133.5 MB / 141.4 MB, free: 15.66 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.111/1.111, allocations: 221.3 MB / 395 MB, free: 10.15 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000855/0.0008551, allocations: 103.5 kB / 477.8 MB, free: 10.75 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.671e-06/5.711e-06, allocations: 0 / 0.5528 GB, free: 89.22 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1086, allocations: 82.31 MB / 0.6332 GB, free: 14.07 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.6/2.708, allocations: 1.91 GB / 2.543 GB, free: 40.79 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002017/2.709, allocations: 87.95 kB / 2.544 GB, free: 40.7 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.014/4.723, allocations: 0.8104 GB / 3.354 GB, free: 7.836 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000118/4.723, allocations: 39.98 kB / 3.354 GB, free: 7.797 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.00291/4.726, allocations: 1.833 MB / 3.356 GB, free: 5.902 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 2.959e-05/4.726, allocations: 8.031 kB / 3.356 GB, free: 5.895 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002402/4.729, allocations: 461.3 kB / 3.356 GB, free: 5.441 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003215/4.732, allocations: 1.858 MB / 3.358 GB, free: 3.531 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.7e-05/4.732, allocations: 31.91 kB / 3.358 GB, free: 3.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001314/4.732, allocations: 71.94 kB / 3.358 GB, free: 3.43 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001242/4.733, allocations: 0.8591 MB / 3.359 GB, free: 2.57 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001303/4.735, allocations: 1.004 MB / 3.36 GB, free: 1.527 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.53e-05/4.735, allocations: 7.984 kB / 3.36 GB, free: 1.52 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.337e-05/4.735, allocations: 0 / 3.36 GB, free: 1.52 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.702e-05/4.735, allocations: 41.98 kB / 3.36 GB, free: 1.477 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006034/4.741, allocations: 5.019 MB / 3.365 GB, free: 12.16 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00112/4.742, allocations: 0.7545 MB / 3.366 GB, free: 11.4 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006156/4.742, allocations: 435.2 kB / 3.366 GB, free: 10.97 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002432/4.743, allocations: 198.8 kB / 3.366 GB, free: 10.74 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005919/4.743, allocations: 450.9 kB / 3.367 GB, free: 10.29 MB / 0.698 GB Notification: Performance of pre-optimization done (n=72): time 2.344e-06/4.743, allocations: 0 / 3.367 GB, free: 10.29 MB / 0.698 GB Notification: Performance of matching and sorting (n=72): time 0.002291/4.746, allocations: 0.9169 MB / 3.368 GB, free: 9.355 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.743e-05/4.746, allocations: 111.5 kB / 3.368 GB, free: 9.223 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001062/4.747, allocations: 0.8851 MB / 3.368 GB, free: 8.332 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.739e-05/4.747, allocations: 33.64 kB / 3.369 GB, free: 8.293 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002699/4.747, allocations: 432.9 kB / 3.369 GB, free: 7.863 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002108/4.747, allocations: 248.3 kB / 3.369 GB, free: 7.617 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.537e-05/4.747, allocations: 0 / 3.369 GB, free: 7.617 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001024/4.747, allocations: 337.9 kB / 3.37 GB, free: 7.281 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004428/4.748, allocations: 309.9 kB / 3.37 GB, free: 6.977 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005896/4.749, allocations: 0.5588 MB / 3.37 GB, free: 6.305 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007619/4.749, allocations: 418.5 kB / 3.371 GB, free: 5.898 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/4.749, allocations: 8 kB / 3.371 GB, free: 5.891 MB / 0.698 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001667/4.751, allocations: 1.033 MB / 3.372 GB, free: 4.848 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005843/4.752, allocations: 2.039 MB / 3.374 GB, free: 2.68 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/4.752, allocations: 8 kB / 3.374 GB, free: 2.672 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003349/4.752, allocations: 100.8 kB / 3.374 GB, free: 2.57 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009759/4.753, allocations: 215.7 kB / 3.374 GB, free: 2.359 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008528/4.754, allocations: 1.287 MB / 3.375 GB, free: 1.023 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001077/4.755, allocations: 123.4 kB / 3.375 GB, free: 0.9023 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.32e-05/4.755, allocations: 51.97 kB / 3.375 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.611e-06/4.755, allocations: 8 kB / 3.375 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1927/4.948, allocations: 0.8404 MB / 3.376 GB, free: 156.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.268e-05/4.948, allocations: 3.188 kB / 3.376 GB, free: 156.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000501/4.948, allocations: 104.8 kB / 3.376 GB, free: 156.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009102/4.949, allocations: 200.5 kB / 3.377 GB, free: 156.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003444/4.953, allocations: 2.635 MB / 3.379 GB, free: 155.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001156/4.954, allocations: 116.4 kB / 3.379 GB, free: 155.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.997e-05/4.954, allocations: 44.31 kB / 3.379 GB, free: 155.1 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (99): * Single equations (assignments): 95 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * 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.0001732/4.954, allocations: 131.5 kB / 3.379 GB, free: 155 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001318/4.954, allocations: 129.5 kB / 3.38 GB, free: 155 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001605/4.956, allocations: 0.895 MB / 3.38 GB, free: 154.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/4.956, allocations: 7.625 kB / 3.38 GB, free: 154.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-06/4.956, allocations: 0 / 3.38 GB, free: 154.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00106/4.957, allocations: 0.7808 MB / 3.381 GB, free: 154.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002568/4.96, allocations: 2.046 MB / 3.383 GB, free: 154.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/4.96, allocations: 0 / 3.383 GB, free: 154.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008097/4.96, allocations: 183.1 kB / 3.383 GB, free: 154.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001357/4.96, allocations: 58.8 kB / 3.383 GB, free: 154.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.988e-05/4.961, allocations: 16.16 kB / 3.383 GB, free: 154.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004315/4.961, allocations: 1.205 MB / 3.385 GB, free: 153.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/4.961, allocations: 3.031 kB / 3.385 GB, free: 153.3 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001611/4.963, allocations: 1.415 MB / 3.386 GB, free: 153 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003223/4.963, allocations: 287.3 kB / 3.386 GB, free: 152.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001647/4.963, allocations: 7.203 kB / 3.386 GB, free: 152.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008026/4.964, allocations: 81.53 kB / 3.386 GB, free: 152.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.645e-05/4.964, allocations: 47.8 kB / 3.386 GB, free: 152.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.388e-05/4.964, allocations: 24.58 kB / 3.386 GB, free: 152.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.0006363/4.965, allocations: 0.6772 MB / 3.387 GB, free: 152.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001936/4.967, allocations: 0.961 MB / 3.388 GB, free: 152.7 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (fan.vol.dynBal.U,fan.vol.dynBal.m,fan.vol.dynBal.mXi[1],fan.filter.s[1],fan.filter.s[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 (69): * Single equations (assignments): 65 * 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.002621/4.969, allocations: 2.859 MB / 3.391 GB, free: 151.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001836/4.971, allocations: 1.453 MB / 3.392 GB, free: 151.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/4.971, allocations: 0 / 3.392 GB, free: 151.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000535/4.972, allocations: 378.5 kB / 3.393 GB, free: 151.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001927/4.974, allocations: 0.5417 MB / 3.393 GB, free: 151.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00297/4.977, allocations: 2.042 MB / 3.395 GB, free: 151.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008401/4.977, allocations: 1.427 MB / 3.397 GB, free: 150.5 MB / 0.698 GB Notification: Performance of SimCode: time 2.81e-07/4.977, allocations: 2.594 kB / 3.397 GB, free: 150.5 MB / 0.698 GB Notification: Performance of Templates: time 0.05138/5.029, allocations: 42.68 MB / 3.438 GB, free: 149.9 MB / 0.698 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Movers.Examples.ClosedLoop_y.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Movers.Examples.ClosedLoop_y.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.Examples.ClosedLoop_y.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.Examples.ClosedLoop_y.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.Examples.ClosedLoop_y.sim & ./IDEAS_dev_IDEAS.Fluid.Movers.Examples.ClosedLoop_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Movers.Examples.ClosedLoop_y.pipe 2>&1)