Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.Damper.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.Actuators.Dampers.Examples.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.Damper") translateModel(IDEAS.Fluid.Actuators.Dampers.Examples.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.Damper") [: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.001758/0.001758, allocations: 184.6 kB / 7.463 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5895/0.5895, 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.09/1.09, allocations: 221.3 MB / 395 MB, free: 10.22 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.0008301/0.0008301, allocations: 95.42 kB / 477.8 MB, free: 10.86 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.51e-06/5.61e-06, allocations: 0 / 0.5529 GB, free: 89.02 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1006, allocations: 82.3 MB / 0.6332 GB, free: 14.1 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.406/2.507, allocations: 1.88 GB / 2.514 GB, free: 81.86 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001973/2.507, allocations: 87.95 kB / 2.514 GB, free: 81.78 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.796/4.303, allocations: 0.7078 GB / 3.222 GB, free: 112.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001043/4.303, allocations: 46.05 kB / 3.222 GB, free: 112.9 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: 205 * Number of variables: 205 Notification: Performance of Generate backend data structure: time 0.004638/4.308, allocations: 2.821 MB / 3.224 GB, free: 111.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 2.907e-05/4.308, allocations: 16.36 kB / 3.224 GB, free: 111.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003369/4.311, allocations: 0.5203 MB / 3.225 GB, free: 111.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004146/4.316, allocations: 2.871 MB / 3.228 GB, free: 111.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.917e-05/4.316, allocations: 27.56 kB / 3.228 GB, free: 111.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004169/4.316, allocations: 96.34 kB / 3.228 GB, free: 111.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002198/4.318, allocations: 1.947 MB / 3.23 GB, free: 111.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001727/4.32, allocations: 1.61 MB / 3.231 GB, free: 111 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.143e-05/4.32, allocations: 8.156 kB / 3.231 GB, free: 111 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/4.32, allocations: 0 / 3.231 GB, free: 111 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.527e-05/4.32, allocations: 27.19 kB / 3.231 GB, free: 111 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008351/4.329, allocations: 8.056 MB / 3.239 GB, free: 108.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002342/4.331, allocations: 1.911 MB / 3.241 GB, free: 108 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009468/4.332, allocations: 0.9055 MB / 3.242 GB, free: 108 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003888/4.332, allocations: 0.5324 MB / 3.242 GB, free: 107.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.459e-05/4.332, allocations: 39.12 kB / 3.242 GB, free: 107.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=72): time 1.944e-06/4.332, allocations: 0 / 3.242 GB, free: 107.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=72): time 0.006574/4.339, allocations: 2.759 MB / 3.245 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.094e-05/4.339, allocations: 58.59 kB / 3.245 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003768/4.343, allocations: 3.175 MB / 3.248 GB, free: 106.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002937/4.343, allocations: 29.39 kB / 3.248 GB, free: 106.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005333/4.344, allocations: 0.5716 MB / 3.249 GB, free: 106.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001698/4.344, allocations: 231.9 kB / 3.249 GB, free: 106.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002881/4.344, allocations: 3.938 kB / 3.249 GB, free: 106.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001049/4.344, allocations: 404.4 kB / 3.25 GB, free: 106.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003474/4.348, allocations: 2.882 MB / 3.252 GB, free: 106 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003441/4.351, allocations: 3.465 MB / 3.256 GB, free: 104.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006363/4.357, allocations: 2.954 MB / 3.259 GB, free: 103.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.084e-06/4.357, allocations: 6.062 kB / 3.259 GB, free: 103.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=309) (initialization): time 0.01143/4.369, allocations: 6.532 MB / 3.265 GB, free: 101.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003695/4.369, allocations: 2.633 MB / 3.268 GB, free: 98.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-05/4.369, allocations: 6.625 kB / 3.268 GB, free: 98.95 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004298/4.37, allocations: 118 kB / 3.268 GB, free: 98.92 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003026/4.373, allocations: 0.5061 MB / 3.268 GB, free: 98.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001117/4.374, allocations: 1.343 MB / 3.269 GB, free: 97.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003407/4.377, allocations: 398.1 kB / 3.27 GB, free: 97.57 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005154/4.378, allocations: 182.9 kB / 3.27 GB, free: 97.55 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/4.378, allocations: 6.156 kB / 3.27 GB, free: 97.55 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01115/4.389, allocations: 6.233 MB / 3.276 GB, free: 92.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.597e-05/4.389, allocations: 8.703 kB / 3.276 GB, free: 92.94 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.421e-05/4.389, allocations: 18.31 kB / 3.276 GB, free: 92.93 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002842/4.392, allocations: 0.5085 MB / 3.277 GB, free: 92.52 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.858e-05/4.392, allocations: 25 kB / 3.277 GB, free: 92.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003545/4.396, allocations: 307.1 kB / 3.277 GB, free: 92.27 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004893/4.396, allocations: 182.6 kB / 3.277 GB, free: 92.11 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 52 (preIndDpFixed_nominal.idx_sorted[1],preIndDpFixed_nominal.idx_sorted[2],preIndDpFixed_nominal.idx_sorted[3],preIndDpFixed_nominal.idx_sorted[4],preIndDpFixed_nominal.idx_sorted[5],preIndDpFixed_nominal.idx_sorted[6],preIndDpFixed_nominal.idx_sorted[7],preIndDpFixed_nominal.idx_sorted[8],preIndDpFixed_nominal.idx_sorted[9],preIndDpFixed_nominal.idx_sorted[10],preIndDpFixed_nominal.idx_sorted[11],preIndDpFixed_nominal.idx_sorted[12],preIndDpFixed_nominal.idx_sorted[13],preIndFrom_dp.idx_sorted[1],preIndFrom_dp.idx_sorted[2],preIndFrom_dp.idx_sorted[3],preIndFrom_dp.idx_sorted[4],preIndFrom_dp.idx_sorted[5],preIndFrom_dp.idx_sorted[6],preIndFrom_dp.idx_sorted[7],preIndFrom_dp.idx_sorted[8],preIndFrom_dp.idx_sorted[9],preIndFrom_dp.idx_sorted[10],preIndFrom_dp.idx_sorted[11],preIndFrom_dp.idx_sorted[12],preIndFrom_dp.idx_sorted[13],preInd.idx_sorted[1],preInd.idx_sorted[2],preInd.idx_sorted[3],preInd.idx_sorted[4],preInd.idx_sorted[5],preInd.idx_sorted[6],preInd.idx_sorted[7],preInd.idx_sorted[8],preInd.idx_sorted[9],preInd.idx_sorted[10],preInd.idx_sorted[11],preInd.idx_sorted[12],preInd.idx_sorted[13],vav.idx_sorted[1],vav.idx_sorted[2],vav.idx_sorted[3],vav.idx_sorted[4],vav.idx_sorted[5],vav.idx_sorted[6],vav.idx_sorted[7],vav.idx_sorted[8],vav.idx_sorted[9],vav.idx_sorted[10],vav.idx_sorted[11],vav.idx_sorted[12],vav.idx_sorted[13]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (257): * Single equations (assignments): 251 * Array equations: 4 * Algorithm blocks: 0 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0006652/4.397, allocations: 184.5 kB / 3.277 GB, free: 91.95 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007389/4.397, allocations: 201.7 kB / 3.277 GB, free: 91.75 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006866/4.404, allocations: 3.143 MB / 3.281 GB, free: 89.36 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.956e-06/4.404, allocations: 8 kB / 3.281 GB, free: 89.35 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/4.404, allocations: 0 / 3.281 GB, free: 89.35 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.368e-06/4.404, allocations: 3.234 kB / 3.281 GB, free: 89.35 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01041/4.415, allocations: 5.313 MB / 3.286 GB, free: 84.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.191e-06/4.415, allocations: 4 kB / 3.286 GB, free: 84.64 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001117/4.416, allocations: 236.6 kB / 3.286 GB, free: 84.43 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003256/4.416, allocations: 128.5 kB / 3.286 GB, free: 84.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001189/4.416, allocations: 39.97 kB / 3.286 GB, free: 84.27 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009561/4.417, allocations: 1.308 MB / 3.287 GB, free: 82.92 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/4.417, allocations: 0 / 3.287 GB, free: 82.92 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005996/4.423, allocations: 3.165 MB / 3.291 GB, free: 79.68 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001502/4.425, allocations: 0.7319 MB / 3.291 GB, free: 78.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007709/4.426, allocations: 7.984 kB / 3.291 GB, free: 78.92 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002155/4.428, allocations: 118.2 kB / 3.291 GB, free: 78.81 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/4.428, allocations: 60.23 kB / 3.291 GB, free: 78.75 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001294/4.428, allocations: 108 kB / 3.292 GB, free: 78.65 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.003088/4.431, allocations: 2.358 MB / 3.294 GB, free: 76.28 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004815/4.436, allocations: 1.393 MB / 3.295 GB, free: 74.89 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.00258/4.439, allocations: 1.989 MB / 3.297 GB, free: 73.28 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.009931/4.449, allocations: 7.846 MB / 3.305 GB, free: 65.51 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/4.449, allocations: 4 kB / 3.305 GB, free: 65.51 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009669/4.45, allocations: 0.8343 MB / 3.306 GB, free: 64.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002544/4.452, allocations: 421.3 kB / 3.306 GB, free: 64.31 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007479/4.46, allocations: 3.06 MB / 3.309 GB, free: 61.21 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002559/4.462, allocations: 1.809 MB / 3.311 GB, free: 59.39 MB / 0.6823 GB Notification: Performance of SimCode: time 4.61e-07/4.462, allocations: 0 / 3.311 GB, free: 59.39 MB / 0.6823 GB Notification: Performance of Templates: time 0.2882/4.75, allocations: 83.78 MB / 3.393 GB, free: 192.5 MB / 0.698 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.Damper.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.Damper.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.Damper.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.Damper.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.Damper.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.Damper -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.Damper.pipe 2>&1)