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.001265/0.001264, allocations: 109.3 kB / 16.92 MB, free: 5.758 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.001242/0.001242, allocations: 191.3 kB / 17.85 MB, free: 5.176 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.475/1.475, allocations: 205.1 MB / 223.7 MB, free: 12.34 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.001224/0.001224, allocations: 51.92 kB / 280 MB, free: 3.188 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1107, allocations: 46.64 MB / 326.6 MB, free: 4.48 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.004357/0.1151, allocations: 1.96 MB / 328.6 MB, free: 2.496 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001081/0.1162, allocations: 0.5503 MB / 329.1 MB, free: 1.938 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001241/0.1164, allocations: 4 kB / 329.1 MB, free: 1.934 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001784/0.1166, allocations: 23.73 kB / 329.2 MB, free: 1.91 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.929e-05/0.1167, allocations: 31.7 kB / 329.2 MB, free: 1.879 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002614/0.1169, allocations: 39.89 kB / 329.2 MB, free: 1.84 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002327/0.1172, allocations: 151.4 kB / 329.4 MB, free: 1.691 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000214/0.1174, allocations: 69.52 kB / 329.4 MB, free: 1.625 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001116/0.1175, allocations: 63.83 kB / 329.5 MB, free: 1.562 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001327/0.1177, allocations: 67.7 kB / 329.6 MB, free: 1.496 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.116e-05/0.1177, allocations: 12 kB / 329.6 MB, free: 1.484 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.206e-05/0.1178, allocations: 16 kB / 329.6 MB, free: 1.469 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.167e-05/0.1178, allocations: 31.86 kB / 329.6 MB, free: 1.438 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.719e-05/0.1179, allocations: 75.64 kB / 329.7 MB, free: 1.363 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002352/0.1181, allocations: 171.7 kB / 329.9 MB, free: 1.195 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.1182, allocations: 0 / 329.9 MB, free: 1.195 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1182, allocations: 0 / 329.9 MB, free: 1.195 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.1182, allocations: 0 / 329.9 MB, free: 1.195 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.0006534/0.1188, allocations: 427.1 kB / 330.3 MB, free: 0.7305 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.1189, allocations: 12.03 kB / 330.3 MB, free: 0.7188 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.088e-05/0.1189, allocations: 24.67 kB / 330.3 MB, free: 0.6953 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002283/0.1192, allocations: 204.1 kB / 330.5 MB, free: 468 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/0.1192, allocations: 12.38 kB / 330.5 MB, free: 456 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.408e-05/0.1193, allocations: 16.36 kB / 330.6 MB, free: 440 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002884/0.1196, allocations: 145.4 kB / 330.7 MB, free: 288 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.1196, allocations: 4 kB / 330.7 MB, free: 284 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.777e-05/0.1196, allocations: 8 kB / 330.7 MB, free: 276 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.1196, allocations: 4 kB / 330.7 MB, free: 272 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001925/0.1198, allocations: 87.94 kB / 330.8 MB, free: 184 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008222/0.1206, allocations: 0.5365 MB / 331.3 MB, free: 15.59 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001571/0.1208, allocations: 86.42 kB / 331.4 MB, free: 15.49 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.119e-05/0.1209, allocations: 28.84 kB / 331.4 MB, free: 15.46 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.1209, allocations: 4 kB / 331.4 MB, free: 15.46 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.121, allocations: 34.5 kB / 331.5 MB, free: 15.41 MB / 286.1 MB Notification: Performance of pre-optimization done (n=9): time 1.352e-06/0.121, allocations: 0 / 331.5 MB, free: 15.41 MB / 286.1 MB Notification: Performance of matching and sorting (n=11): time 0.001164/0.1221, allocations: 0.5868 MB / 332.1 MB, free: 14.73 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.457e-05/0.1222, allocations: 67.27 kB / 332.1 MB, free: 14.66 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.1223, allocations: 123.1 kB / 332.3 MB, free: 14.53 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.1224, allocations: 29.7 kB / 332.3 MB, free: 14.49 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.1225, allocations: 132 kB / 332.4 MB, free: 14.36 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.946e-05/0.1225, allocations: 43.39 kB / 332.5 MB, free: 14.31 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.43e-05/0.1226, allocations: 45.61 kB / 332.5 MB, free: 14.26 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.1228, allocations: 314.8 kB / 332.8 MB, free: 13.95 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.15e-05/0.1229, allocations: 35.97 kB / 332.8 MB, free: 13.91 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001149/0.123, allocations: 78.86 kB / 332.9 MB, free: 13.81 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002013/0.1232, allocations: 139.7 kB / 333.1 MB, free: 13.65 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.1232, allocations: 4 kB / 333.1 MB, free: 13.64 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002582/0.1235, allocations: 153.3 kB / 333.2 MB, free: 13.49 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.1235, allocations: 4 kB / 333.2 MB, free: 13.48 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.1235, allocations: 4 kB / 333.2 MB, free: 13.48 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/0.1235, allocations: 4 kB / 333.2 MB, free: 13.48 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001555/0.1237, allocations: 43.91 kB / 333.3 MB, free: 13.43 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.1237, allocations: 3.938 kB / 333.3 MB, free: 13.43 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.489e-05/0.1238, allocations: 8.188 kB / 333.3 MB, free: 13.42 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/0.1238, allocations: 12 kB / 333.3 MB, free: 13.41 MB / 286.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.836e-05/0.1239, allocations: 125.8 kB / 333.4 MB, free: 13.28 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.078e-05/0.1239, allocations: 7.906 kB / 333.4 MB, free: 13.27 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.715e-05/0.124, allocations: 16.36 kB / 333.4 MB, free: 13.25 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/0.124, allocations: 4 kB / 333.4 MB, free: 13.25 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.124, allocations: 3.938 kB / 333.4 MB, free: 13.25 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.124, allocations: 0 / 333.4 MB, free: 13.25 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004938/0.1245, allocations: 443.9 kB / 333.9 MB, free: 12.75 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.1245, allocations: 0 / 333.9 MB, free: 12.75 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001258/0.1247, allocations: 27.98 kB / 333.9 MB, free: 12.72 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.1247, allocations: 4 kB / 333.9 MB, free: 12.72 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.1247, allocations: 0 / 333.9 MB, free: 12.72 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/0.1247, allocations: 3.938 kB / 333.9 MB, free: 12.71 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.1247, allocations: 12.05 kB / 333.9 MB, free: 12.7 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003067/0.125, allocations: 245 kB / 334.2 MB, free: 12.44 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.43e-05/0.1251, allocations: 85.05 kB / 334.2 MB, free: 12.34 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.203e-05/0.1251, allocations: 8 kB / 334.3 MB, free: 12.33 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.795e-05/0.1252, allocations: 64 / 334.3 MB, free: 12.33 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.743e-05/0.1252, allocations: 15.92 kB / 334.3 MB, free: 12.32 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.756e-06/0.1253, allocations: 8 kB / 334.3 MB, free: 12.31 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.236e-05/0.1253, allocations: 95.97 kB / 334.4 MB, free: 12.21 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1253, allocations: 0 / 334.4 MB, free: 12.21 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002666/0.1256, allocations: 28 kB / 334.4 MB, free: 12.19 MB / 286.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.0001243/0.1257, allocations: 95.25 kB / 334.5 MB, free: 12.08 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002304/0.126, allocations: 100.2 kB / 334.6 MB, free: 11.98 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.126, allocations: 0 / 334.6 MB, free: 11.98 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 7.573e-05/0.1261, allocations: 39.92 kB / 334.6 MB, free: 11.95 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004082/0.1265, allocations: 27.86 kB / 334.7 MB, free: 11.92 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007817/0.1273, allocations: 428 kB / 335.1 MB, free: 11.47 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002634/0.1276, allocations: 0.7158 MB / 335.8 MB, free: 10.73 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.444e-05/0.1276, allocations: 8.875 kB / 335.8 MB, free: 10.72 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.908e-05/0.1277, allocations: 19.44 kB / 335.8 MB, free: 10.7 MB / 286.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1277, allocations: 0 / 335.8 MB, free: 10.7 MB / 286.1 MB Notification: Performance of Templates: time 0.003305/0.131, allocations: 0.8341 MB / 336.7 MB, free: 9.867 MB / 286.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)