Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Blocks.Examples.Interaction1") translateModel(Modelica.Blocks.Examples.Interaction1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.001479/0.001479, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001599/0.001599, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.679/1.679, allocations: 205.4 MB / 222.1 MB, free: 5.676 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.0004856/0.0004856, allocations: 16 kB / 278.8 MB, free: 12.87 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2605/0.261, allocations: 47.58 MB / 326.4 MB, free: 1.406 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Interaction1): time 0.002421/0.2634, allocations: 2.08 MB / 328.5 MB, free: 15.79 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002695/0.2662, allocations: 1.535 MB / 330 MB, free: 14.59 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002997/0.2665, allocations: 8.062 kB / 330 MB, free: 14.59 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001183/0.2677, allocations: 472.6 kB / 330.5 MB, free: 14.34 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007934/0.2685, allocations: 352.3 kB / 330.9 MB, free: 14.12 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001525/0.27, allocations: 0.523 MB / 331.4 MB, free: 13.79 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007467/0.2708, allocations: 467.3 kB / 331.8 MB, free: 13.49 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000189/0.271, allocations: 85.98 kB / 331.9 MB, free: 13.45 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003151/0.2713, allocations: 266.9 kB / 332.2 MB, free: 13.3 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003329/0.2716, allocations: 283.8 kB / 332.5 MB, free: 13.15 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.772e-05/0.2717, allocations: 13.19 kB / 332.5 MB, free: 13.15 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003106/0.272, allocations: 152 kB / 332.6 MB, free: 13.09 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002043/0.2722, allocations: 173.1 kB / 332.8 MB, free: 12.99 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001277/0.2724, allocations: 141.1 kB / 332.9 MB, free: 12.88 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006026/0.273, allocations: 0.6265 MB / 333.6 MB, free: 12.38 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.273, allocations: 0 / 333.6 MB, free: 12.38 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.273, allocations: 3.938 kB / 333.6 MB, free: 12.38 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.215e-06/0.273, allocations: 0 / 333.6 MB, free: 12.38 MB / 270.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.00158/0.2746, allocations: 1.079 MB / 334.6 MB, free: 11.2 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.2747, allocations: 16.02 kB / 334.6 MB, free: 11.18 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001263/0.2748, allocations: 75.06 kB / 334.7 MB, free: 11.11 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008368/0.2756, allocations: 0.5578 MB / 335.3 MB, free: 10.51 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.185e-05/0.2757, allocations: 23.98 kB / 335.3 MB, free: 10.48 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.688e-05/0.2757, allocations: 20 kB / 335.3 MB, free: 10.46 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005794/0.2763, allocations: 346.8 kB / 335.7 MB, free: 10.08 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.2763, allocations: 0 / 335.7 MB, free: 10.08 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.956e-05/0.2764, allocations: 19.98 kB / 335.7 MB, free: 10.06 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.459e-05/0.2764, allocations: 11.94 kB / 335.7 MB, free: 10.05 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003706/0.2768, allocations: 171.8 kB / 335.9 MB, free: 9.883 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001666/0.2785, allocations: 1.341 MB / 337.2 MB, free: 8.469 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006706/0.2792, allocations: 358.8 kB / 337.6 MB, free: 8.082 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.394e-05/0.2792, allocations: 4 kB / 337.6 MB, free: 8.078 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005916/0.2798, allocations: 463.4 kB / 338 MB, free: 7.57 MB / 270.1 MB Notification: Performance of pre-optimization done (n=42): time 1.953e-06/0.2798, allocations: 0 / 338 MB, free: 7.57 MB / 270.1 MB Notification: Performance of matching and sorting (n=42): time 0.001406/0.2812, allocations: 0.9803 MB / 339 MB, free: 6.512 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002208/0.2815, allocations: 452.9 kB / 339.4 MB, free: 5.965 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001127/0.2826, allocations: 0.9262 MB / 340.4 MB, free: 5.031 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 5.34e-05/0.2827, allocations: 49.69 kB / 340.4 MB, free: 4.977 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000263/0.2829, allocations: 308.7 kB / 340.7 MB, free: 4.672 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.516e-05/0.2831, allocations: 106.6 kB / 340.8 MB, free: 4.566 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.165e-05/0.2831, allocations: 8 kB / 340.8 MB, free: 4.559 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.2833, allocations: 330 kB / 341.1 MB, free: 4.23 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002897/0.2836, allocations: 144.9 kB / 341.3 MB, free: 4.086 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004123/0.284, allocations: 358.4 kB / 341.6 MB, free: 3.66 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000374/0.2844, allocations: 253 kB / 341.9 MB, free: 3.395 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.2844, allocations: 4 kB / 341.9 MB, free: 3.391 MB / 270.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001028/0.2854, allocations: 0.6616 MB / 342.5 MB, free: 2.703 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.136e-05/0.2855, allocations: 105.1 kB / 342.6 MB, free: 2.582 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.2855, allocations: 0.8125 kB / 342.6 MB, free: 2.582 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/0.2855, allocations: 8 kB / 342.7 MB, free: 2.574 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002506/0.2858, allocations: 67.84 kB / 342.7 MB, free: 2.508 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.2858, allocations: 4 kB / 342.7 MB, free: 2.504 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003014/0.2861, allocations: 51.66 kB / 342.8 MB, free: 2.453 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.274e-05/0.2862, allocations: 31.98 kB / 342.8 MB, free: 2.422 MB / 270.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],$whenCondition9,$PRE.integerTable.combiTimeTable.nextTimeEvent,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEventScaled,$whenCondition8,$PRE.booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition2,$PRE.start.table.combiTimeTable.nextTimeEvent,start.reset[1],$PRE.stop.on,stop.on,$PRE.start.on,start.on,stop.reset[1],$whenCondition4,$whenCondition5,$PRE.stop.reset[1],$PRE.stop.table.y,stop.table.y,stop.table.combiTimeTable.nextTimeEvent,$PRE.stop.table.combiTimeTable.nextTimeEventScaled,stop.table.combiTimeTable.nextTimeEventScaled,stop.pre_reset[1],$whenCondition6,$whenCondition7,$PRE.start.reset[1],$PRE.start.table.y,start.table.y,start.table.combiTimeTable.nextTimeEvent,$PRE.start.table.combiTimeTable.nextTimeEventScaled,start.table.combiTimeTable.nextTimeEventScaled,start.pre_reset[1],$whenCondition1,timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005013/0.2867, allocations: 398.4 kB / 343.2 MB, free: 2.008 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/0.2868, allocations: 83.06 kB / 343.3 MB, free: 1.926 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001325/0.2869, allocations: 78.2 kB / 343.4 MB, free: 1.84 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.287, allocations: 4 kB / 343.4 MB, free: 1.836 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.287, allocations: 0 / 343.4 MB, free: 1.836 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.287, allocations: 0 / 343.4 MB, free: 1.836 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001199/0.2882, allocations: 0.9659 MB / 344.3 MB, free: 0.8008 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.2882, allocations: 0 / 344.3 MB, free: 0.8008 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.864e-05/0.2883, allocations: 27.92 kB / 344.4 MB, free: 0.7734 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.2883, allocations: 3.938 kB / 344.4 MB, free: 0.7695 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.881e-05/0.2884, allocations: 24.27 kB / 344.4 MB, free: 0.7461 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.2884, allocations: 4 kB / 344.4 MB, free: 0.7422 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.2884, allocations: 4 kB / 344.4 MB, free: 0.7383 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001093/0.2895, allocations: 0.8037 MB / 345.2 MB, free: 15.87 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001784/0.2897, allocations: 172.1 kB / 345.4 MB, free: 15.68 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/0.2898, allocations: 23.98 kB / 345.4 MB, free: 15.66 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002362/0.29, allocations: 27.94 kB / 345.4 MB, free: 15.63 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.75e-05/0.2901, allocations: 39.89 kB / 345.4 MB, free: 15.59 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.831e-05/0.2902, allocations: 23.98 kB / 345.5 MB, free: 15.57 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0007746/0.291, allocations: 0.6708 MB / 346.1 MB, free: 14.9 MB / 286.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.291, allocations: 0 / 346.1 MB, free: 14.9 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005801/0.2916, allocations: 156 kB / 346.3 MB, free: 14.75 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001099/0.2927, allocations: 0.4889 MB / 346.8 MB, free: 14.26 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000911/0.2936, allocations: 0.6113 MB / 347.4 MB, free: 13.61 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.2937, allocations: 0 / 347.4 MB, free: 13.61 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005018/0.2942, allocations: 438 kB / 347.8 MB, free: 13.15 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006908/0.2949, allocations: 147.3 kB / 348 MB, free: 13 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001886/0.2968, allocations: 1.267 MB / 349.2 MB, free: 11.7 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006174/0.2974, allocations: 0.941 MB / 350.2 MB, free: 10.73 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.000296/0.2977, allocations: 113.1 kB / 350.3 MB, free: 10.62 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001297/0.2978, allocations: 59.42 kB / 350.3 MB, free: 10.57 MB / 286.1 MB Notification: Performance of SimCode: time 5.51e-07/0.2979, allocations: 0 / 350.3 MB, free: 10.57 MB / 286.1 MB Notification: Performance of Templates: time 0.01496/0.3128, allocations: 8.497 MB / 358.8 MB, free: 2.055 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Blocks.Examples.Interaction1.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Blocks.Examples.Interaction1.pipe ; mkfifo Modelica_3.1_Modelica.Blocks.Examples.Interaction1.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Blocks.Examples.Interaction1.pipe >> ../files/Modelica_3.1_Modelica.Blocks.Examples.Interaction1.sim & ./Modelica_3.1_Modelica.Blocks.Examples.Interaction1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Blocks.Examples.Interaction1.pipe 2>&1) Environment - environmentSimulation: