Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Blocks.Examples.Interaction1.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.Blocks.Examples.Interaction1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.Interaction1") translateModel(Modelica.Blocks.Examples.Interaction1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.Interaction1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 114.6 kB / 16.63 MB, free: 6.812 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.001268/0.001269, allocations: 185.8 kB / 17.55 MB, free: 5.934 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.52/1.52, allocations: 205.1 MB / 223.4 MB, free: 12.44 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.001271/0.001272, allocations: 43.94 kB / 279.5 MB, free: 3.5 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1626, allocations: 46.63 MB / 326.1 MB, free: 4.805 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Interaction1): time 0.004602/0.1673, allocations: 2.551 MB / 328.7 MB, free: 2.23 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003204/0.1706, allocations: 1.681 MB / 330.4 MB, free: 0.5391 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002426/0.1708, allocations: 7.938 kB / 330.4 MB, free: 0.5312 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001233/0.1721, allocations: 0.5105 MB / 330.9 MB, free: 20 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007472/0.1729, allocations: 398.8 kB / 331.3 MB, free: 15.63 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001533/0.1744, allocations: 0.5889 MB / 331.9 MB, free: 15.04 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008183/0.1752, allocations: 0.7832 MB / 332.6 MB, free: 14.25 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000214/0.1755, allocations: 109.7 kB / 332.7 MB, free: 14.15 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003451/0.1758, allocations: 334.7 kB / 333.1 MB, free: 13.82 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00036/0.1762, allocations: 374.6 kB / 333.4 MB, free: 13.45 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.712e-05/0.1763, allocations: 40 kB / 333.5 MB, free: 13.41 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003321/0.1766, allocations: 211.7 kB / 333.7 MB, free: 13.21 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002225/0.1768, allocations: 207.4 kB / 333.9 MB, free: 13 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002647/0.1771, allocations: 302.2 kB / 334.2 MB, free: 12.71 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008345/0.1779, allocations: 0.8451 MB / 335 MB, free: 11.86 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.178, allocations: 0 / 335 MB, free: 11.86 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.178, allocations: 0 / 335 MB, free: 11.86 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.178, allocations: 3.938 kB / 335 MB, free: 11.86 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001721/0.1797, allocations: 1.199 MB / 336.2 MB, free: 10.56 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.1798, allocations: 12.03 kB / 336.2 MB, free: 10.55 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001405/0.1799, allocations: 76 kB / 336.3 MB, free: 10.47 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000774/0.1807, allocations: 0.582 MB / 336.9 MB, free: 9.848 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.291e-05/0.1807, allocations: 20.38 kB / 336.9 MB, free: 9.828 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.108e-05/0.1808, allocations: 24.12 kB / 336.9 MB, free: 9.805 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000665/0.1814, allocations: 362.7 kB / 337.3 MB, free: 9.402 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.1815, allocations: 4 kB / 337.3 MB, free: 9.398 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.389e-05/0.1815, allocations: 8 kB / 337.3 MB, free: 9.391 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.554e-05/0.1815, allocations: 11.91 kB / 337.3 MB, free: 9.379 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003846/0.1819, allocations: 183.8 kB / 337.5 MB, free: 9.199 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001611/0.1836, allocations: 1.341 MB / 338.8 MB, free: 7.785 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007012/0.1843, allocations: 350.8 kB / 339.2 MB, free: 7.406 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003609/0.1846, allocations: 171.4 kB / 339.3 MB, free: 7.227 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.599e-05/0.1847, allocations: 8 kB / 339.4 MB, free: 7.219 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006531/0.1853, allocations: 459.2 kB / 339.8 MB, free: 6.715 MB / 286.1 MB Notification: Performance of pre-optimization done (n=42): time 2.304e-06/0.1854, allocations: 4 kB / 339.8 MB, free: 6.711 MB / 286.1 MB Notification: Performance of matching and sorting (n=42): time 0.001411/0.1868, allocations: 0.7358 MB / 340.5 MB, free: 5.949 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003106/0.1871, allocations: 460.9 kB / 341 MB, free: 5.395 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001192/0.1883, allocations: 0.9262 MB / 341.9 MB, free: 4.461 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.841e-05/0.1884, allocations: 45.7 kB / 342 MB, free: 4.41 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003221/0.1887, allocations: 308.8 kB / 342.3 MB, free: 4.105 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/0.1888, allocations: 114.5 kB / 342.4 MB, free: 3.992 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001462/0.189, allocations: 102.1 kB / 342.5 MB, free: 3.887 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002107/0.1892, allocations: 326 kB / 342.8 MB, free: 3.562 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000309/0.1895, allocations: 148.9 kB / 342.9 MB, free: 3.414 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004984/0.19, allocations: 350.4 kB / 343.3 MB, free: 2.996 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001447/0.1915, allocations: 0.7879 MB / 344.1 MB, free: 2.098 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/0.1915, allocations: 4 kB / 344.1 MB, free: 2.094 MB / 286.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001179/0.1927, allocations: 0.677 MB / 344.8 MB, free: 1.391 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.324e-05/0.1928, allocations: 101 kB / 344.9 MB, free: 1.273 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.1928, allocations: 4 kB / 344.9 MB, free: 1.27 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.168e-05/0.1928, allocations: 4 kB / 344.9 MB, free: 1.266 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002764/0.1931, allocations: 67.84 kB / 344.9 MB, free: 1.199 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.432e-05/0.1931, allocations: 7.984 kB / 344.9 MB, free: 1.191 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003003/0.1934, allocations: 51.89 kB / 345 MB, free: 1.141 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.157e-05/0.1935, allocations: 24 kB / 345 MB, free: 1.117 MB / 286.1 MB Warning: Assuming fixed start value for the following 2 variables: stop.table.y:DISCRETE(flow=false fixed = true protected = true ) "Connector of Boolean output signal" type: Boolean start.table.y:DISCRETE(flow=false fixed = true protected = true ) "Connector of Boolean output signal" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 51 ($PRE.start.pre_reset[1],$PRE.stop.pre_reset[1],$PRE.integerTable.combiTimeTable.nextTimeEvent,$whenCondition9,integerTable.combiTimeTable.nextTimeEventScaled,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent,integerTable.y,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition8,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition3,$PRE.start.table.combiTimeTable.nextTimeEvent,$whenCondition2,stop.on,$PRE.stop.on,start.reset[1],stop.reset[1],start.on,$PRE.start.on,$PRE.stop.table.y,$PRE.stop.reset[1],stop.pre_reset[1],stop.table.combiTimeTable.nextTimeEventScaled,$PRE.stop.table.combiTimeTable.nextTimeEventScaled,stop.table.combiTimeTable.nextTimeEvent,stop.table.y,$whenCondition5,$whenCondition4,$PRE.start.table.y,$PRE.start.reset[1],start.pre_reset[1],start.table.combiTimeTable.nextTimeEventScaled,$PRE.start.table.combiTimeTable.nextTimeEventScaled,start.table.combiTimeTable.nextTimeEvent,start.table.y,$whenCondition7,$whenCondition6,timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,$whenCondition1,booleanValue.active,integerValue.number) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 3 * 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.0005362/0.194, allocations: 386.9 kB / 345.4 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001421/0.1942, allocations: 90.98 kB / 345.5 MB, free: 0.625 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001436/0.1943, allocations: 74.22 kB / 345.5 MB, free: 0.543 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.428e-06/0.1944, allocations: 4 kB / 345.6 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.888e-06/0.1944, allocations: 0 / 345.6 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.1944, allocations: 3.984 kB / 345.6 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001269/0.1957, allocations: 0.962 MB / 346.5 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.1957, allocations: 0 / 346.5 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.737e-05/0.1958, allocations: 23.92 kB / 346.5 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.1958, allocations: 4 kB / 346.5 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.129e-05/0.1958, allocations: 27.92 kB / 346.6 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.1958, allocations: 4 kB / 346.6 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1959, allocations: 0 / 346.6 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001072/0.1969, allocations: 0.7672 MB / 347.3 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002162/0.1972, allocations: 164.2 kB / 347.5 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/0.1973, allocations: 23.94 kB / 347.5 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002352/0.1975, allocations: 35.91 kB / 347.6 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/0.1977, allocations: 31.97 kB / 347.6 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.462e-05/0.1977, allocations: 23.98 kB / 347.6 MB, free: 14.34 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000816/0.1985, allocations: 0.6708 MB / 348.3 MB, free: 13.67 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1985, allocations: 0 / 348.3 MB, free: 13.67 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000729/0.1993, allocations: 148 kB / 348.4 MB, free: 13.53 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled,$whenCondition3,$whenCondition2,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,start.reset[1],start.on,start.table.y,start.table.combiTimeTable.nextTimeEvent,start.table.combiTimeTable.nextTimeEventScaled,start.pre_reset[1],stop.reset[1],stop.on,stop.table.y,stop.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEventScaled,stop.pre_reset[1],$whenCondition8,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,$whenCondition9,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 26 (integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEvent,start.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEventScaled,$whenCondition5,stop.on,$whenCondition4,stop.pre_reset[1],stop.reset[1],stop.table.y,start.table.combiTimeTable.nextTimeEventScaled,$whenCondition7,start.on,$whenCondition6,start.pre_reset[1],start.reset[1],start.table.y,timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 8 * 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.001454/0.2007, allocations: 497.7 kB / 348.9 MB, free: 13.05 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001075/0.2018, allocations: 0.6353 MB / 349.6 MB, free: 12.38 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.2018, allocations: 192 / 349.6 MB, free: 12.38 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005825/0.2024, allocations: 442 kB / 350 MB, free: 11.91 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009002/0.2033, allocations: 187.8 kB / 350.2 MB, free: 11.72 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002405/0.2058, allocations: 1.341 MB / 351.5 MB, free: 10.34 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007804/0.2066, allocations: 0.9367 MB / 352.4 MB, free: 9.379 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000349/0.2069, allocations: 109.1 kB / 352.6 MB, free: 9.273 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001437/0.2071, allocations: 55.42 kB / 352.6 MB, free: 9.219 MB / 302.1 MB Notification: Performance of SimCode: time 8.02e-07/0.2071, allocations: 4 kB / 352.6 MB, free: 9.215 MB / 302.1 MB Notification: Performance of Templates: time 0.01821/0.2253, allocations: 9.202 MB / 361.8 MB, free: 15.99 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Blocks.Examples.Interaction1.makefile (rm -f Modelica_3.2.2_Modelica.Blocks.Examples.Interaction1.pipe ; mkfifo Modelica_3.2.2_Modelica.Blocks.Examples.Interaction1.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Blocks.Examples.Interaction1.pipe >> ../files/Modelica_3.2.2_Modelica.Blocks.Examples.Interaction1.sim & ./Modelica_3.2.2_Modelica.Blocks.Examples.Interaction1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Blocks.Examples.Interaction1.pipe 2>&1)