Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Mechanics.Translational.Examples.Sensors") translateModel(Modelica.Mechanics.Translational.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.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.001557/0.001557, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001625/0.001625, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.49/1.49, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.0004497/0.0004498, allocations: 14.66 kB / 278.9 MB, free: 12.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2187/0.2192, allocations: 47.59 MB / 326.4 MB, free: 1.426 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.001567/0.2208, allocations: 1.588 MB / 328 MB, free: 184 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006964/0.2215, allocations: 0.5158 MB / 328.6 MB, free: 15.77 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.517e-05/0.2216, allocations: 7.344 kB / 328.6 MB, free: 15.77 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 3.292e-05/0.2216, allocations: 13.94 kB / 328.6 MB, free: 15.75 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.314e-05/0.2217, allocations: 36.92 kB / 328.6 MB, free: 15.72 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001237/0.2219, allocations: 30.62 kB / 328.6 MB, free: 15.7 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000129/0.222, allocations: 95.25 kB / 328.7 MB, free: 15.64 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.2221, allocations: 55.27 kB / 328.8 MB, free: 15.61 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.157e-05/0.2222, allocations: 46.61 kB / 328.8 MB, free: 15.58 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.389e-05/0.2223, allocations: 57.72 kB / 328.9 MB, free: 15.54 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.2223, allocations: 10.72 kB / 328.9 MB, free: 15.54 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.071e-05/0.2224, allocations: 7.75 kB / 328.9 MB, free: 15.54 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.877e-05/0.2224, allocations: 24.33 kB / 328.9 MB, free: 15.52 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.246e-05/0.2225, allocations: 50.2 kB / 329 MB, free: 15.48 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001248/0.2226, allocations: 119.4 kB / 329.1 MB, free: 15.39 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2226, allocations: 5.344 kB / 329.1 MB, free: 15.38 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2226, allocations: 0 / 329.1 MB, free: 15.38 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.2226, allocations: 0 / 329.1 MB, free: 15.38 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.00053/0.2231, allocations: 413.3 kB / 329.5 MB, free: 14.97 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.129e-05/0.2232, allocations: 8.625 kB / 329.5 MB, free: 14.97 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.279e-05/0.2232, allocations: 15.56 kB / 329.5 MB, free: 14.96 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002071/0.2235, allocations: 205.2 kB / 329.7 MB, free: 14.73 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.2235, allocations: 21.95 kB / 329.7 MB, free: 14.72 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.7e-05/0.2235, allocations: 15 kB / 329.8 MB, free: 14.71 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002821/0.2238, allocations: 140.8 kB / 329.9 MB, free: 14.62 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.2238, allocations: 5.031 kB / 329.9 MB, free: 14.62 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.7e-05/0.2239, allocations: 5.719 kB / 329.9 MB, free: 14.61 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.2239, allocations: 3.5 kB / 329.9 MB, free: 14.61 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001917/0.2241, allocations: 92.36 kB / 330 MB, free: 14.57 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000725/0.2248, allocations: 0.5424 MB / 330.5 MB, free: 14.07 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000155/0.225, allocations: 76.12 kB / 330.6 MB, free: 14.03 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.48e-05/0.225, allocations: 1.312 kB / 330.6 MB, free: 14.03 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.821e-05/0.225, allocations: 34.56 kB / 330.7 MB, free: 13.98 MB / 270.1 MB Notification: Performance of pre-optimization done (n=9): time 1.133e-06/0.225, allocations: 1 kB / 330.7 MB, free: 13.98 MB / 270.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009539/0.226, allocations: 0.606 MB / 331.3 MB, free: 13.43 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.098e-05/0.226, allocations: 56.59 kB / 331.3 MB, free: 13.36 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.274e-05/0.2261, allocations: 136 kB / 331.5 MB, free: 13.23 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.216e-05/0.2262, allocations: 26.98 kB / 331.5 MB, free: 13.2 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.452e-05/0.2262, allocations: 134.8 kB / 331.6 MB, free: 13.07 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.893e-05/0.2263, allocations: 40.55 kB / 331.6 MB, free: 13.04 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.19e-06/0.2263, allocations: 1.375 kB / 331.6 MB, free: 13.04 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.2264, allocations: 325.9 kB / 332 MB, free: 12.71 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.896e-05/0.2265, allocations: 34.39 kB / 332 MB, free: 12.7 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001138/0.2266, allocations: 91.39 kB / 332.1 MB, free: 12.61 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.734e-05/0.2267, allocations: 48.31 kB / 332.1 MB, free: 12.59 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2267, allocations: 0.875 kB / 332.1 MB, free: 12.59 MB / 270.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002699/0.227, allocations: 160.8 kB / 332.3 MB, free: 12.49 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.227, allocations: 9.391 kB / 332.3 MB, free: 12.49 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.227, allocations: 1.812 kB / 332.3 MB, free: 12.49 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.227, allocations: 7.625 kB / 332.3 MB, free: 12.48 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.2272, allocations: 37.61 kB / 332.4 MB, free: 12.48 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.2272, allocations: 2.875 kB / 332.4 MB, free: 12.48 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.071e-05/0.2273, allocations: 8.344 kB / 332.4 MB, free: 12.47 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.2273, allocations: 6.188 kB / 332.4 MB, free: 12.47 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.506e-05/0.2274, allocations: 128.4 kB / 332.5 MB, free: 12.34 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.129e-05/0.2274, allocations: 8.156 kB / 332.5 MB, free: 12.34 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.382e-05/0.2275, allocations: 22.7 kB / 332.5 MB, free: 12.32 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.2275, allocations: 5.219 kB / 332.5 MB, free: 12.32 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.2275, allocations: 0 / 332.5 MB, free: 12.32 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.2275, allocations: 5.219 kB / 332.5 MB, free: 12.31 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005018/0.228, allocations: 451.7 kB / 333 MB, free: 11.89 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.228, allocations: 5.312 kB / 333 MB, free: 11.89 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000134/0.2282, allocations: 25.3 kB / 333 MB, free: 11.88 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.2282, allocations: 1.594 kB / 333 MB, free: 11.88 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.2282, allocations: 9.062 kB / 333 MB, free: 11.88 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.2282, allocations: 1.031 kB / 333 MB, free: 11.88 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.2282, allocations: 1.094 kB / 333 MB, free: 11.88 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003232/0.2285, allocations: 281.4 kB / 333.3 MB, free: 11.63 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.934e-05/0.2286, allocations: 84.52 kB / 333.4 MB, free: 11.54 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/0.2286, allocations: 5.25 kB / 333.4 MB, free: 11.53 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.307e-05/0.2287, allocations: 7.359 kB / 333.4 MB, free: 11.53 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.046e-05/0.2287, allocations: 8.469 kB / 333.4 MB, free: 11.52 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-06/0.2288, allocations: 2.656 kB / 333.4 MB, free: 11.52 MB / 270.1 MB Notification: Performance of sorting global known variables: time 5.264e-05/0.2288, allocations: 102.6 kB / 333.5 MB, free: 11.43 MB / 270.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2288, allocations: 0 / 333.5 MB, free: 11.43 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002566/0.2291, allocations: 26.25 kB / 333.5 MB, free: 11.43 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 (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.0001043/0.2292, allocations: 101.6 kB / 333.6 MB, free: 11.33 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0002101/0.2294, allocations: 96.75 kB / 333.7 MB, free: 11.29 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2294, allocations: 0 / 333.7 MB, free: 11.29 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 7.82e-05/0.2295, allocations: 41.17 kB / 333.8 MB, free: 11.28 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002446/0.2298, allocations: 14.19 kB / 333.8 MB, free: 11.27 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006908/0.2305, allocations: 0.5099 MB / 334.3 MB, free: 10.84 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002586/0.2307, allocations: 0.7166 MB / 335 MB, free: 10.13 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 5.306e-05/0.2308, allocations: 14.81 kB / 335 MB, free: 10.12 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.167e-05/0.2308, allocations: 16.97 kB / 335 MB, free: 10.11 MB / 270.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2308, allocations: 0 / 335 MB, free: 10.11 MB / 270.1 MB Notification: Performance of Templates: time 0.002723/0.2336, allocations: 0.7594 MB / 335.8 MB, free: 9.637 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.Sensors.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.Translational.Examples.Sensors.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.Translational.Examples.Sensors.sim & ./Modelica_3.1_Modelica.Mechanics.Translational.Examples.Sensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) Environment - environmentSimulation: