Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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/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_IDEAS.Fluid.Movers.Examples.ClosedLoop_y") translateModel(IDEAS.Fluid.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.002475/0.002475, allocations: 179.3 kB / 7.453 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7105/0.7105, allocations: 130.6 MB / 138.5 MB, free: 2.215 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 221.4 MB / 391.4 MB, free: 13.01 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.001051/0.001051, allocations: 97.03 kB / 473.5 MB, free: 14.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.693e-06/6.713e-06, allocations: 1.312 kB / 0.5479 GB, free: 89.06 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1494, allocations: 81.58 MB / 0.6276 GB, free: 18.21 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.62/4.769, allocations: 1.91 GB / 2.538 GB, free: 234.4 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002762/4.77, allocations: 98.44 kB / 2.538 GB, free: 234.3 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.985/7.754, allocations: 0.8104 GB / 3.348 GB, free: 93.84 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000344/7.755, allocations: 41.02 kB / 3.348 GB, free: 93.83 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.00751/7.762, allocations: 1.84 MB / 3.35 GB, free: 92.99 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.614e-05/7.762, allocations: 6.719 kB / 3.35 GB, free: 92.99 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004259/7.767, allocations: 462.7 kB / 3.35 GB, free: 92.89 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007025/7.774, allocations: 1.859 MB / 3.352 GB, free: 92.57 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001018/7.774, allocations: 29.81 kB / 3.352 GB, free: 92.57 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005362/7.774, allocations: 69.19 kB / 3.352 GB, free: 92.56 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002492/7.777, allocations: 0.8585 MB / 3.353 GB, free: 92.56 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002805/7.78, allocations: 1.008 MB / 3.354 GB, free: 92.43 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.174e-05/7.78, allocations: 3.094 kB / 3.354 GB, free: 92.43 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000168/7.78, allocations: 2.688 kB / 3.354 GB, free: 92.43 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-05/7.78, allocations: 39.84 kB / 3.354 GB, free: 92.42 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01128/7.791, allocations: 5.031 MB / 3.359 GB, free: 90.18 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001681/7.793, allocations: 0.7608 MB / 3.36 GB, free: 90.15 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008201/7.794, allocations: 441.2 kB / 3.36 GB, free: 90.13 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000333/7.794, allocations: 183.7 kB / 3.36 GB, free: 89.95 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007249/7.795, allocations: 450.8 kB / 3.361 GB, free: 89.89 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=72): time 5.58e-06/7.795, allocations: 2.969 kB / 3.361 GB, free: 89.89 MB / 0.6823 GB Notification: Performance of matching and sorting (n=72): time 0.003209/7.798, allocations: 0.9119 MB / 3.362 GB, free: 89.77 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.191e-05/7.798, allocations: 110.8 kB / 3.362 GB, free: 89.64 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002121/7.801, allocations: 0.89 MB / 3.363 GB, free: 89.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001619/7.801, allocations: 29.02 kB / 3.363 GB, free: 89.47 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005802/7.801, allocations: 439.3 kB / 3.363 GB, free: 89.29 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003576/7.802, allocations: 237.5 kB / 3.363 GB, free: 89.15 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.507e-05/7.802, allocations: 3.875 kB / 3.363 GB, free: 89.15 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001049/7.802, allocations: 346.4 kB / 3.364 GB, free: 88.84 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005269/7.802, allocations: 307.2 kB / 3.364 GB, free: 88.84 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007034/7.803, allocations: 0.5666 MB / 3.364 GB, free: 88.54 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009603/7.804, allocations: 415.2 kB / 3.365 GB, free: 88.53 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.548e-06/7.804, allocations: 0 / 3.365 GB, free: 88.53 MB / 0.6823 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002291/7.806, allocations: 1.038 MB / 3.366 GB, free: 88.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005123/7.807, allocations: 2.036 MB / 3.368 GB, free: 86.31 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.087e-05/7.807, allocations: 3.875 kB / 3.368 GB, free: 86.31 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004293/7.807, allocations: 99.17 kB / 3.368 GB, free: 86.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001072/7.808, allocations: 219.5 kB / 3.368 GB, free: 86.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008898/7.809, allocations: 1.297 MB / 3.369 GB, free: 85.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001664/7.811, allocations: 127.4 kB / 3.37 GB, free: 85.16 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001385/7.811, allocations: 50.62 kB / 3.37 GB, free: 85.16 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.997e-06/7.811, allocations: 3.281 kB / 3.37 GB, free: 85.16 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001752/7.813, allocations: 0.8464 MB / 3.37 GB, free: 85.13 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/7.813, allocations: 6.75 kB / 3.37 GB, free: 85.13 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004394/7.813, allocations: 102.8 kB / 3.371 GB, free: 85.12 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008431/7.814, allocations: 201.6 kB / 3.371 GB, free: 85.12 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004046/7.818, allocations: 2.617 MB / 3.373 GB, free: 83.49 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00157/7.82, allocations: 123.4 kB / 3.373 GB, free: 83.45 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.919e-05/7.82, allocations: 42.47 kB / 3.373 GB, free: 83.45 MB / 0.6823 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.000364/7.82, allocations: 130.5 kB / 3.374 GB, free: 83.34 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002904/7.821, allocations: 128.1 kB / 3.374 GB, free: 83.27 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002069/7.823, allocations: 0.8978 MB / 3.375 GB, free: 83.19 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.779e-06/7.823, allocations: 11.03 kB / 3.375 GB, free: 83.19 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/7.823, allocations: 0 / 3.375 GB, free: 83.19 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001229/7.824, allocations: 0.7805 MB / 3.375 GB, free: 83.01 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004081/7.828, allocations: 2.056 MB / 3.377 GB, free: 82.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/7.828, allocations: 3.031 kB / 3.377 GB, free: 82.66 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009514/7.829, allocations: 172.6 kB / 3.378 GB, free: 82.66 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000185/7.829, allocations: 51.09 kB / 3.378 GB, free: 82.65 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.753e-05/7.829, allocations: 14.47 kB / 3.378 GB, free: 82.65 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000665/7.83, allocations: 1.212 MB / 3.379 GB, free: 81.55 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.544e-06/7.83, allocations: 6.719 kB / 3.379 GB, free: 81.54 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002024/7.832, allocations: 1.408 MB / 3.38 GB, free: 81.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000662/7.833, allocations: 286.9 kB / 3.38 GB, free: 81.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001857/7.833, allocations: 10.31 kB / 3.38 GB, free: 81.03 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009315/7.834, allocations: 76.14 kB / 3.381 GB, free: 81.03 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001344/7.834, allocations: 58.14 kB / 3.381 GB, free: 81.02 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-05/7.834, allocations: 23.27 kB / 3.381 GB, free: 81.02 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0009868/7.835, allocations: 0.6796 MB / 3.381 GB, free: 80.91 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003074/7.838, allocations: 0.9576 MB / 3.382 GB, free: 80.77 MB / 0.6823 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.004032/7.842, allocations: 2.852 MB / 3.385 GB, free: 79.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002747/7.845, allocations: 1.457 MB / 3.386 GB, free: 79.71 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/7.845, allocations: 0 / 3.386 GB, free: 79.71 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006494/7.846, allocations: 376.9 kB / 3.387 GB, free: 79.71 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002771/7.848, allocations: 0.5461 MB / 3.387 GB, free: 79.68 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004368/7.853, allocations: 2.043 MB / 3.389 GB, free: 79.16 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001108/7.854, allocations: 1.429 MB / 3.391 GB, free: 78.44 MB / 0.6823 GB Notification: Performance of SimCode: time 1.273e-06/7.854, allocations: 0 / 3.391 GB, free: 78.44 MB / 0.6823 GB Notification: Performance of Templates: time 0.07876/7.933, allocations: 42.67 MB / 3.432 GB, free: 75.99 MB / 0.6823 GB make -j1 -f IDEAS_IDEAS.Fluid.Movers.Examples.ClosedLoop_y.makefile (rm -f IDEAS_IDEAS.Fluid.Movers.Examples.ClosedLoop_y.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.Examples.ClosedLoop_y.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.Examples.ClosedLoop_y.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.Examples.ClosedLoop_y.sim & ./IDEAS_IDEAS.Fluid.Movers.Examples.ClosedLoop_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Movers.Examples.ClosedLoop_y.pipe 2>&1)