Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Sensors") translateModel(Modelica.Mechanics.Translational.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Sensors") [: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.1+maint.om/package.mo): time 0.001609/0.001609, allocations: 180.1 kB / 7.455 MB, free: 1.547 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.238/1.238, allocations: 170.6 MB / 178.4 MB, free: 3.949 MB / 146.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001678/0.001678, allocations: 107.9 kB / 217.7 MB, free: 12.7 MB / 194.8 MB Notification: Performance of FrontEnd - loaded program: time 8.726e-06/8.756e-06, allocations: 4 kB / 261.7 MB, free: 17.15 MB / 194.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0883/0.08832, allocations: 38.76 MB / 300.5 MB, free: 10.32 MB / 226.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2418/0.3302, allocations: 66.84 MB / 367.3 MB, free: 1.492 MB / 258.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002258/0.3304, allocations: 68.02 kB / 367.4 MB, free: 1.457 MB / 258.8 MB Notification: Performance of FrontEnd: time 0.006705/0.3372, allocations: 2.187 MB / 369.6 MB, free: 15.67 MB / 274.8 MB Notification: Performance of Transformations before backend: time 9.468e-06/0.3372, allocations: 0 / 369.6 MB, free: 15.67 MB / 274.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.000476/0.3377, allocations: 411.5 kB / 370 MB, free: 15.23 MB / 274.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.3377, allocations: 8.031 kB / 370 MB, free: 15.23 MB / 274.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.351e-05/0.3378, allocations: 19.72 kB / 370 MB, free: 15.2 MB / 274.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002353/0.338, allocations: 197.1 kB / 370.2 MB, free: 14.98 MB / 274.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.3381, allocations: 4 kB / 370.2 MB, free: 14.98 MB / 274.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.204e-05/0.3381, allocations: 15.91 kB / 370.2 MB, free: 14.96 MB / 274.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000176/0.3383, allocations: 72.11 kB / 370.3 MB, free: 14.91 MB / 274.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001921/0.3385, allocations: 109.8 kB / 370.4 MB, free: 14.82 MB / 274.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.3385, allocations: 4 kB / 370.4 MB, free: 14.82 MB / 274.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.612e-05/0.3385, allocations: 6.406 kB / 370.4 MB, free: 14.82 MB / 274.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.3386, allocations: 4 kB / 370.4 MB, free: 14.81 MB / 274.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007952/0.3394, allocations: 0.4997 MB / 370.9 MB, free: 14.34 MB / 274.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001079/0.3395, allocations: 51.47 kB / 371 MB, free: 14.29 MB / 274.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.429e-05/0.3395, allocations: 16.05 kB / 371 MB, free: 14.28 MB / 274.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.851e-05/0.3396, allocations: 4 kB / 371 MB, free: 14.27 MB / 274.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.3396, allocations: 39.97 kB / 371 MB, free: 14.23 MB / 274.8 MB Notification: Performance of pre-optimization done (n=9): time 1.283e-06/0.3396, allocations: 3.938 kB / 371 MB, free: 14.23 MB / 274.8 MB Notification: Performance of matching and sorting (n=11): time 0.0008156/0.3404, allocations: 0.5195 MB / 371.6 MB, free: 13.65 MB / 274.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.956e-05/0.3405, allocations: 55.41 kB / 371.6 MB, free: 13.59 MB / 274.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.084e-05/0.3406, allocations: 116.9 kB / 371.7 MB, free: 13.47 MB / 274.8 MB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.3406, allocations: 33.64 kB / 371.8 MB, free: 13.43 MB / 274.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.717e-05/0.3407, allocations: 138.9 kB / 371.9 MB, free: 13.29 MB / 274.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.428e-05/0.3407, allocations: 34.09 kB / 371.9 MB, free: 13.27 MB / 274.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.46e-06/0.3407, allocations: 0 / 371.9 MB, free: 13.27 MB / 274.8 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.3408, allocations: 322.2 kB / 372.2 MB, free: 12.95 MB / 274.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.193e-05/0.3409, allocations: 22.62 kB / 372.3 MB, free: 12.93 MB / 274.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.625e-05/0.341, allocations: 77.98 kB / 372.3 MB, free: 12.84 MB / 274.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.888e-05/0.341, allocations: 30.8 kB / 372.4 MB, free: 12.82 MB / 274.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.341, allocations: 3.938 kB / 372.4 MB, free: 12.82 MB / 274.8 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001909/0.3412, allocations: 123.7 kB / 372.5 MB, free: 12.71 MB / 274.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.3413, allocations: 11.44 kB / 372.5 MB, free: 12.7 MB / 274.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.3413, allocations: 0 / 372.5 MB, free: 12.7 MB / 274.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.3413, allocations: 7.906 kB / 372.5 MB, free: 12.7 MB / 274.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001694/0.3415, allocations: 39.91 kB / 372.6 MB, free: 12.66 MB / 274.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.3415, allocations: 4 kB / 372.6 MB, free: 12.65 MB / 274.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.331e-05/0.3416, allocations: 7.875 kB / 372.6 MB, free: 12.65 MB / 274.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.3416, allocations: 12.19 kB / 372.6 MB, free: 12.64 MB / 274.8 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 (19): * Single equations (assignments): 19 * 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.023e-05/0.3417, allocations: 104.9 kB / 372.7 MB, free: 12.53 MB / 274.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.367e-05/0.3417, allocations: 7.906 kB / 372.7 MB, free: 12.52 MB / 274.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.281e-05/0.3418, allocations: 20.14 kB / 372.7 MB, free: 12.5 MB / 274.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.3418, allocations: 0.5625 kB / 372.7 MB, free: 12.5 MB / 274.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.3418, allocations: 0 / 372.7 MB, free: 12.5 MB / 274.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.3418, allocations: 0 / 372.7 MB, free: 12.5 MB / 274.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004681/0.3423, allocations: 407.1 kB / 373.1 MB, free: 12.09 MB / 274.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.3423, allocations: 4 kB / 373.1 MB, free: 12.09 MB / 274.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000142/0.3424, allocations: 23.98 kB / 373.1 MB, free: 12.07 MB / 274.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-06/0.3424, allocations: 7.906 kB / 373.1 MB, free: 12.06 MB / 274.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.3425, allocations: 3.984 kB / 373.1 MB, free: 12.05 MB / 274.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3425, allocations: 0 / 373.1 MB, free: 12.05 MB / 274.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.3425, allocations: 4 kB / 373.2 MB, free: 12.05 MB / 274.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002615/0.3427, allocations: 252 kB / 373.4 MB, free: 11.8 MB / 274.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.418e-05/0.3428, allocations: 85.02 kB / 373.5 MB, free: 11.7 MB / 274.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.165e-05/0.3429, allocations: 0 / 373.5 MB, free: 11.7 MB / 274.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.545e-05/0.343, allocations: 12.09 kB / 373.5 MB, free: 11.69 MB / 274.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.509e-05/0.343, allocations: 7.984 kB / 373.5 MB, free: 11.68 MB / 274.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.904e-06/0.343, allocations: 7.188 kB / 373.5 MB, free: 11.68 MB / 274.8 MB Notification: Performance of sort global known variables: time 5.841e-05/0.3431, allocations: 98.77 kB / 373.6 MB, free: 11.59 MB / 274.8 MB Notification: Performance of remove unused functions: time 0.0002572/0.3433, allocations: 23.91 kB / 373.6 MB, free: 11.56 MB / 274.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (mass.s,mass.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0001534/0.3435, allocations: 95.25 kB / 373.7 MB, free: 11.46 MB / 274.8 MB Notification: Performance of simCode: created initialization part: time 0.0001567/0.3437, allocations: 77.84 kB / 373.8 MB, free: 11.4 MB / 274.8 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3437, allocations: 4.125 kB / 373.8 MB, free: 11.39 MB / 274.8 MB Notification: Performance of simCode: created simulation system equations: time 4.951e-05/0.3437, allocations: 35.06 kB / 373.8 MB, free: 11.37 MB / 274.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002636/0.344, allocations: 7.984 kB / 373.8 MB, free: 11.36 MB / 274.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000588/0.3446, allocations: 282.6 kB / 374.1 MB, free: 11.07 MB / 274.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003787/0.345, allocations: 0.7348 MB / 374.9 MB, free: 10.3 MB / 274.8 MB Notification: Performance of SimCode: time 2.31e-07/0.345, allocations: 0 / 374.9 MB, free: 10.3 MB / 274.8 MB Notification: Performance of Templates: time 0.003007/0.348, allocations: 0.8755 MB / 375.7 MB, free: 9.441 MB / 274.8 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Sensors.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Sensors.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Sensors.sim & ./Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Sensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1)