Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.RootMeanSquare.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) 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) Running command: translateModel(ModelicaTest.Blocks.RootMeanSquare,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.RootMeanSquare") translateModel(ModelicaTest.Blocks.RootMeanSquare,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.RootMeanSquare") [: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 3.2.2+maint.om/package.mo): time 0.003698/0.003698, allocations: 182.6 kB / 7.458 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.271/1.271, allocations: 194.2 MB / 202.1 MB, free: 8.723 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001733/0.001733, allocations: 128.1 kB / 247.1 MB, free: 6.336 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1806/0.1806, allocations: 39.94 MB / 331.9 MB, free: 4.895 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.262e-06/6.282e-06, allocations: 0 / 392.8 MB, free: 75.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1028, allocations: 54.87 MB / 447.6 MB, free: 20.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3002/0.4031, allocations: 80.08 MB / 0.5153 GB, free: 10.42 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000193/0.4033, allocations: 62.3 kB / 0.5154 GB, free: 10.42 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.004729/0.4081, allocations: 1.319 MB / 0.5167 GB, free: 10.34 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.348e-05/0.4081, allocations: 4.078 kB / 0.5167 GB, free: 10.34 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0004134/0.4085, allocations: 379.1 kB / 0.5171 GB, free: 9.973 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/0.4086, allocations: 9.75 kB / 0.5171 GB, free: 9.973 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.504e-05/0.4086, allocations: 9.766 kB / 0.5171 GB, free: 9.969 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002253/0.4089, allocations: 201.8 kB / 0.5173 GB, free: 9.766 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.4089, allocations: 7.109 kB / 0.5173 GB, free: 9.762 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.026e-05/0.4089, allocations: 10 kB / 0.5173 GB, free: 9.758 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001379/0.4091, allocations: 38.05 kB / 0.5173 GB, free: 9.754 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000137/0.4092, allocations: 75.27 kB / 0.5174 GB, free: 9.719 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.4092, allocations: 8.219 kB / 0.5174 GB, free: 9.715 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.4093, allocations: 0.75 kB / 0.5174 GB, free: 9.715 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.4093, allocations: 2 kB / 0.5174 GB, free: 9.715 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004268/0.4097, allocations: 324.9 kB / 0.5177 GB, free: 9.473 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.221e-05/0.4098, allocations: 52.16 kB / 0.5178 GB, free: 9.445 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.197e-05/0.4099, allocations: 21.55 kB / 0.5178 GB, free: 9.438 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.382e-05/0.4099, allocations: 2.094 kB / 0.5178 GB, free: 9.438 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001158/0.41, allocations: 79.55 kB / 0.5179 GB, free: 9.383 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.213e-06/0.41, allocations: 3.938 kB / 0.5179 GB, free: 9.379 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002085/0.4102, allocations: 88.02 kB / 0.518 GB, free: 9.336 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.681e-05/0.4103, allocations: 55.09 kB / 0.518 GB, free: 9.273 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.794e-05/0.4104, allocations: 118.6 kB / 0.5181 GB, free: 9.18 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.4104, allocations: 26.73 kB / 0.5181 GB, free: 9.148 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.31e-05/0.4104, allocations: 102.4 kB / 0.5182 GB, free: 9.055 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.763e-05/0.4105, allocations: 27.56 kB / 0.5183 GB, free: 9.035 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.843e-06/0.4105, allocations: 1.062 kB / 0.5183 GB, free: 9.035 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.873e-05/0.4106, allocations: 324.4 kB / 0.5186 GB, free: 8.719 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.223e-05/0.4106, allocations: 21.66 kB / 0.5186 GB, free: 8.715 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.592e-05/0.4107, allocations: 71.25 kB / 0.5187 GB, free: 8.645 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.245e-05/0.4108, allocations: 30.17 kB / 0.5187 GB, free: 8.641 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.4108, allocations: 1.406 kB / 0.5187 GB, free: 8.641 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001834/0.411, allocations: 110.9 kB / 0.5188 GB, free: 8.594 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.411, allocations: 4.641 kB / 0.5188 GB, free: 8.594 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.411, allocations: 2.812 kB / 0.5188 GB, free: 8.594 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.411, allocations: 3.844 kB / 0.5188 GB, free: 8.594 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001345/0.4111, allocations: 29.95 kB / 0.5188 GB, free: 8.586 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.4112, allocations: 4.141 kB / 0.5188 GB, free: 8.586 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.819e-05/0.4112, allocations: 10.11 kB / 0.5189 GB, free: 8.582 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.4113, allocations: 13.22 kB / 0.5189 GB, free: 8.578 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.mean1.y,mean1.y,$whenCondition2,$whenCondition1,$PRE.rootMeanSquare.mean.y,rootMeanSquare.mean.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 6.444e-05/0.4113, allocations: 109.2 kB / 0.519 GB, free: 8.469 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.077e-05/0.4114, allocations: 16.86 kB / 0.519 GB, free: 8.457 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.607e-05/0.4114, allocations: 15.67 kB / 0.519 GB, free: 8.445 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.4114, allocations: 1.281 kB / 0.519 GB, free: 8.445 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.4114, allocations: 0.7031 kB / 0.519 GB, free: 8.445 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.4114, allocations: 5.094 kB / 0.519 GB, free: 8.441 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001443/0.4116, allocations: 179.1 kB / 0.5192 GB, free: 8.281 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.4116, allocations: 0 / 0.5192 GB, free: 8.281 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001115/0.4117, allocations: 13.8 kB / 0.5192 GB, free: 8.281 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.634e-06/0.4117, allocations: 1 kB / 0.5192 GB, free: 8.281 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.4118, allocations: 2.469 kB / 0.5192 GB, free: 8.281 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.4118, allocations: 1.156 kB / 0.5192 GB, free: 8.281 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.4118, allocations: 7.984 kB / 0.5192 GB, free: 8.273 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002264/0.412, allocations: 152.4 kB / 0.5194 GB, free: 8.191 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.026e-05/0.412, allocations: 84.12 kB / 0.5194 GB, free: 8.094 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.553e-05/0.4121, allocations: 1.969 kB / 0.5194 GB, free: 8.094 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.212e-05/0.4121, allocations: 5.422 kB / 0.5194 GB, free: 8.094 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.447e-05/0.4122, allocations: 8.188 kB / 0.5194 GB, free: 8.094 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.4122, allocations: 3.922 kB / 0.5194 GB, free: 8.094 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.07e-05/0.4123, allocations: 104.8 kB / 0.5195 GB, free: 8.016 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000225/0.4125, allocations: 27.2 kB / 0.5196 GB, free: 8.008 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (mean1.x,rootMeanSquare.mean.x) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,mean1.y,rootMeanSquare.mean.y) * Number of discrete states: 2 (mean1.x,rootMeanSquare.mean.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001152/0.4126, allocations: 96.38 kB / 0.5197 GB, free: 7.918 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001445/0.4128, allocations: 62.2 kB / 0.5197 GB, free: 7.91 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.4128, allocations: 1.719 kB / 0.5197 GB, free: 7.91 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.828e-05/0.4129, allocations: 28.39 kB / 0.5198 GB, free: 7.906 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001975/0.4131, allocations: 12.73 kB / 0.5198 GB, free: 7.902 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004938/0.4136, allocations: 156.2 kB / 0.5199 GB, free: 7.805 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003016/0.4139, allocations: 0.7203 MB / 0.5206 GB, free: 7.102 MB / 346.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4139, allocations: 0 / 0.5206 GB, free: 7.102 MB / 346.7 MB Notification: Performance of Templates: time 0.00418/0.4181, allocations: 0.9288 MB / 0.5215 GB, free: 6.996 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.RootMeanSquare.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Blocks.RootMeanSquare.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Blocks.RootMeanSquare.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Blocks.RootMeanSquare.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Blocks.RootMeanSquare.sim & ./ModelicaTest_3.2.2_ModelicaTest.Blocks.RootMeanSquare -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1)