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.001266/0.001266, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001869/0.001869, allocations: 195.1 kB / 16.14 MB, free: 6.707 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.452/1.452, allocations: 205.1 MB / 222 MB, free: 4.773 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.001303/0.001303, allocations: 51.92 kB / 278 MB, free: 12.79 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2925/0.2938, allocations: 46.63 MB / 324.7 MB, free: 1.926 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Interaction1): time 0.003728/0.2976, allocations: 2.563 MB / 327.2 MB, free: 15.91 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002735/0.3004, allocations: 1.713 MB / 328.9 MB, free: 14.57 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001783/0.3006, allocations: 6.812 kB / 328.9 MB, free: 14.57 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001128/0.3017, allocations: 0.5024 MB / 329.4 MB, free: 14.3 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006957/0.3024, allocations: 398.2 kB / 329.8 MB, free: 14.05 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0015/0.3039, allocations: 0.5627 MB / 330.4 MB, free: 13.68 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008406/0.3048, allocations: 0.7727 MB / 331.2 MB, free: 13.24 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002229/0.305, allocations: 96.12 kB / 331.3 MB, free: 13.19 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003669/0.3054, allocations: 281.7 kB / 331.5 MB, free: 13.04 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004278/0.3058, allocations: 345.4 kB / 331.9 MB, free: 12.86 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.274e-05/0.3059, allocations: 19.92 kB / 331.9 MB, free: 12.86 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003717/0.3063, allocations: 177.7 kB / 332.1 MB, free: 12.74 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002091/0.3065, allocations: 195.3 kB / 332.3 MB, free: 12.55 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002622/0.3068, allocations: 278.1 kB / 332.5 MB, free: 12.28 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007909/0.3076, allocations: 0.8073 MB / 333.3 MB, free: 11.47 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3076, allocations: 0 / 333.3 MB, free: 11.47 MB / 270.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.3076, allocations: 0 / 333.3 MB, free: 11.47 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.3076, allocations: 0 / 333.3 MB, free: 11.47 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.001783/0.3094, allocations: 1.203 MB / 334.5 MB, free: 10.16 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.3094, allocations: 12.03 kB / 334.6 MB, free: 10.15 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00014/0.3096, allocations: 79.98 kB / 334.6 MB, free: 10.07 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007403/0.3103, allocations: 0.5742 MB / 335.2 MB, free: 9.457 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.566e-05/0.3104, allocations: 24.36 kB / 335.2 MB, free: 9.434 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.659e-05/0.3104, allocations: 24.12 kB / 335.3 MB, free: 9.41 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006052/0.311, allocations: 350.8 kB / 335.6 MB, free: 9.023 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.3111, allocations: 3.938 kB / 335.6 MB, free: 9.02 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.224e-05/0.3111, allocations: 8 kB / 335.6 MB, free: 9.012 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.136e-05/0.3111, allocations: 15.98 kB / 335.6 MB, free: 8.996 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004107/0.3116, allocations: 179.8 kB / 335.8 MB, free: 8.82 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00161/0.3132, allocations: 1.337 MB / 337.1 MB, free: 7.41 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006898/0.3139, allocations: 358.7 kB / 337.5 MB, free: 7.023 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003128/0.3142, allocations: 175.4 kB / 337.7 MB, free: 6.84 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.678e-05/0.3142, allocations: 4 kB / 337.7 MB, free: 6.836 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006459/0.3149, allocations: 475 kB / 338.1 MB, free: 6.316 MB / 270.1 MB Notification: Performance of pre-optimization done (n=42): time 3.657e-06/0.3149, allocations: 3.984 kB / 338.1 MB, free: 6.312 MB / 270.1 MB Notification: Performance of matching and sorting (n=42): time 0.00135/0.3163, allocations: 0.7398 MB / 338.9 MB, free: 5.547 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001881/0.3165, allocations: 460.9 kB / 339.3 MB, free: 4.992 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001043/0.3175, allocations: 0.9301 MB / 340.3 MB, free: 4.055 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 5.042e-05/0.3176, allocations: 45.69 kB / 340.3 MB, free: 4.004 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002372/0.3178, allocations: 304.8 kB / 340.6 MB, free: 3.703 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.244e-05/0.3179, allocations: 102.7 kB / 340.7 MB, free: 3.602 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000151/0.3181, allocations: 102 kB / 340.8 MB, free: 3.496 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.3182, allocations: 326 kB / 341.1 MB, free: 3.172 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003045/0.3185, allocations: 152.9 kB / 341.3 MB, free: 3.02 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004368/0.319, allocations: 350.4 kB / 341.6 MB, free: 2.602 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001168/0.3201, allocations: 0.7873 MB / 342.4 MB, free: 1.703 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.3202, allocations: 4.5 kB / 342.4 MB, free: 1.699 MB / 270.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001035/0.3212, allocations: 0.6735 MB / 343.1 MB, free: 1 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.668e-05/0.3213, allocations: 105 kB / 343.2 MB, free: 0.8789 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.208e-06/0.3213, allocations: 0 / 343.2 MB, free: 0.8789 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.238e-05/0.3213, allocations: 11.94 kB / 343.2 MB, free: 0.8672 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000253/0.3216, allocations: 67.84 kB / 343.2 MB, free: 0.8008 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.961e-05/0.3216, allocations: 4 kB / 343.3 MB, free: 0.7969 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002842/0.3219, allocations: 43.67 kB / 343.3 MB, free: 0.7539 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.196e-05/0.322, allocations: 27.98 kB / 343.3 MB, free: 0.7266 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],$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.0004995/0.3225, allocations: 390.7 kB / 343.7 MB, free: 328 kB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001314/0.3226, allocations: 87 kB / 343.8 MB, free: 240 kB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001505/0.3228, allocations: 78.33 kB / 343.9 MB, free: 152 kB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.3228, allocations: 4.188 kB / 343.9 MB, free: 148 kB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.526e-05/0.3228, allocations: 4 kB / 343.9 MB, free: 144 kB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.3228, allocations: 3.984 kB / 343.9 MB, free: 140 kB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001293/0.3241, allocations: 0.962 MB / 344.8 MB, free: 15.11 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.3241, allocations: 4 kB / 344.8 MB, free: 15.1 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.57e-05/0.3242, allocations: 19.98 kB / 344.9 MB, free: 15.08 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.244e-06/0.3243, allocations: 4 kB / 344.9 MB, free: 15.08 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.316e-05/0.3243, allocations: 27.86 kB / 344.9 MB, free: 15.05 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.3243, allocations: 4 kB / 344.9 MB, free: 15.05 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.3243, allocations: 0 / 344.9 MB, free: 15.05 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001141/0.3255, allocations: 0.7634 MB / 345.7 MB, free: 14.24 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001688/0.3257, allocations: 152.2 kB / 345.8 MB, free: 14.07 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001477/0.3258, allocations: 31.86 kB / 345.8 MB, free: 14.04 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002797/0.3261, allocations: 27.98 kB / 345.9 MB, free: 14.01 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/0.3262, allocations: 39.89 kB / 345.9 MB, free: 13.97 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.281e-05/0.3263, allocations: 19.98 kB / 345.9 MB, free: 13.95 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0008901/0.3272, allocations: 0.6747 MB / 346.6 MB, free: 13.28 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3272, allocations: 0 / 346.6 MB, free: 13.28 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006811/0.3279, allocations: 151.8 kB / 346.8 MB, free: 13.13 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 (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.00124/0.3291, allocations: 0.49 MB / 347.2 MB, free: 12.64 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001012/0.3302, allocations: 0.6075 MB / 347.8 MB, free: 12 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.3302, allocations: 0 / 347.8 MB, free: 12 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004989/0.3307, allocations: 438.9 kB / 348.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008384/0.3315, allocations: 175.2 kB / 348.4 MB, free: 11.36 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001996/0.3335, allocations: 1.339 MB / 349.8 MB, free: 9.984 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005376/0.3341, allocations: 0.9254 MB / 350.7 MB, free: 9.031 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0003135/0.3344, allocations: 108.8 kB / 350.8 MB, free: 8.926 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001267/0.3345, allocations: 55.42 kB / 350.9 MB, free: 8.871 MB / 286.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3345, allocations: 0 / 350.9 MB, free: 8.871 MB / 286.1 MB Notification: Performance of Templates: time 0.01789/0.3524, allocations: 8.868 MB / 359.7 MB, free: 15.99 MB / 302.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)