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.001083/0.001083, allocations: 111.9 kB / 17.06 MB, free: 6.004 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.001062/0.001062, allocations: 198.9 kB / 18 MB, free: 5.082 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.9 MB, free: 12.24 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.002071/0.002071, allocations: 51.92 kB / 327.9 MB, free: 3.316 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1525, allocations: 46.62 MB / 374.5 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Interaction1): time 0.005818/0.1584, allocations: 2.517 MB / 377 MB, free: 2.055 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003777/0.1622, allocations: 1.7 MB / 378.7 MB, free: 352 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006181/0.1629, allocations: 11.88 kB / 378.7 MB, free: 340 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.3452/0.5081, allocations: 0.5232 MB / 379.2 MB, free: 9.809 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.001516/0.5097, allocations: 431.5 kB / 379.6 MB, free: 9.805 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00213/0.5118, allocations: 0.6177 MB / 380.3 MB, free: 9.793 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001375/0.5132, allocations: 0.794 MB / 381.1 MB, free: 9.789 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003447/0.5136, allocations: 100.6 kB / 381.2 MB, free: 9.77 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007515/0.5143, allocations: 332.4 kB / 381.5 MB, free: 9.727 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006866/0.515, allocations: 356.7 kB / 381.8 MB, free: 9.668 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001223/0.5151, allocations: 40.56 kB / 381.9 MB, free: 9.668 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006694/0.5158, allocations: 226.3 kB / 382.1 MB, free: 9.668 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003856/0.5162, allocations: 209.4 kB / 382.3 MB, free: 9.641 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003737/0.5166, allocations: 300.8 kB / 382.6 MB, free: 9.535 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001613/0.5182, allocations: 0.8532 MB / 383.4 MB, free: 9.41 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.608e-06/0.5183, allocations: 2.156 kB / 383.4 MB, free: 9.41 MB / 318.1 MB Notification: Performance of FrontEnd: time 5.511e-06/0.5183, allocations: 1.719 kB / 383.4 MB, free: 9.41 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.217e-05/0.5183, allocations: 3.375 kB / 383.4 MB, free: 9.41 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.002268/0.5206, allocations: 1.199 MB / 384.6 MB, free: 8.523 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.915e-05/0.5206, allocations: 10.16 kB / 384.7 MB, free: 8.523 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001957/0.5208, allocations: 82.25 kB / 384.7 MB, free: 8.484 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001121/0.522, allocations: 0.5858 MB / 385.3 MB, free: 8.164 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.557e-05/0.522, allocations: 19.44 kB / 385.3 MB, free: 8.156 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.217e-05/0.5221, allocations: 24.58 kB / 385.4 MB, free: 8.152 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009304/0.523, allocations: 355.7 kB / 385.7 MB, free: 7.945 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.137e-05/0.5231, allocations: 0 / 385.7 MB, free: 7.945 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.962e-05/0.5231, allocations: 13.36 kB / 385.7 MB, free: 7.941 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-05/0.5232, allocations: 8.422 kB / 385.7 MB, free: 7.941 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004907/0.5237, allocations: 180.3 kB / 385.9 MB, free: 7.891 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002162/0.5259, allocations: 1.333 MB / 387.2 MB, free: 6.895 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009352/0.5268, allocations: 356.4 kB / 387.6 MB, free: 6.707 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004478/0.5273, allocations: 170.6 kB / 387.8 MB, free: 6.629 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.368e-05/0.5273, allocations: 9.844 kB / 387.8 MB, free: 6.625 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008587/0.5282, allocations: 463.8 kB / 388.2 MB, free: 6.312 MB / 318.1 MB Notification: Performance of pre-optimization done (n=42): time 2.234e-06/0.5282, allocations: 0 / 388.2 MB, free: 6.312 MB / 318.1 MB Notification: Performance of matching and sorting (n=42): time 0.001887/0.5301, allocations: 0.7443 MB / 389 MB, free: 5.988 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002518/0.5304, allocations: 465.4 kB / 389.4 MB, free: 5.449 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001694/0.5321, allocations: 0.9256 MB / 390.3 MB, free: 5.098 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.057e-05/0.5322, allocations: 46.48 kB / 390.4 MB, free: 5.059 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003226/0.5325, allocations: 307.5 kB / 390.7 MB, free: 4.812 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001346/0.5327, allocations: 106.8 kB / 390.8 MB, free: 4.742 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002109/0.5329, allocations: 96.12 kB / 390.9 MB, free: 4.695 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.533, allocations: 329.3 kB / 391.2 MB, free: 4.379 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003822/0.5334, allocations: 147.3 kB / 391.4 MB, free: 4.336 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006379/0.5341, allocations: 353.1 kB / 391.7 MB, free: 4.066 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001393/0.5355, allocations: 0.7941 MB / 392.5 MB, free: 3.457 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.5355, allocations: 1.062 kB / 392.5 MB, free: 3.457 MB / 318.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001407/0.5369, allocations: 0.6722 MB / 393.2 MB, free: 3.125 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001249/0.5371, allocations: 96.69 kB / 393.3 MB, free: 3.027 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.762e-05/0.5371, allocations: 9.188 kB / 393.3 MB, free: 3.023 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.273e-05/0.5371, allocations: 10.03 kB / 393.3 MB, free: 3.02 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002989/0.5374, allocations: 66.64 kB / 393.3 MB, free: 3.008 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.668e-05/0.5375, allocations: 6.719 kB / 393.3 MB, free: 3.008 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003343/0.5378, allocations: 49 kB / 393.4 MB, free: 2.984 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.647e-05/0.5378, allocations: 21.48 kB / 393.4 MB, free: 2.98 MB / 318.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.000579/0.5384, allocations: 401.5 kB / 393.8 MB, free: 2.691 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001339/0.5386, allocations: 84.72 kB / 393.9 MB, free: 2.648 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001401/0.5387, allocations: 75.61 kB / 394 MB, free: 2.613 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.5387, allocations: 4.938 kB / 394 MB, free: 2.613 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/0.5388, allocations: 4.938 kB / 394 MB, free: 2.609 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.5388, allocations: 3.312 kB / 394 MB, free: 2.609 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001545/0.5403, allocations: 0.9624 MB / 394.9 MB, free: 2.031 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.5403, allocations: 4 kB / 394.9 MB, free: 2.027 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001086/0.5405, allocations: 25.47 kB / 395 MB, free: 2.023 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-06/0.5405, allocations: 2.281 kB / 395 MB, free: 2.023 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.111e-05/0.5405, allocations: 20.89 kB / 395 MB, free: 2.016 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.445e-06/0.5405, allocations: 6.156 kB / 395 MB, free: 2.012 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.5405, allocations: 1.5 kB / 395 MB, free: 2.012 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00128/0.5418, allocations: 0.7634 MB / 395.8 MB, free: 1.586 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001749/0.542, allocations: 154.8 kB / 395.9 MB, free: 1.441 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001286/0.5422, allocations: 23.17 kB / 395.9 MB, free: 1.434 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002537/0.5424, allocations: 28.27 kB / 396 MB, free: 1.426 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001583/0.5426, allocations: 41.19 kB / 396 MB, free: 1.41 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-05/0.5427, allocations: 22.39 kB / 396 MB, free: 1.406 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001132/0.5438, allocations: 0.6753 MB / 396.7 MB, free: 1.137 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5438, allocations: 0 / 396.7 MB, free: 1.137 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008639/0.5447, allocations: 157 kB / 396.9 MB, free: 1.109 MB / 318.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.001328/0.546, allocations: 0.4904 MB / 397.3 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001231/0.5473, allocations: 0.6065 MB / 398 MB, free: 424 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.5473, allocations: 1.375 kB / 398 MB, free: 424 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006731/0.548, allocations: 437.6 kB / 398.4 MB, free: 128 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001151/0.5491, allocations: 196.1 kB / 398.6 MB, free: 40 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002797/0.5519, allocations: 1.163 MB / 399.7 MB, free: 15.46 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009538/0.5529, allocations: 0.933 MB / 400.7 MB, free: 14.73 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004843/0.5534, allocations: 106.5 kB / 400.8 MB, free: 14.71 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001728/0.5536, allocations: 57.53 kB / 400.8 MB, free: 14.7 MB / 334.1 MB Notification: Performance of SimCode: time 1.132e-06/0.5536, allocations: 0 / 400.8 MB, free: 14.7 MB / 334.1 MB Notification: Performance of Templates: time 0.02639/0.58, allocations: 9.625 MB / 410.5 MB, free: 10.09 MB / 334.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)