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.005848/0.005854, allocations: 103.9 kB / 15.73 MB, free: 6.473 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.001157/0.001157, allocations: 196.9 kB / 16.67 MB, free: 6.379 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.541/1.541, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.00131/0.00131, allocations: 55.23 kB / 326.5 MB, free: 14.28 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1331, allocations: 46.62 MB / 373.2 MB, free: 1.355 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Interaction1): time 0.004239/0.1374, allocations: 2.51 MB / 375.7 MB, free: 14.82 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003073/0.1405, allocations: 1.7 MB / 377.4 MB, free: 13.11 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002314/0.1408, allocations: 7.938 kB / 377.4 MB, free: 13.11 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001249/0.142, allocations: 0.5493 MB / 377.9 MB, free: 12.55 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.0007812/0.1428, allocations: 418.5 kB / 378.3 MB, free: 12.14 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001681/0.1445, allocations: 0.6275 MB / 379 MB, free: 11.52 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00092/0.1455, allocations: 0.7793 MB / 379.7 MB, free: 10.73 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002328/0.1457, allocations: 121.8 kB / 379.9 MB, free: 10.61 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003475/0.1461, allocations: 322.8 kB / 380.2 MB, free: 10.29 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003912/0.1465, allocations: 350.7 kB / 380.5 MB, free: 9.949 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.473e-05/0.1465, allocations: 40 kB / 380.6 MB, free: 9.91 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004206/0.147, allocations: 231.7 kB / 380.8 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002254/0.1472, allocations: 203.3 kB / 381 MB, free: 9.484 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002947/0.1475, allocations: 314.1 kB / 381.3 MB, free: 9.176 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009517/0.1485, allocations: 0.8527 MB / 382.1 MB, free: 8.32 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.1485, allocations: 3.938 kB / 382.1 MB, free: 8.316 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1485, allocations: 0 / 382.1 MB, free: 8.316 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.493e-05/0.1485, allocations: 0 / 382.1 MB, free: 8.316 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.001818/0.1503, allocations: 1.183 MB / 383.3 MB, free: 7.039 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/0.1504, allocations: 12.03 kB / 383.3 MB, free: 7.027 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001456/0.1506, allocations: 83.94 kB / 383.4 MB, free: 6.945 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008508/0.1514, allocations: 0.582 MB / 384 MB, free: 6.324 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.51e-05/0.1515, allocations: 20.36 kB / 384 MB, free: 6.305 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.089e-05/0.1515, allocations: 28.12 kB / 384 MB, free: 6.277 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006308/0.1522, allocations: 354.8 kB / 384.4 MB, free: 5.887 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.1522, allocations: 3.938 kB / 384.4 MB, free: 5.883 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.573e-05/0.1522, allocations: 8 kB / 384.4 MB, free: 5.875 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.834e-05/0.1523, allocations: 11.98 kB / 384.4 MB, free: 5.863 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000377/0.1526, allocations: 171.8 kB / 384.6 MB, free: 5.695 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001718/0.1544, allocations: 1.34 MB / 385.9 MB, free: 4.281 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007203/0.1551, allocations: 358.7 kB / 386.3 MB, free: 3.895 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003054/0.1554, allocations: 171.4 kB / 386.4 MB, free: 3.715 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.424e-05/0.1555, allocations: 8 kB / 386.4 MB, free: 3.707 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006674/0.1561, allocations: 455.1 kB / 386.9 MB, free: 3.207 MB / 318.1 MB Notification: Performance of pre-optimization done (n=42): time 1.683e-06/0.1562, allocations: 0 / 386.9 MB, free: 3.207 MB / 318.1 MB Notification: Performance of matching and sorting (n=42): time 0.001307/0.1575, allocations: 0.7397 MB / 387.6 MB, free: 2.441 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002311/0.1577, allocations: 456.9 kB / 388.1 MB, free: 1.891 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001106/0.1588, allocations: 0.9378 MB / 389 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.056e-05/0.1589, allocations: 49.69 kB / 389.1 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000257/0.1592, allocations: 296.8 kB / 389.4 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001013/0.1593, allocations: 114.6 kB / 389.5 MB, free: 496 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001415/0.1594, allocations: 98.11 kB / 389.6 MB, free: 392 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.1596, allocations: 322 kB / 389.9 MB, free: 64 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003081/0.1599, allocations: 149 kB / 390 MB, free: 15.91 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004729/0.1604, allocations: 358.3 kB / 390.4 MB, free: 15.49 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001284/0.1617, allocations: 0.7952 MB / 391.2 MB, free: 14.58 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.732e-06/0.1617, allocations: 4 kB / 391.2 MB, free: 14.58 MB / 334.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001103/0.1628, allocations: 0.6697 MB / 391.8 MB, free: 13.88 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.773e-05/0.1629, allocations: 105 kB / 391.9 MB, free: 13.76 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.1629, allocations: 4 kB / 391.9 MB, free: 13.76 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.32e-05/0.1629, allocations: 4 kB / 392 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002611/0.1632, allocations: 63.84 kB / 392 MB, free: 13.69 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.982e-05/0.1632, allocations: 4 kB / 392 MB, free: 13.69 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003146/0.1636, allocations: 55.86 kB / 392.1 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.504e-05/0.1636, allocations: 27.98 kB / 392.1 MB, free: 13.61 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.0005386/0.1642, allocations: 390.7 kB / 392.5 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.1643, allocations: 83 kB / 392.6 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001178/0.1644, allocations: 78.2 kB / 392.6 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.1644, allocations: 8 kB / 392.6 MB, free: 13.03 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.428e-05/0.1644, allocations: 4.188 kB / 392.7 MB, free: 13.03 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.1644, allocations: 64 / 392.7 MB, free: 13.03 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001159/0.1656, allocations: 0.9697 MB / 393.6 MB, free: 11.99 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1656, allocations: 0 / 393.6 MB, free: 11.99 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.164e-05/0.1657, allocations: 23.98 kB / 393.6 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.1657, allocations: 0 / 393.6 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.797e-05/0.1658, allocations: 23.92 kB / 393.7 MB, free: 11.94 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.1658, allocations: 7.938 kB / 393.7 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.1658, allocations: 4 kB / 393.7 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001035/0.1668, allocations: 0.7598 MB / 394.4 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001579/0.167, allocations: 156.2 kB / 394.6 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/0.1671, allocations: 31.92 kB / 394.6 MB, free: 10.92 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002328/0.1674, allocations: 23.98 kB / 394.6 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.1675, allocations: 31.95 kB / 394.7 MB, free: 10.87 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.768e-05/0.1675, allocations: 31.91 kB / 394.7 MB, free: 10.84 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008048/0.1683, allocations: 0.6669 MB / 395.4 MB, free: 10.17 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1684, allocations: 0 / 395.4 MB, free: 10.17 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006318/0.169, allocations: 155.8 kB / 395.5 MB, free: 10.02 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.001189/0.1702, allocations: 0.4954 MB / 396 MB, free: 9.504 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009941/0.1712, allocations: 0.6154 MB / 396.6 MB, free: 8.852 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.1712, allocations: 4.125 kB / 396.6 MB, free: 8.848 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005237/0.1717, allocations: 438 kB / 397.1 MB, free: 8.383 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008844/0.1726, allocations: 176.3 kB / 397.2 MB, free: 8.211 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001933/0.1746, allocations: 1.173 MB / 398.4 MB, free: 6.996 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005694/0.1752, allocations: 0.9291 MB / 399.3 MB, free: 6.039 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002949/0.1755, allocations: 108.8 kB / 399.5 MB, free: 5.93 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001342/0.1756, allocations: 55.42 kB / 399.5 MB, free: 5.875 MB / 334.1 MB Notification: Performance of SimCode: time 1.443e-06/0.1756, allocations: 4 kB / 399.5 MB, free: 5.871 MB / 334.1 MB Notification: Performance of Templates: time 0.01832/0.194, allocations: 9.394 MB / 408.9 MB, free: 12.46 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)