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.001343/0.001343, allocations: 101.2 kB / 16.5 MB, free: 6.645 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.001636/0.001636, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.666/1.666, allocations: 205.1 MB / 223.3 MB, free: 12.38 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.001194/0.001194, allocations: 51.92 kB / 279.3 MB, free: 3.59 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1206, allocations: 46.63 MB / 325.9 MB, free: 4.895 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Interaction1): time 0.004567/0.1252, allocations: 2.551 MB / 328.5 MB, free: 2.32 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003498/0.1288, allocations: 1.716 MB / 330.2 MB, free: 0.5938 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002295/0.129, allocations: 7.938 kB / 330.2 MB, free: 0.5859 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001394/0.1305, allocations: 0.4988 MB / 330.7 MB, free: 88 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00077/0.1312, allocations: 398.8 kB / 331.1 MB, free: 15.7 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001551/0.1328, allocations: 0.5811 MB / 331.7 MB, free: 15.11 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008224/0.1336, allocations: 0.7636 MB / 332.5 MB, free: 14.35 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002149/0.1339, allocations: 97.75 kB / 332.6 MB, free: 14.25 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003498/0.1342, allocations: 274.8 kB / 332.8 MB, free: 13.98 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004679/0.1347, allocations: 346.6 kB / 333.2 MB, free: 13.64 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.975e-05/0.1348, allocations: 16 kB / 333.2 MB, free: 13.63 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004311/0.1352, allocations: 183.7 kB / 333.4 MB, free: 13.45 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002403/0.1355, allocations: 191.4 kB / 333.5 MB, free: 13.26 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003033/0.1358, allocations: 282.1 kB / 333.8 MB, free: 12.98 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008468/0.1366, allocations: 0.8139 MB / 334.6 MB, free: 12.17 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.1366, allocations: 4 kB / 334.6 MB, free: 12.16 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1367, allocations: 0 / 334.6 MB, free: 12.16 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.1367, allocations: 4 kB / 334.6 MB, free: 12.16 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.001947/0.1386, allocations: 1.195 MB / 335.8 MB, free: 10.87 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.1387, allocations: 8.031 kB / 335.8 MB, free: 10.86 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001523/0.1389, allocations: 79.94 kB / 335.9 MB, free: 10.78 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007658/0.1396, allocations: 0.5742 MB / 336.5 MB, free: 10.16 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.204e-05/0.1397, allocations: 24.36 kB / 336.5 MB, free: 10.14 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.001e-05/0.1397, allocations: 24.12 kB / 336.5 MB, free: 10.12 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006231/0.1403, allocations: 350.8 kB / 336.9 MB, free: 9.727 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.1404, allocations: 11.94 kB / 336.9 MB, free: 9.715 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.335e-05/0.1404, allocations: 8 kB / 336.9 MB, free: 9.707 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.447e-05/0.1404, allocations: 11.89 kB / 336.9 MB, free: 9.695 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003799/0.1408, allocations: 179.8 kB / 337.1 MB, free: 9.52 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00149/0.1423, allocations: 1.341 MB / 338.4 MB, free: 8.105 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006673/0.143, allocations: 354.7 kB / 338.8 MB, free: 7.723 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00029/0.1433, allocations: 171.4 kB / 338.9 MB, free: 7.543 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.459e-05/0.1433, allocations: 12 kB / 339 MB, free: 7.531 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005888/0.1439, allocations: 455.1 kB / 339.4 MB, free: 7.031 MB / 286.1 MB Notification: Performance of pre-optimization done (n=42): time 1.633e-06/0.144, allocations: 4 kB / 339.4 MB, free: 7.027 MB / 286.1 MB Notification: Performance of matching and sorting (n=42): time 0.001365/0.1453, allocations: 0.7437 MB / 340.1 MB, free: 6.258 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002156/0.1456, allocations: 452.9 kB / 340.6 MB, free: 5.711 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001086/0.1467, allocations: 0.9301 MB / 341.5 MB, free: 4.773 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.818e-05/0.1467, allocations: 45.69 kB / 341.6 MB, free: 4.723 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000261/0.147, allocations: 304.8 kB / 341.9 MB, free: 4.422 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.788e-05/0.1471, allocations: 110.5 kB / 342 MB, free: 4.312 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001629/0.1473, allocations: 98.11 kB / 342.1 MB, free: 4.211 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.1474, allocations: 326 kB / 342.4 MB, free: 3.887 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003048/0.1477, allocations: 156.8 kB / 342.5 MB, free: 3.73 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004307/0.1482, allocations: 346.4 kB / 342.9 MB, free: 3.316 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001151/0.1493, allocations: 0.7996 MB / 343.7 MB, free: 2.406 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.1493, allocations: 0 / 343.7 MB, free: 2.406 MB / 286.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.00108/0.1504, allocations: 0.6653 MB / 344.3 MB, free: 1.715 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.64e-05/0.1505, allocations: 105 kB / 344.4 MB, free: 1.594 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.1505, allocations: 4 kB / 344.4 MB, free: 1.59 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.1505, allocations: 4 kB / 344.5 MB, free: 1.586 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002469/0.1508, allocations: 71.78 kB / 344.5 MB, free: 1.516 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.355e-05/0.1508, allocations: 4 kB / 344.5 MB, free: 1.512 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002748/0.1511, allocations: 51.95 kB / 344.6 MB, free: 1.461 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.803e-05/0.1511, allocations: 23.98 kB / 344.6 MB, free: 1.438 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.0004833/0.1516, allocations: 394.9 kB / 345 MB, free: 1.027 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001254/0.1518, allocations: 83 kB / 345.1 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001378/0.1519, allocations: 78.2 kB / 345.1 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.1519, allocations: 4 kB / 345.1 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/0.1519, allocations: 4 kB / 345.1 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.152, allocations: 4 kB / 345.2 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001166/0.1531, allocations: 0.9581 MB / 346.1 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.1531, allocations: 0 / 346.1 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.578e-05/0.1532, allocations: 27.98 kB / 346.1 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.1533, allocations: 3.938 kB / 346.1 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.88e-05/0.1533, allocations: 20.11 kB / 346.2 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.1533, allocations: 8 kB / 346.2 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.1533, allocations: 3.938 kB / 346.2 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/0.1544, allocations: 0.7712 MB / 346.9 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001248/0.1545, allocations: 148.1 kB / 347.1 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001179/0.1546, allocations: 35.92 kB / 347.1 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002349/0.1549, allocations: 19.98 kB / 347.1 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/0.155, allocations: 39.89 kB / 347.2 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-05/0.155, allocations: 24.12 kB / 347.2 MB, free: 14.66 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007868/0.1558, allocations: 0.6708 MB / 347.9 MB, free: 13.99 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.1559, allocations: 0 / 347.9 MB, free: 13.99 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005851/0.1564, allocations: 148 kB / 348 MB, free: 13.84 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.001143/0.1576, allocations: 0.5011 MB / 348.5 MB, free: 13.35 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009629/0.1586, allocations: 0.6117 MB / 349.1 MB, free: 12.7 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.1586, allocations: 4.188 kB / 349.1 MB, free: 12.7 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005182/0.1591, allocations: 434 kB / 349.6 MB, free: 12.24 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008298/0.1599, allocations: 171.2 kB / 349.7 MB, free: 12.07 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001858/0.1618, allocations: 1.347 MB / 351.1 MB, free: 10.69 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006395/0.1625, allocations: 0.9293 MB / 352 MB, free: 9.73 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003123/0.1628, allocations: 100.8 kB / 352.1 MB, free: 9.633 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001269/0.1629, allocations: 51.42 kB / 352.2 MB, free: 9.582 MB / 302.1 MB Notification: Performance of SimCode: time 8.02e-07/0.1629, allocations: 0 / 352.2 MB, free: 9.582 MB / 302.1 MB Notification: Performance of Templates: time 0.01916/0.1821, allocations: 8.868 MB / 361 MB, free: 0.6992 MB / 302.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)