Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Movers.BaseClasses.Validation.PowerInterface.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.PowerInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Movers.BaseClasses.Validation.PowerInterface") translateModel(Annex60.Fluid.Movers.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Movers.BaseClasses.Validation.PowerInterface") [: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.3195/0.3195, allocations: 54.39 MB / 61.67 MB, free: 11.16 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.001209/0.001209, allocations: 181.4 kB / 75.37 MB, free: 1.48 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.392/1.392, allocations: 194.2 MB / 283.2 MB, free: 3.504 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.001741/0.001741, allocations: 101.4 kB / 341.3 MB, free: 9.395 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.716e-06/8.806e-06, allocations: 4 kB / 404.9 MB, free: 27.7 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1471, allocations: 57.64 MB / 462.6 MB, free: 1.984 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3707/0.5179, allocations: 85.6 MB / 0.5353 GB, free: 11.46 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002263/0.5181, allocations: 84.73 kB / 0.5354 GB, free: 11.41 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.008968/0.5271, allocations: 2.822 MB / 0.5382 GB, free: 9.102 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.225e-05/0.5272, allocations: 8 kB / 0.5382 GB, free: 9.094 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.000518/0.5277, allocations: 389.6 kB / 0.5386 GB, free: 8.676 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.5278, allocations: 15.97 kB / 0.5386 GB, free: 8.66 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001602/0.5294, allocations: 203.6 kB / 0.5388 GB, free: 8.461 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009554/0.5304, allocations: 276.7 kB / 0.539 GB, free: 8.16 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.275e-05/0.5304, allocations: 4 kB / 0.539 GB, free: 8.156 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/0.5304, allocations: 7.938 kB / 0.539 GB, free: 8.148 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001878/0.5306, allocations: 67.16 kB / 0.5391 GB, free: 8.105 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/0.5308, allocations: 105.3 kB / 0.5392 GB, free: 8.016 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.5308, allocations: 3.984 kB / 0.5392 GB, free: 8.012 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.717e-05/0.5308, allocations: 0 / 0.5392 GB, free: 8.012 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.5309, allocations: 4 kB / 0.5392 GB, free: 8.008 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001046/0.5319, allocations: 427.2 kB / 0.5396 GB, free: 7.598 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001313/0.5321, allocations: 62.19 kB / 0.5397 GB, free: 7.547 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.455e-05/0.5321, allocations: 26.48 kB / 0.5397 GB, free: 7.527 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.193e-05/0.5322, allocations: 7.984 kB / 0.5397 GB, free: 7.52 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.044e-05/0.5322, allocations: 30.56 kB / 0.5397 GB, free: 7.48 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.292e-06/0.5322, allocations: 0 / 0.5397 GB, free: 7.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002623/0.5325, allocations: 87.83 kB / 0.5398 GB, free: 7.406 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.079e-05/0.5325, allocations: 55.41 kB / 0.5399 GB, free: 7.34 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.966e-05/0.5326, allocations: 115.4 kB / 0.54 GB, free: 7.23 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.5326, allocations: 29.7 kB / 0.54 GB, free: 7.195 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.36e-05/0.5327, allocations: 104.5 kB / 0.5401 GB, free: 7.094 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.234e-05/0.5327, allocations: 21.58 kB / 0.5401 GB, free: 7.074 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.039e-05/0.5328, allocations: 0 / 0.5401 GB, free: 7.074 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.5329, allocations: 317.8 kB / 0.5404 GB, free: 6.758 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.161e-05/0.533, allocations: 26.17 kB / 0.5405 GB, free: 6.742 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.041e-05/0.533, allocations: 26.5 kB / 0.5405 GB, free: 6.727 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.482e-05/0.5331, allocations: 27.97 kB / 0.5405 GB, free: 6.707 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.5331, allocations: 0 / 0.5405 GB, free: 6.707 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002171/0.5334, allocations: 96.62 kB / 0.5406 GB, free: 6.625 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.174e-05/0.5334, allocations: 96.5 kB / 0.5407 GB, free: 6.527 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.5334, allocations: 0 / 0.5407 GB, free: 6.527 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.5335, allocations: 4 kB / 0.5407 GB, free: 6.523 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003296/0.5338, allocations: 49.19 kB / 0.5408 GB, free: 6.477 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.5338, allocations: 0 / 0.5408 GB, free: 6.477 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002703/0.5341, allocations: 36.38 kB / 0.5408 GB, free: 6.441 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.166e-05/0.5341, allocations: 8.5 kB / 0.5408 GB, free: 6.434 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.376e-06/0.5341, allocations: 7.938 kB / 0.5408 GB, free: 6.426 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 7.872e-05/0.5342, allocations: 35.3 kB / 0.5408 GB, free: 6.395 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-06/0.5342, allocations: 64 / 0.5408 GB, free: 6.395 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.298e-06/0.5342, allocations: 4 kB / 0.5408 GB, free: 6.391 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.211e-05/0.5343, allocations: 19.98 kB / 0.5409 GB, free: 6.371 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.5343, allocations: 3.938 kB / 0.5409 GB, free: 6.367 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.732e-05/0.5344, allocations: 19.89 kB / 0.5409 GB, free: 6.348 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.5344, allocations: 4 kB / 0.5409 GB, free: 6.344 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (7): * Single equations (assignments): 7 * 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 prepare postOptimizeDAE: time 8.104e-05/0.5345, allocations: 101 kB / 0.541 GB, free: 6.238 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.891e-05/0.5346, allocations: 7.906 kB / 0.541 GB, free: 6.23 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.605e-05/0.5346, allocations: 8.062 kB / 0.541 GB, free: 6.227 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.5346, allocations: 8 kB / 0.541 GB, free: 6.219 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.5347, allocations: 0 / 0.541 GB, free: 6.219 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.5347, allocations: 0 / 0.541 GB, free: 6.219 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004345/0.5351, allocations: 360.6 kB / 0.5414 GB, free: 5.816 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.5351, allocations: 7.984 kB / 0.5414 GB, free: 5.809 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002903/0.5354, allocations: 44.02 kB / 0.5414 GB, free: 5.766 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.301e-06/0.5354, allocations: 4 kB / 0.5414 GB, free: 5.762 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.5355, allocations: 0 / 0.5414 GB, free: 5.762 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.661e-06/0.5355, allocations: 7.891 kB / 0.5414 GB, free: 5.754 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.5355, allocations: 4 kB / 0.5414 GB, free: 5.75 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002626/0.5357, allocations: 224.5 kB / 0.5416 GB, free: 5.496 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.22e-05/0.5358, allocations: 81.02 kB / 0.5417 GB, free: 5.398 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.822e-05/0.5358, allocations: 4 kB / 0.5417 GB, free: 5.395 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002824/0.5361, allocations: 31.97 kB / 0.5417 GB, free: 5.363 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.624e-05/0.5362, allocations: 0 / 0.5417 GB, free: 5.363 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.658e-05/0.5362, allocations: 15.89 kB / 0.5418 GB, free: 5.348 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.777e-05/0.5362, allocations: 99.27 kB / 0.5419 GB, free: 5.25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003165/0.5366, allocations: 31.94 kB / 0.5419 GB, free: 5.219 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.0001304/0.5367, allocations: 95.16 kB / 0.542 GB, free: 5.113 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002212/0.5369, allocations: 91.89 kB / 0.5421 GB, free: 5.023 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.5369, allocations: 0 / 0.5421 GB, free: 5.023 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.436e-05/0.537, allocations: 31.92 kB / 0.5421 GB, free: 4.992 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001972/0.5372, allocations: 12.06 kB / 0.5421 GB, free: 4.98 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007899/0.538, allocations: 185.2 kB / 0.5423 GB, free: 4.766 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003309/0.5384, allocations: 0.7231 MB / 0.543 GB, free: 4.016 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5384, allocations: 0 / 0.543 GB, free: 4.016 MB / 378.7 MB Notification: Performance of Templates: time 0.003969/0.5424, allocations: 1.482 MB / 0.5444 GB, free: 2.535 MB / 378.7 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Movers.BaseClasses.Validation.PowerInterface.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & ./Annex60_1.0.0_Annex60.Fluid.Movers.BaseClasses.Validation.PowerInterface -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1)