Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_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.1_Modelica.Blocks.Examples.Interaction1") translateModel(Modelica.Blocks.Examples.Interaction1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.008024/0.008024, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.001744/0.001744, allocations: 186.3 kB / 16.67 MB, free: 5.977 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.637/1.637, allocations: 205.1 MB / 222.5 MB, free: 4.484 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.001257/0.001257, allocations: 57.61 kB / 326.5 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1291, allocations: 46.62 MB / 373.2 MB, free: 1.336 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Interaction1): time 0.004862/0.134, allocations: 2.51 MB / 375.7 MB, free: 14.8 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003022/0.1371, allocations: 1.7 MB / 377.4 MB, free: 13.09 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000239/0.1373, allocations: 11.94 kB / 377.4 MB, free: 13.08 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001404/0.1388, allocations: 0.5376 MB / 377.9 MB, free: 12.54 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0008009/0.1396, allocations: 422.5 kB / 378.3 MB, free: 12.13 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001762/0.1414, allocations: 0.6198 MB / 378.9 MB, free: 11.51 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009049/0.1423, allocations: 0.7755 MB / 379.7 MB, free: 10.73 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002229/0.1425, allocations: 121.9 kB / 379.8 MB, free: 10.61 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003376/0.1428, allocations: 334.7 kB / 380.2 MB, free: 10.28 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003762/0.1432, allocations: 346.8 kB / 380.5 MB, free: 9.938 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.906e-05/0.1433, allocations: 44 kB / 380.6 MB, free: 9.895 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004293/0.1438, allocations: 235.7 kB / 380.8 MB, free: 9.664 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002162/0.144, allocations: 199.4 kB / 381 MB, free: 9.469 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000377/0.1444, allocations: 310.1 kB / 381.3 MB, free: 9.164 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001058/0.1455, allocations: 0.841 MB / 382.1 MB, free: 8.32 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.1455, allocations: 0 / 382.1 MB, free: 8.32 MB / 318.1 MB Notification: Performance of FrontEnd: time 5.841e-06/0.1455, allocations: 4 kB / 382.1 MB, free: 8.316 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.102e-05/0.1455, allocations: 7.875 kB / 382.1 MB, free: 8.309 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.002001/0.1475, allocations: 1.199 MB / 383.3 MB, free: 7.016 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.1476, allocations: 8.031 kB / 383.3 MB, free: 7.008 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001405/0.1477, allocations: 76 kB / 383.4 MB, free: 6.934 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008169/0.1485, allocations: 0.5858 MB / 384 MB, free: 6.309 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.146e-05/0.1486, allocations: 20.38 kB / 384 MB, free: 6.289 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.683e-05/0.1486, allocations: 24.12 kB / 384 MB, free: 6.266 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006227/0.1493, allocations: 354.8 kB / 384.4 MB, free: 5.875 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.1493, allocations: 0 / 384.4 MB, free: 5.875 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.194e-05/0.1493, allocations: 8 kB / 384.4 MB, free: 5.867 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.661e-05/0.1494, allocations: 12 kB / 384.4 MB, free: 5.855 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003667/0.1497, allocations: 183.8 kB / 384.6 MB, free: 5.676 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001605/0.1513, allocations: 1.337 MB / 385.9 MB, free: 4.266 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007831/0.1521, allocations: 354.7 kB / 386.3 MB, free: 3.883 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003642/0.1525, allocations: 175.4 kB / 386.4 MB, free: 3.699 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.142e-05/0.1526, allocations: 4 kB / 386.4 MB, free: 3.695 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008323/0.1534, allocations: 459 kB / 386.9 MB, free: 3.191 MB / 318.1 MB Notification: Performance of pre-optimization done (n=42): time 2.205e-06/0.1534, allocations: 0 / 386.9 MB, free: 3.191 MB / 318.1 MB Notification: Performance of matching and sorting (n=42): time 0.00161/0.1551, allocations: 0.7437 MB / 387.6 MB, free: 2.422 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002956/0.1554, allocations: 460.9 kB / 388.1 MB, free: 1.867 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001108/0.1565, allocations: 0.9301 MB / 389 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.496e-05/0.1565, allocations: 41.7 kB / 389.1 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002648/0.1568, allocations: 316.7 kB / 389.4 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.676e-05/0.1569, allocations: 106.6 kB / 389.5 MB, free: 476 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001381/0.1571, allocations: 94.11 kB / 389.6 MB, free: 376 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.1572, allocations: 326 kB / 389.9 MB, free: 44 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003044/0.1575, allocations: 149 kB / 390 MB, free: 15.89 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004255/0.1579, allocations: 358.4 kB / 390.4 MB, free: 15.46 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001165/0.1591, allocations: 0.7912 MB / 391.2 MB, free: 14.57 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.1591, allocations: 0 / 391.2 MB, free: 14.57 MB / 334.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001128/0.1603, allocations: 0.6697 MB / 391.8 MB, free: 13.87 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.987e-05/0.1604, allocations: 101 kB / 391.9 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/0.1604, allocations: 4 kB / 391.9 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.165e-05/0.1604, allocations: 8 kB / 392 MB, free: 13.74 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002812/0.1607, allocations: 67.83 kB / 392 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.773e-05/0.1607, allocations: 8.281 kB / 392 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002928/0.161, allocations: 51.58 kB / 392.1 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.233e-05/0.1611, allocations: 20 kB / 392.1 MB, free: 13.6 MB / 334.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.000521/0.1616, allocations: 402.8 kB / 392.5 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00013/0.1618, allocations: 90.98 kB / 392.6 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001387/0.1619, allocations: 70.22 kB / 392.6 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/0.1619, allocations: 4 kB / 392.6 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/0.1619, allocations: 0 / 392.6 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.198e-06/0.162, allocations: 4.047 kB / 392.7 MB, free: 13.01 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001302/0.1633, allocations: 0.9698 MB / 393.6 MB, free: 11.97 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.1633, allocations: 0 / 393.6 MB, free: 11.97 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.143e-05/0.1634, allocations: 20 kB / 393.6 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.326e-06/0.1634, allocations: 8 kB / 393.7 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.13e-05/0.1634, allocations: 19.92 kB / 393.7 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.1634, allocations: 4 kB / 393.7 MB, free: 11.92 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.1635, allocations: 240 / 393.7 MB, free: 11.92 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00124/0.1647, allocations: 0.7713 MB / 394.4 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001752/0.1649, allocations: 148.2 kB / 394.6 MB, free: 10.94 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001163/0.165, allocations: 28.11 kB / 394.6 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002272/0.1653, allocations: 23.98 kB / 394.6 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001409/0.1654, allocations: 43.89 kB / 394.7 MB, free: 10.85 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-05/0.1655, allocations: 16 kB / 394.7 MB, free: 10.83 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008733/0.1663, allocations: 0.6708 MB / 395.4 MB, free: 10.16 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1663, allocations: 0 / 395.4 MB, free: 10.16 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006441/0.167, allocations: 159.8 kB / 395.5 MB, free: 10 MB / 334.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.001215/0.1682, allocations: 0.4952 MB / 396 MB, free: 9.492 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009986/0.1692, allocations: 0.6272 MB / 396.6 MB, free: 8.828 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.1692, allocations: 0 / 396.6 MB, free: 8.828 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005321/0.1698, allocations: 438.2 kB / 397.1 MB, free: 8.363 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008561/0.1706, allocations: 175.6 kB / 397.2 MB, free: 8.191 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001848/0.1725, allocations: 1.162 MB / 398.4 MB, free: 6.988 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000583/0.1731, allocations: 0.9291 MB / 399.3 MB, free: 6.031 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002676/0.1734, allocations: 109.1 kB / 399.4 MB, free: 5.922 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000127/0.1735, allocations: 67.36 kB / 399.5 MB, free: 5.855 MB / 334.1 MB Notification: Performance of SimCode: time 9.82e-07/0.1735, allocations: 0 / 399.5 MB, free: 5.855 MB / 334.1 MB Notification: Performance of Templates: time 0.01821/0.1917, allocations: 9.628 MB / 409.1 MB, free: 12.21 MB / 350.1 MB make -j1 -f Modelica_3.2.1_Modelica.Blocks.Examples.Interaction1.makefile (rm -f Modelica_3.2.1_Modelica.Blocks.Examples.Interaction1.pipe ; mkfifo Modelica_3.2.1_Modelica.Blocks.Examples.Interaction1.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Blocks.Examples.Interaction1.pipe >> ../files/Modelica_3.2.1_Modelica.Blocks.Examples.Interaction1.sim & ./Modelica_3.2.1_Modelica.Blocks.Examples.Interaction1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Blocks.Examples.Interaction1.pipe 2>&1)