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.001357/0.001357, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001947/0.001947, allocations: 187.8 kB / 16.66 MB, free: 6.582 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.507/1.507, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.001709/0.001709, allocations: 58.23 kB / 326.5 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1173, allocations: 46.62 MB / 373.1 MB, free: 1.477 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003785/0.1211, allocations: 1.968 MB / 375.1 MB, free: 15.49 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001073/0.1222, allocations: 0.5461 MB / 375.7 MB, free: 14.94 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001848/0.1224, allocations: 7.938 kB / 375.7 MB, free: 14.93 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001732/0.1227, allocations: 23.78 kB / 375.7 MB, free: 14.91 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001408/0.1228, allocations: 31.7 kB / 375.7 MB, free: 14.88 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002651/0.1231, allocations: 47.89 kB / 375.8 MB, free: 14.83 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002832/0.1234, allocations: 147.4 kB / 375.9 MB, free: 14.68 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001995/0.1236, allocations: 73.34 kB / 376 MB, free: 14.61 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001449/0.1237, allocations: 55.8 kB / 376 MB, free: 14.56 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001471/0.1239, allocations: 75.67 kB / 376.1 MB, free: 14.48 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.856e-05/0.1239, allocations: 15.94 kB / 376.1 MB, free: 14.47 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.794e-05/0.124, allocations: 20 kB / 376.1 MB, free: 14.45 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.836e-05/0.124, allocations: 31.92 kB / 376.2 MB, free: 14.42 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.277e-05/0.1241, allocations: 67.61 kB / 376.2 MB, free: 14.35 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003018/0.1244, allocations: 171.2 kB / 376.4 MB, free: 14.18 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1244, allocations: 0 / 376.4 MB, free: 14.18 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1244, allocations: 0 / 376.4 MB, free: 14.18 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.765e-06/0.1244, allocations: 0 / 376.4 MB, free: 14.18 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.0007504/0.1252, allocations: 446.9 kB / 376.8 MB, free: 13.7 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.1252, allocations: 8.031 kB / 376.9 MB, free: 13.69 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.77e-05/0.1253, allocations: 20.84 kB / 376.9 MB, free: 13.67 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002906/0.1256, allocations: 208.1 kB / 377.1 MB, free: 13.43 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.1256, allocations: 8.375 kB / 377.1 MB, free: 13.42 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.424e-05/0.1257, allocations: 16.38 kB / 377.1 MB, free: 13.41 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003011/0.126, allocations: 145.7 kB / 377.2 MB, free: 13.26 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.126, allocations: 3.953 kB / 377.2 MB, free: 13.25 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.949e-05/0.126, allocations: 7.984 kB / 377.3 MB, free: 13.25 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-06/0.126, allocations: 4 kB / 377.3 MB, free: 13.24 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002101/0.1263, allocations: 103.9 kB / 377.4 MB, free: 13.14 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008546/0.1271, allocations: 0.5135 MB / 377.9 MB, free: 12.57 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000178/0.1273, allocations: 70.56 kB / 377.9 MB, free: 12.49 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.423e-05/0.1274, allocations: 36.84 kB / 378 MB, free: 12.45 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.1274, allocations: 0 / 378 MB, free: 12.45 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.631e-05/0.1275, allocations: 34.56 kB / 378 MB, free: 12.41 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.202e-06/0.1275, allocations: 0 / 378 MB, free: 12.41 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.001095/0.1286, allocations: 0.603 MB / 378.6 MB, free: 11.71 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.888e-05/0.1286, allocations: 59.34 kB / 378.7 MB, free: 11.64 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.1288, allocations: 133.8 kB / 378.8 MB, free: 11.5 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.913e-05/0.1288, allocations: 25.7 kB / 378.8 MB, free: 11.47 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.969e-05/0.1289, allocations: 140.1 kB / 379 MB, free: 11.33 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.451e-05/0.1289, allocations: 47.58 kB / 379 MB, free: 11.29 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.959e-05/0.129, allocations: 29.72 kB / 379 MB, free: 11.25 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.1292, allocations: 326.8 kB / 379.4 MB, free: 10.92 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.348e-05/0.1293, allocations: 31.98 kB / 379.4 MB, free: 10.89 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/0.1294, allocations: 90.78 kB / 379.5 MB, free: 10.78 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002223/0.1296, allocations: 130.7 kB / 379.6 MB, free: 10.62 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1296, allocations: 0 / 379.6 MB, free: 10.62 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002763/0.1299, allocations: 157.4 kB / 379.8 MB, free: 10.46 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.1299, allocations: 8 kB / 379.8 MB, free: 10.46 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.1299, allocations: 0 / 379.8 MB, free: 10.46 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.13, allocations: 4 kB / 379.8 MB, free: 10.45 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000157/0.1301, allocations: 31.98 kB / 379.8 MB, free: 10.42 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.351e-05/0.1301, allocations: 15.86 kB / 379.8 MB, free: 10.41 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.664e-05/0.1302, allocations: 8 kB / 379.8 MB, free: 10.4 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.1302, allocations: 8.5 kB / 379.8 MB, free: 10.39 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 0.0001074/0.1304, allocations: 134 kB / 380 MB, free: 10.25 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.282e-05/0.1304, allocations: 7.953 kB / 380 MB, free: 10.24 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.779e-05/0.1304, allocations: 8.375 kB / 380 MB, free: 10.23 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.1304, allocations: 4 kB / 380 MB, free: 10.23 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.1305, allocations: 3.938 kB / 380 MB, free: 10.23 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.1305, allocations: 7.922 kB / 380 MB, free: 10.22 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00054/0.131, allocations: 448 kB / 380.4 MB, free: 9.719 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.131, allocations: 0 / 380.4 MB, free: 9.719 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001325/0.1312, allocations: 27.92 kB / 380.5 MB, free: 9.691 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.1312, allocations: 4 kB / 380.5 MB, free: 9.688 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.1312, allocations: 4 kB / 380.5 MB, free: 9.684 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.1312, allocations: 0 / 380.5 MB, free: 9.684 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.1312, allocations: 4 kB / 380.5 MB, free: 9.68 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003667/0.1316, allocations: 257.1 kB / 380.7 MB, free: 9.406 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.488e-05/0.1316, allocations: 89.08 kB / 380.8 MB, free: 9.301 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.21e-05/0.1317, allocations: 4 kB / 380.8 MB, free: 9.297 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.302e-05/0.1318, allocations: 4 kB / 380.8 MB, free: 9.293 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.796e-05/0.1318, allocations: 7.984 kB / 380.8 MB, free: 9.285 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.834e-06/0.1318, allocations: 4 kB / 380.8 MB, free: 9.281 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.348e-05/0.1319, allocations: 103.3 kB / 380.9 MB, free: 9.18 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1319, allocations: 0 / 380.9 MB, free: 9.18 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002766/0.1322, allocations: 28 kB / 381 MB, free: 9.152 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.0001419/0.1323, allocations: 91.25 kB / 381.1 MB, free: 9.055 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002249/0.1326, allocations: 95.83 kB / 381.1 MB, free: 8.961 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1326, allocations: 384 / 381.1 MB, free: 8.961 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.189e-05/0.1327, allocations: 43.92 kB / 381.2 MB, free: 8.918 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00031/0.133, allocations: 15.88 kB / 381.2 MB, free: 8.902 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007567/0.1337, allocations: 423 kB / 381.6 MB, free: 8.457 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003214/0.1341, allocations: 0.7123 MB / 382.3 MB, free: 7.719 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.969e-05/0.1341, allocations: 12.88 kB / 382.3 MB, free: 7.699 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.451e-05/0.1342, allocations: 15.44 kB / 382.4 MB, free: 7.684 MB / 318.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1342, allocations: 0 / 382.4 MB, free: 7.684 MB / 318.1 MB Notification: Performance of Templates: time 0.003428/0.1376, allocations: 0.8786 MB / 383.2 MB, free: 6.805 MB / 318.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)