Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.ClosedLoop_y.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.ClosedLoop_y") translateModel(BuildSysPro.IBPSA.Fluid.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0/package.mo): time 0.6965/0.6965, allocations: 127.3 MB / 134.6 MB, free: 4.137 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001131/0.001131, allocations: 177.3 kB / 164.4 MB, free: 6.871 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.728/1.728, allocations: 205.1 MB / 399.1 MB, free: 6.09 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001114/0.001115, allocations: 90.2 kB / 476.3 MB, free: 8.848 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 8.736e-06/9.147e-06, allocations: 0 / 0.546 GB, free: 42.77 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1829/0.1829, allocations: 76.75 MB / 0.6209 GB, free: 13.95 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.233/4.416, allocations: 2.193 GB / 2.814 GB, free: 14.84 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003324/4.416, allocations: 93.39 kB / 2.815 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.18/7.597, allocations: 0.799 GB / 3.614 GB, free: 86.71 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0002929/7.597, allocations: 50.7 kB / 3.614 GB, free: 86.71 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.006402/7.603, allocations: 1.888 MB / 3.615 GB, free: 86.07 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/7.603, allocations: 9.531 kB / 3.615 GB, free: 86.07 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004201/7.608, allocations: 0.4998 MB / 3.616 GB, free: 85.98 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006802/7.614, allocations: 1.962 MB / 3.618 GB, free: 85.64 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001019/7.615, allocations: 31.66 kB / 3.618 GB, free: 85.64 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004899/7.615, allocations: 70.7 kB / 3.618 GB, free: 85.64 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002593/7.618, allocations: 0.863 MB / 3.619 GB, free: 85.64 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002364/7.62, allocations: 1.053 MB / 3.62 GB, free: 85.47 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.227e-05/7.62, allocations: 4.312 kB / 3.62 GB, free: 85.47 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001412/7.62, allocations: 4.812 kB / 3.62 GB, free: 85.47 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-05/7.62, allocations: 33.59 kB / 3.62 GB, free: 85.46 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008992/7.629, allocations: 5.008 MB / 3.625 GB, free: 83.21 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001398/7.631, allocations: 0.7847 MB / 3.626 GB, free: 83.18 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000684/7.632, allocations: 426.1 kB / 3.626 GB, free: 83.17 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003152/7.632, allocations: 193 kB / 3.626 GB, free: 82.98 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007292/7.633, allocations: 453.1 kB / 3.627 GB, free: 82.93 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=70): time 5.28e-06/7.633, allocations: 3.062 kB / 3.627 GB, free: 82.93 MB / 0.6667 GB Notification: Performance of matching and sorting (n=70): time 0.003077/7.636, allocations: 0.9347 MB / 3.627 GB, free: 82.81 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.26e-05/7.636, allocations: 195.2 kB / 3.628 GB, free: 82.59 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001346/7.637, allocations: 0.8946 MB / 3.629 GB, free: 82.44 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001089/7.637, allocations: 32.16 kB / 3.629 GB, free: 82.41 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003842/7.638, allocations: 453 kB / 3.629 GB, free: 82.22 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.000246/7.638, allocations: 232.4 kB / 3.629 GB, free: 82.1 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.742e-05/7.638, allocations: 0 / 3.629 GB, free: 82.1 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 9.027e-05/7.638, allocations: 341.6 kB / 3.63 GB, free: 81.79 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004575/7.639, allocations: 323.2 kB / 3.63 GB, free: 81.79 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006292/7.639, allocations: 0.5889 MB / 3.63 GB, free: 81.48 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008917/7.64, allocations: 433.1 kB / 3.631 GB, free: 81.47 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/7.64, allocations: 0 / 3.631 GB, free: 81.47 MB / 0.6667 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002054/7.642, allocations: 1.078 MB / 3.632 GB, free: 81.34 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.000732/7.643, allocations: 1.949 MB / 3.634 GB, free: 79.35 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.001e-05/7.643, allocations: 7.812 kB / 3.634 GB, free: 79.35 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004282/7.643, allocations: 108.1 kB / 3.634 GB, free: 79.34 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001559/7.645, allocations: 241.7 kB / 3.634 GB, free: 79.34 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001306/7.646, allocations: 1.324 MB / 3.635 GB, free: 78.24 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00164/7.648, allocations: 129 kB / 3.636 GB, free: 78.21 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001431/7.648, allocations: 56.41 kB / 3.636 GB, free: 78.21 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/7.648, allocations: 8.188 kB / 3.636 GB, free: 78.21 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002/7.65, allocations: 0.8549 MB / 3.636 GB, free: 78.19 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.216e-05/7.65, allocations: 3.812 kB / 3.636 GB, free: 78.19 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000478/7.651, allocations: 105.4 kB / 3.637 GB, free: 78.18 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007752/7.651, allocations: 189.2 kB / 3.637 GB, free: 78.18 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004609/7.656, allocations: 2.628 MB / 3.639 GB, free: 76.55 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001792/7.658, allocations: 100.8 kB / 3.639 GB, free: 76.53 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001748/7.658, allocations: 47.25 kB / 3.639 GB, free: 76.53 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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): 93 * 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.0004333/7.658, allocations: 139.7 kB / 3.64 GB, free: 76.43 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005017/7.659, allocations: 135.2 kB / 3.64 GB, free: 76.36 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002827/7.662, allocations: 0.9151 MB / 3.641 GB, free: 76.27 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/7.662, allocations: 6.406 kB / 3.641 GB, free: 76.27 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/7.662, allocations: 7.5 kB / 3.641 GB, free: 76.27 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001719/7.664, allocations: 0.8162 MB / 3.641 GB, free: 76.09 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004327/7.668, allocations: 2.053 MB / 3.643 GB, free: 75.75 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/7.668, allocations: 0 / 3.643 GB, free: 75.75 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001524/7.67, allocations: 219.2 kB / 3.644 GB, free: 75.75 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002096/7.67, allocations: 69.31 kB / 3.644 GB, free: 75.74 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.645e-05/7.67, allocations: 7.688 kB / 3.644 GB, free: 75.74 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001827/7.672, allocations: 1.933 MB / 3.646 GB, free: 73.97 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/7.672, allocations: 3.906 kB / 3.646 GB, free: 73.97 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002591/7.674, allocations: 1.423 MB / 3.647 GB, free: 73.64 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006191/7.675, allocations: 290.6 kB / 3.647 GB, free: 73.48 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001812/7.675, allocations: 3.688 kB / 3.647 GB, free: 73.48 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000945/7.676, allocations: 85.3 kB / 3.647 GB, free: 73.48 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001484/7.676, allocations: 44.77 kB / 3.647 GB, free: 73.48 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.114e-05/7.676, allocations: 29.73 kB / 3.647 GB, free: 73.48 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.001002/7.677, allocations: 0.6855 MB / 3.648 GB, free: 73.37 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003384/7.681, allocations: 1.004 MB / 3.649 GB, free: 73.27 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (67): * Single equations (assignments): 63 * 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.004545/7.685, allocations: 2.967 MB / 3.652 GB, free: 72.41 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.00389/7.689, allocations: 1.57 MB / 3.653 GB, free: 72.16 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/7.689, allocations: 2.906 kB / 3.653 GB, free: 72.16 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001583/7.691, allocations: 442.8 kB / 3.654 GB, free: 72.16 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002959/7.694, allocations: 0.5576 MB / 3.654 GB, free: 72.14 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005358/7.699, allocations: 2.044 MB / 3.656 GB, free: 71.61 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001358/7.7, allocations: 1.432 MB / 3.658 GB, free: 70.88 MB / 0.6667 GB Notification: Performance of SimCode: time 3.447e-06/7.7, allocations: 3.469 kB / 3.658 GB, free: 70.88 MB / 0.6667 GB Notification: Performance of Templates: time 0.07824/7.779, allocations: 44.62 MB / 3.701 GB, free: 69.1 MB / 0.6667 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.ClosedLoop_y.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.ClosedLoop_y.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.ClosedLoop_y.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.ClosedLoop_y.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.ClosedLoop_y.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.ClosedLoop_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.ClosedLoop_y.pipe 2>&1)