Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.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.BaseClasses.Validation.FlowMachineInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface") translateModel(Annex60.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface") [: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.2768/0.2769, allocations: 54.39 MB / 61.67 MB, free: 11.14 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001162/0.001162, allocations: 187.5 kB / 75.37 MB, free: 1.477 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.517/1.517, allocations: 194.2 MB / 283.2 MB, free: 3.48 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001954/0.001954, allocations: 110.2 kB / 341.3 MB, free: 9.367 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.197e-06/9.237e-06, allocations: 0 / 405 MB, free: 27.67 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1367, allocations: 57.64 MB / 462.6 MB, free: 1.961 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3811/0.5179, allocations: 96.58 MB / 0.5461 GB, free: 0.5508 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002338/0.5182, allocations: 83.77 kB / 0.5461 GB, free: 0.5078 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.03474/0.5529, allocations: 10.69 MB / 0.5566 GB, free: 6.426 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.423e-05/0.553, allocations: 12 kB / 0.5566 GB, free: 6.414 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001025/0.554, allocations: 0.5249 MB / 0.5571 GB, free: 5.844 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.5541, allocations: 11.97 kB / 0.5571 GB, free: 5.832 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003876/0.5545, allocations: 55.58 kB / 0.5572 GB, free: 5.777 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001473/0.5559, allocations: 0.6312 MB / 0.5578 GB, free: 5.102 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.556, allocations: 4 kB / 0.5578 GB, free: 5.098 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.378e-05/0.556, allocations: 7.984 kB / 0.5578 GB, free: 5.09 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002467/0.5563, allocations: 119.9 kB / 0.5579 GB, free: 4.973 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002328/0.5565, allocations: 125.5 kB / 0.558 GB, free: 4.844 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.5565, allocations: 0 / 0.558 GB, free: 4.844 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.951e-05/0.5566, allocations: 0 / 0.558 GB, free: 4.844 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.5566, allocations: 3.906 kB / 0.558 GB, free: 4.84 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009336/0.5575, allocations: 472.9 kB / 0.5585 GB, free: 4.34 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002484/0.5578, allocations: 142.6 kB / 0.5586 GB, free: 4.191 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.5579, allocations: 64.73 kB / 0.5587 GB, free: 4.125 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.769e-05/0.5579, allocations: 8.141 kB / 0.5587 GB, free: 4.117 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.558, allocations: 34.56 kB / 0.5587 GB, free: 4.074 MB / 394.7 MB Notification: Performance of pre-optimization done (n=8): time 1.764e-06/0.558, allocations: 0 / 0.5587 GB, free: 4.074 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006161/0.5586, allocations: 177.3 kB / 0.5589 GB, free: 3.895 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/0.5587, allocations: 59.41 kB / 0.559 GB, free: 3.824 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003605/0.559, allocations: 267.4 kB / 0.5592 GB, free: 3.555 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.955e-05/0.5591, allocations: 25.7 kB / 0.5592 GB, free: 3.523 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.5592, allocations: 124.3 kB / 0.5593 GB, free: 3.398 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.268e-05/0.5592, allocations: 27.55 kB / 0.5594 GB, free: 3.371 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.271e-05/0.5593, allocations: 3.938 kB / 0.5594 GB, free: 3.367 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002138/0.5595, allocations: 338.8 kB / 0.5597 GB, free: 3.027 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001323/0.5596, allocations: 67.97 kB / 0.5598 GB, free: 2.961 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001914/0.5598, allocations: 136.5 kB / 0.5599 GB, free: 2.797 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004143/0.5603, allocations: 93.22 kB / 0.56 GB, free: 2.707 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.5603, allocations: 3.938 kB / 0.56 GB, free: 2.703 MB / 394.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005981/0.5609, allocations: 253.1 kB / 0.5602 GB, free: 2.449 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000346/0.5612, allocations: 0.7031 MB / 0.5609 GB, free: 1.691 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/0.5613, allocations: 4 kB / 0.5609 GB, free: 1.688 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.5613, allocations: 0 / 0.5609 GB, free: 1.688 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002927/0.5616, allocations: 51.84 kB / 0.561 GB, free: 1.637 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.5616, allocations: 8 kB / 0.561 GB, free: 1.629 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002214/0.5618, allocations: 23.83 kB / 0.561 GB, free: 1.605 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.259e-05/0.5619, allocations: 19.98 kB / 0.561 GB, free: 1.586 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.087e-06/0.5619, allocations: 4 kB / 0.561 GB, free: 1.582 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003886/0.5623, allocations: 164 kB / 0.5612 GB, free: 1.422 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.5623, allocations: 3.906 kB / 0.5612 GB, free: 1.418 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.75e-06/0.5623, allocations: 4 kB / 0.5612 GB, free: 1.414 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002301/0.5626, allocations: 51.89 kB / 0.5612 GB, free: 1.363 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.5626, allocations: 4 kB / 0.5612 GB, free: 1.359 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001999/0.5628, allocations: 23.92 kB / 0.5613 GB, free: 1.336 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.259e-05/0.5628, allocations: 12 kB / 0.5613 GB, free: 1.324 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001446/0.563, allocations: 112.9 kB / 0.5614 GB, free: 1.207 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.453e-05/0.5631, allocations: 23.72 kB / 0.5614 GB, free: 1.184 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004996/0.5636, allocations: 168.1 kB / 0.5616 GB, free: 1.012 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.5636, allocations: 7.938 kB / 0.5616 GB, free: 1.004 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.5636, allocations: 0 / 0.5616 GB, free: 1.004 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.926e-06/0.5636, allocations: 3.984 kB / 0.5616 GB, free: 1 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004585/0.5641, allocations: 242 kB / 0.5618 GB, free: 0.7266 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.5641, allocations: 4 kB / 0.5618 GB, free: 0.7227 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001913/0.5643, allocations: 31.97 kB / 0.5618 GB, free: 0.6914 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.658e-06/0.5643, allocations: 0 / 0.5618 GB, free: 0.6914 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.5643, allocations: 0 / 0.5618 GB, free: 0.6914 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.5643, allocations: 0 / 0.5618 GB, free: 0.6914 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.5643, allocations: 4 kB / 0.5618 GB, free: 0.6875 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003272/0.5647, allocations: 239.1 kB / 0.5621 GB, free: 448 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.283e-05/0.5648, allocations: 100.8 kB / 0.5622 GB, free: 328 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.079e-05/0.5648, allocations: 0 / 0.5622 GB, free: 328 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001666/0.565, allocations: 11.98 kB / 0.5622 GB, free: 316 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.623e-05/0.565, allocations: 11.97 kB / 0.5622 GB, free: 304 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.647e-05/0.5651, allocations: 4 kB / 0.5622 GB, free: 300 kB / 394.7 MB Notification: Performance of sort global known variables: time 0.0002296/0.5653, allocations: 215 kB / 0.5624 GB, free: 84 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.000876/0.5662, allocations: 171.8 kB / 0.5626 GB, free: 15.91 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001151/0.5674, allocations: 383.7 kB / 0.5629 GB, free: 15.54 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000571/0.5679, allocations: 250.2 kB / 0.5632 GB, free: 15.29 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.91e-06/0.568, allocations: 4.375 kB / 0.5632 GB, free: 15.29 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.648e-05/0.568, allocations: 51.92 kB / 0.5632 GB, free: 15.24 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005131/0.5686, allocations: 81.73 kB / 0.5633 GB, free: 15.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008659/0.5694, allocations: 312.2 kB / 0.5636 GB, free: 14.83 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006652/0.5701, allocations: 0.8187 MB / 0.5644 GB, free: 13.98 MB / 410.7 MB Notification: Performance of SimCode: time 4.61e-07/0.5701, allocations: 0 / 0.5644 GB, free: 13.98 MB / 410.7 MB Notification: Performance of Templates: time 0.01461/0.5847, allocations: 7.412 MB / 0.5716 GB, free: 6.586 MB / 410.7 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & ./Annex60_1.0.0_Annex60.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1)