Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Sensors") translateModel(Modelica.Mechanics.Translational.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001392/0.001391, allocations: 109.9 kB / 17.06 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001537/0.001537, allocations: 200 kB / 18.01 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.545/1.545, allocations: 205.1 MB / 223.9 MB, free: 12.21 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 51.92 kB / 327.8 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.103, allocations: 46.61 MB / 374.5 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003361/0.1064, allocations: 1.974 MB / 376.4 MB, free: 2.598 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001022/0.1074, allocations: 0.5539 MB / 377 MB, free: 2.035 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001039/0.1076, allocations: 0 / 377 MB, free: 2.035 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001477/0.1077, allocations: 19.8 kB / 377 MB, free: 2.016 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.678e-05/0.1078, allocations: 31.66 kB / 377 MB, free: 1.984 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002382/0.108, allocations: 43.94 kB / 377.1 MB, free: 1.941 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002316/0.1083, allocations: 151.4 kB / 377.2 MB, free: 1.793 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002386/0.1085, allocations: 81.34 kB / 377.3 MB, free: 1.715 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001244/0.1087, allocations: 59.78 kB / 377.4 MB, free: 1.656 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001224/0.1088, allocations: 63.7 kB / 377.4 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.186e-05/0.1088, allocations: 19.98 kB / 377.5 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.264e-05/0.1089, allocations: 16 kB / 377.5 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.643e-05/0.1089, allocations: 35.86 kB / 377.5 MB, free: 1.523 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.006e-05/0.109, allocations: 67.67 kB / 377.6 MB, free: 1.457 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002033/0.1092, allocations: 171.4 kB / 377.7 MB, free: 1.289 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.1092, allocations: 0 / 377.7 MB, free: 1.289 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.086e-06/0.1092, allocations: 0 / 377.7 MB, free: 1.289 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.1092, allocations: 0 / 377.7 MB, free: 1.289 MB / 318.1 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.0006033/0.1098, allocations: 435.1 kB / 378.2 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.1099, allocations: 12.03 kB / 378.2 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.169e-05/0.1099, allocations: 16.75 kB / 378.2 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002609/0.1102, allocations: 200.2 kB / 378.4 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.1102, allocations: 12.38 kB / 378.4 MB, free: 0.543 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.373e-05/0.1103, allocations: 28.27 kB / 378.4 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002906/0.1106, allocations: 145.6 kB / 378.6 MB, free: 376 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.1106, allocations: 4 kB / 378.6 MB, free: 372 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.764e-05/0.1106, allocations: 4 kB / 378.6 MB, free: 368 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.1106, allocations: 4 kB / 378.6 MB, free: 364 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000201/0.1108, allocations: 95.88 kB / 378.7 MB, free: 268 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2639/0.3747, allocations: 0.5103 MB / 379.2 MB, free: 12.92 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002052/0.375, allocations: 76.83 kB / 379.3 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.845e-05/0.3751, allocations: 31.22 kB / 379.3 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.553e-05/0.3751, allocations: 1.125 kB / 379.3 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/0.3752, allocations: 38.11 kB / 379.3 MB, free: 12.85 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 2.424e-06/0.3752, allocations: 0 / 379.3 MB, free: 12.85 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.001087/0.3763, allocations: 0.5943 MB / 379.9 MB, free: 12.41 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.965e-05/0.3763, allocations: 55.94 kB / 380 MB, free: 12.35 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.3764, allocations: 127.3 kB / 380.1 MB, free: 12.25 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.3764, allocations: 30.33 kB / 380.1 MB, free: 12.22 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.536e-05/0.3765, allocations: 135.6 kB / 380.3 MB, free: 12.11 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.377e-05/0.3766, allocations: 44.09 kB / 380.3 MB, free: 12.09 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.863e-05/0.3767, allocations: 36.34 kB / 380.3 MB, free: 12.07 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.375e-05/0.3767, allocations: 320.5 kB / 380.7 MB, free: 11.76 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.976e-05/0.3768, allocations: 31.72 kB / 380.7 MB, free: 11.76 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001229/0.377, allocations: 87.69 kB / 380.8 MB, free: 11.7 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002133/0.3772, allocations: 131.5 kB / 380.9 MB, free: 11.63 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.3772, allocations: 1.188 kB / 380.9 MB, free: 11.63 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000279/0.3775, allocations: 157 kB / 381.1 MB, free: 11.59 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.3775, allocations: 6.156 kB / 381.1 MB, free: 11.59 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.3775, allocations: 5.938 kB / 381.1 MB, free: 11.59 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.3775, allocations: 6.688 kB / 381.1 MB, free: 11.58 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001775/0.3777, allocations: 38.52 kB / 381.1 MB, free: 11.58 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.3777, allocations: 3.5 kB / 381.1 MB, free: 11.58 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.286e-05/0.3778, allocations: 8.891 kB / 381.1 MB, free: 11.58 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.864e-05/0.3778, allocations: 5.5 kB / 381.1 MB, free: 11.58 MB / 318.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.924e-05/0.3779, allocations: 130.7 kB / 381.3 MB, free: 11.46 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.148e-05/0.378, allocations: 8.031 kB / 381.3 MB, free: 11.46 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.548e-05/0.378, allocations: 26.39 kB / 381.3 MB, free: 11.45 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.378, allocations: 5.312 kB / 381.3 MB, free: 11.44 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.3781, allocations: 4.438 kB / 381.3 MB, free: 11.44 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.3781, allocations: 0 / 381.3 MB, free: 11.44 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005146/0.3786, allocations: 449.2 kB / 381.7 MB, free: 11.12 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3786, allocations: 0 / 381.7 MB, free: 11.12 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001315/0.3787, allocations: 24.41 kB / 381.8 MB, free: 11.12 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.399e-06/0.3788, allocations: 1.438 kB / 381.8 MB, free: 11.12 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.3788, allocations: 1.375 kB / 381.8 MB, free: 11.12 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.3788, allocations: 1.938 kB / 381.8 MB, free: 11.12 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.3788, allocations: 4.438 kB / 381.8 MB, free: 11.12 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003128/0.3791, allocations: 252.7 kB / 382 MB, free: 10.96 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.896e-05/0.3791, allocations: 87.38 kB / 382.1 MB, free: 10.86 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.3792, allocations: 6.328 kB / 382.1 MB, free: 10.86 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.5e-05/0.3792, allocations: 1.984 kB / 382.1 MB, free: 10.86 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.315e-05/0.3793, allocations: 9.094 kB / 382.1 MB, free: 10.86 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-06/0.3793, allocations: 3.609 kB / 382.1 MB, free: 10.86 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.793e-05/0.3794, allocations: 100.2 kB / 382.2 MB, free: 10.79 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3794, allocations: 3.969 kB / 382.2 MB, free: 10.79 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002849/0.3797, allocations: 25.69 kB / 382.2 MB, free: 10.79 MB / 318.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000121/0.3798, allocations: 101.8 kB / 382.3 MB, free: 10.7 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002538/0.3801, allocations: 95.23 kB / 382.4 MB, free: 10.69 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3801, allocations: 0.625 kB / 382.4 MB, free: 10.69 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.3802, allocations: 42.83 kB / 382.5 MB, free: 10.68 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003008/0.3805, allocations: 16.31 kB / 382.5 MB, free: 10.68 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008084/0.3813, allocations: 418.8 kB / 382.9 MB, free: 10.41 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001961/0.3815, allocations: 0.7146 MB / 383.6 MB, free: 9.711 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.711e-05/0.3816, allocations: 9.156 kB / 383.6 MB, free: 9.707 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.917e-05/0.3816, allocations: 13.64 kB / 383.6 MB, free: 9.699 MB / 318.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3816, allocations: 4.562 kB / 383.6 MB, free: 9.695 MB / 318.1 MB Notification: Performance of Templates: time 0.00424/0.3859, allocations: 0.8788 MB / 384.5 MB, free: 9.629 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Sensors.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Sensors.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Sensors.sim & ./Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Sensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1)