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/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.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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001302/0.001302, allocations: 190.9 kB / 16.14 MB, free: 6.66 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.591/1.591, allocations: 205.1 MB / 222 MB, free: 4.734 MB / 174.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.001201/0.0012, allocations: 47.92 kB / 278 MB, free: 12.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/0.3097, allocations: 46.63 MB / 324.7 MB, free: 1.934 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003665/0.3135, allocations: 2.022 MB / 326.7 MB, free: 356 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008362/0.3143, allocations: 0.5337 MB / 327.2 MB, free: 15.92 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001267/0.3145, allocations: 7.5 kB / 327.2 MB, free: 15.91 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001468/0.3146, allocations: 14.48 kB / 327.2 MB, free: 15.9 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.094e-05/0.3147, allocations: 31.38 kB / 327.3 MB, free: 15.88 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002106/0.315, allocations: 34.92 kB / 327.3 MB, free: 15.85 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001976/0.3152, allocations: 145.1 kB / 327.5 MB, free: 15.76 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001683/0.3153, allocations: 53.23 kB / 327.5 MB, free: 15.73 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.3155, allocations: 59.81 kB / 327.6 MB, free: 15.7 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.3156, allocations: 65.75 kB / 327.6 MB, free: 15.65 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.042e-05/0.3156, allocations: 11.06 kB / 327.6 MB, free: 15.65 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.703e-05/0.3156, allocations: 13.75 kB / 327.7 MB, free: 15.64 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.587e-05/0.3157, allocations: 32.83 kB / 327.7 MB, free: 15.62 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.999e-05/0.3158, allocations: 69.09 kB / 327.8 MB, free: 15.57 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001954/0.316, allocations: 164.7 kB / 327.9 MB, free: 15.45 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.316, allocations: 0 / 327.9 MB, free: 15.45 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.316, allocations: 1.375 kB / 327.9 MB, free: 15.45 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.316, allocations: 0 / 327.9 MB, free: 15.45 MB / 270.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.0006546/0.3167, allocations: 435.9 kB / 328.3 MB, free: 15.02 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.3167, allocations: 9.125 kB / 328.4 MB, free: 15.02 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.658e-05/0.3168, allocations: 16.59 kB / 328.4 MB, free: 15.01 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002349/0.317, allocations: 202.2 kB / 328.6 MB, free: 14.79 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.317, allocations: 11.31 kB / 328.6 MB, free: 14.78 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.423e-05/0.3171, allocations: 18.31 kB / 328.6 MB, free: 14.77 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003144/0.3174, allocations: 150.7 kB / 328.7 MB, free: 14.67 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.932e-05/0.3174, allocations: 3.984 kB / 328.7 MB, free: 14.67 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.419e-05/0.3175, allocations: 10.66 kB / 328.8 MB, free: 14.66 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/0.3175, allocations: 2.562 kB / 328.8 MB, free: 14.66 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00023/0.3177, allocations: 93.38 kB / 328.8 MB, free: 14.62 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008778/0.3186, allocations: 0.5288 MB / 329.4 MB, free: 14.13 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001856/0.3188, allocations: 77.86 kB / 329.5 MB, free: 14.08 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.31e-05/0.3189, allocations: 32.12 kB / 329.5 MB, free: 14.06 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.3189, allocations: 192 / 329.5 MB, free: 14.06 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.088e-05/0.319, allocations: 35.75 kB / 329.5 MB, free: 14.02 MB / 270.1 MB Notification: Performance of pre-optimization done (n=9): time 8.42e-07/0.319, allocations: 5.031 kB / 329.5 MB, free: 14.01 MB / 270.1 MB Notification: Performance of matching and sorting (n=11): time 0.001151/0.3201, allocations: 0.5915 MB / 330.1 MB, free: 13.46 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.833e-05/0.3202, allocations: 56.69 kB / 330.2 MB, free: 13.39 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.3203, allocations: 136.9 kB / 330.3 MB, free: 13.27 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.3204, allocations: 25.7 kB / 330.3 MB, free: 13.23 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.42e-05/0.3205, allocations: 136.1 kB / 330.5 MB, free: 13.11 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.152e-05/0.3205, allocations: 40.67 kB / 330.5 MB, free: 13.07 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.648e-05/0.3206, allocations: 28.28 kB / 330.5 MB, free: 13.05 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.3208, allocations: 321.4 kB / 330.8 MB, free: 12.73 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.955e-05/0.3209, allocations: 37.8 kB / 330.9 MB, free: 12.71 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001214/0.321, allocations: 91.09 kB / 331 MB, free: 12.62 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002096/0.3212, allocations: 130.4 kB / 331.1 MB, free: 12.51 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3212, allocations: 1.094 kB / 331.1 MB, free: 12.51 MB / 270.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002849/0.3215, allocations: 154.3 kB / 331.2 MB, free: 12.42 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.3215, allocations: 5.531 kB / 331.3 MB, free: 12.42 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/0.3215, allocations: 6.062 kB / 331.3 MB, free: 12.41 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.3216, allocations: 2.938 kB / 331.3 MB, free: 12.41 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001742/0.3218, allocations: 45.08 kB / 331.3 MB, free: 12.4 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.3218, allocations: 6.406 kB / 331.3 MB, free: 12.39 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.395e-05/0.3218, allocations: 8.172 kB / 331.3 MB, free: 12.39 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.342e-05/0.3219, allocations: 5.094 kB / 331.3 MB, free: 12.39 MB / 270.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 0.0001247/0.322, allocations: 132.4 kB / 331.5 MB, free: 12.26 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.345e-05/0.322, allocations: 8.188 kB / 331.5 MB, free: 12.25 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.004e-05/0.3221, allocations: 10.59 kB / 331.5 MB, free: 12.25 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.3221, allocations: 1.125 kB / 331.5 MB, free: 12.25 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.3221, allocations: 9.25 kB / 331.5 MB, free: 12.24 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.3221, allocations: 3.984 kB / 331.5 MB, free: 12.23 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005655/0.3227, allocations: 445 kB / 331.9 MB, free: 11.82 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.3227, allocations: 1.188 kB / 331.9 MB, free: 11.82 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001491/0.3229, allocations: 27.05 kB / 332 MB, free: 11.81 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.3229, allocations: 10.25 kB / 332 MB, free: 11.8 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/0.3229, allocations: 8.984 kB / 332 MB, free: 11.79 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.3229, allocations: 2.312 kB / 332 MB, free: 11.79 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.3229, allocations: 0 / 332 MB, free: 11.79 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003548/0.3233, allocations: 249.5 kB / 332.2 MB, free: 11.59 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.517e-05/0.3233, allocations: 87.39 kB / 332.3 MB, free: 11.49 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.505e-05/0.3234, allocations: 10.3 kB / 332.3 MB, free: 11.48 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.245e-05/0.3235, allocations: 2.219 kB / 332.3 MB, free: 11.48 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.604e-05/0.3235, allocations: 8.578 kB / 332.3 MB, free: 11.48 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.748e-06/0.3235, allocations: 6.75 kB / 332.3 MB, free: 11.47 MB / 270.1 MB Notification: Performance of sorting global known variables: time 6.346e-05/0.3236, allocations: 99.48 kB / 332.4 MB, free: 11.39 MB / 270.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3236, allocations: 0 / 332.4 MB, free: 11.39 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002703/0.3239, allocations: 26.09 kB / 332.5 MB, free: 11.38 MB / 270.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.0001213/0.324, allocations: 101.6 kB / 332.5 MB, free: 11.29 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0002423/0.3243, allocations: 92.86 kB / 332.6 MB, free: 11.25 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.3243, allocations: 1.125 kB / 332.6 MB, free: 11.25 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 8.089e-05/0.3243, allocations: 40.17 kB / 332.7 MB, free: 11.23 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003843/0.3247, allocations: 13.78 kB / 332.7 MB, free: 11.22 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007866/0.3255, allocations: 486.8 kB / 333.2 MB, free: 10.83 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000288/0.3258, allocations: 0.7116 MB / 333.9 MB, free: 10.12 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 5.93e-05/0.3259, allocations: 10.77 kB / 333.9 MB, free: 10.11 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.355e-05/0.3259, allocations: 16.02 kB / 333.9 MB, free: 10.1 MB / 270.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3259, allocations: 1.531 kB / 333.9 MB, free: 10.1 MB / 270.1 MB Notification: Performance of Templates: time 0.003401/0.3294, allocations: 0.8054 MB / 334.7 MB, free: 9.559 MB / 270.1 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)