Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Interaction1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001343/0.001343, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00191/0.00191, allocations: 213.5 kB / 24.52 MB, free: 3.91 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.589/1.589, allocations: 230.5 MB / 258.2 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Interaction1,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Interaction1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Interaction1,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Interaction1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001758/0.001758, allocations: 55.91 kB / 378.5 MB, free: 2.812 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3939/0.3957, allocations: 53.4 MB / 431.9 MB, free: 6.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Interaction1): time 0.004541/0.4002, allocations: 2.441 MB / 434.3 MB, free: 3.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004283/0.4045, allocations: 1.846 MB / 436.2 MB, free: 2.129 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002616/0.4048, allocations: 11.94 kB / 436.2 MB, free: 2.117 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001402/0.4062, allocations: 0.5609 MB / 436.8 MB, free: 1.555 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001026/0.4072, allocations: 0.4905 MB / 437.2 MB, free: 1.062 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001595/0.4088, allocations: 0.559 MB / 437.8 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001094/0.4099, allocations: 0.8182 MB / 438.6 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002024/0.4101, allocations: 65.97 kB / 438.7 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004211/0.4105, allocations: 338.8 kB / 439 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005075/0.411, allocations: 418.4 kB / 439.4 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.012e-05/0.4111, allocations: 44 kB / 439.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004719/0.4116, allocations: 243.7 kB / 439.7 MB, free: 14.6 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002525/0.4118, allocations: 215.2 kB / 439.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002607/0.4121, allocations: 238.5 kB / 440.1 MB, free: 14.15 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001103/0.4132, allocations: 0.901 MB / 441 MB, free: 13.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/0.4132, allocations: 4 kB / 441.1 MB, free: 13.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.4132, allocations: 0 / 441.1 MB, free: 13.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.177e-06/0.4132, allocations: 0 / 441.1 MB, free: 13.25 MB / 350.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.001961/0.4152, allocations: 1.185 MB / 442.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.4152, allocations: 8.031 kB / 442.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.449e-05/0.4152, allocations: 4.188 kB / 442.2 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.465e-05/0.4153, allocations: 58.73 kB / 442.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001459/0.4155, allocations: 84.42 kB / 442.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008755/0.4163, allocations: 0.5364 MB / 442.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.335e-05/0.4164, allocations: 16.38 kB / 442.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.457e-05/0.4164, allocations: 24.38 kB / 443 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007935/0.4172, allocations: 0.5745 MB / 443.5 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.4172, allocations: 0 / 443.5 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.544e-05/0.4173, allocations: 19.98 kB / 443.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.441e-05/0.4173, allocations: 11.92 kB / 443.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004652/0.4178, allocations: 272.9 kB / 443.8 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001659/0.4194, allocations: 1.25 MB / 445.1 MB, free: 8.922 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008321/0.4203, allocations: 431.7 kB / 445.5 MB, free: 8.445 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003635/0.4206, allocations: 252.4 kB / 445.8 MB, free: 8.168 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.278e-05/0.4206, allocations: 4 kB / 445.8 MB, free: 8.164 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007429/0.4214, allocations: 0.5549 MB / 446.3 MB, free: 7.535 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 2.294e-06/0.4214, allocations: 0 / 446.3 MB, free: 7.535 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.001728/0.4231, allocations: 0.9722 MB / 447.3 MB, free: 6.504 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003367/0.4235, allocations: 456.9 kB / 447.7 MB, free: 5.953 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001421/0.4249, allocations: 0.985 MB / 448.7 MB, free: 4.953 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.656e-05/0.4249, allocations: 41.7 kB / 448.8 MB, free: 4.906 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003603/0.4253, allocations: 313 kB / 449.1 MB, free: 4.598 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001239/0.4254, allocations: 115.1 kB / 449.2 MB, free: 4.484 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001678/0.4256, allocations: 102.1 kB / 449.3 MB, free: 4.379 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001769/0.4258, allocations: 326 kB / 449.6 MB, free: 4.055 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003874/0.4262, allocations: 250 kB / 449.8 MB, free: 3.793 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006983/0.4269, allocations: 0.6665 MB / 450.5 MB, free: 2.977 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000846/0.4277, allocations: 0.6012 MB / 451.1 MB, free: 2.289 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.4277, allocations: 0 / 451.1 MB, free: 2.289 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001317/0.429, allocations: 0.7842 MB / 451.9 MB, free: 1.461 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001139/0.4291, allocations: 105.1 kB / 452 MB, free: 1.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.4292, allocations: 4 kB / 452 MB, free: 1.336 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.979e-05/0.4292, allocations: 8 kB / 452 MB, free: 1.328 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002881/0.4295, allocations: 63.89 kB / 452.1 MB, free: 1.266 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.049e-05/0.4295, allocations: 11.94 kB / 452.1 MB, free: 1.254 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003286/0.4298, allocations: 51.72 kB / 452.1 MB, free: 1.203 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.234e-05/0.4299, allocations: 20.23 kB / 452.1 MB, free: 1.184 MB / 350.1 MB 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,stop.pre_reset[1],stop.table.combiTimeTable.nextTimeEventScaled,$PRE.stop.table.combiTimeTable.nextTimeEventScaled,stop.table.combiTimeTable.nextTimeEvent,stop.table.y,$PRE.stop.table.y,$PRE.stop.reset[1],$whenCondition5,$whenCondition4,start.pre_reset[1],start.table.combiTimeTable.nextTimeEventScaled,$PRE.start.table.combiTimeTable.nextTimeEventScaled,start.table.combiTimeTable.nextTimeEvent,start.table.y,$PRE.start.table.y,$PRE.start.reset[1],$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.0005608/0.4304, allocations: 403.2 kB / 452.5 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001521/0.4306, allocations: 91.36 kB / 452.6 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001087/0.4317, allocations: 0.6072 MB / 453.2 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.335e-06/0.4317, allocations: 4 kB / 453.2 MB, free: 40 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.4317, allocations: 0 / 453.2 MB, free: 40 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/0.4317, allocations: 7.984 kB / 453.3 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001416/0.4331, allocations: 0.9956 MB / 454.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.4331, allocations: 0 / 454.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/0.4332, allocations: 27.98 kB / 454.3 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.663e-06/0.4332, allocations: 4 kB / 454.3 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.75e-05/0.4333, allocations: 16 kB / 454.3 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.668e-06/0.4333, allocations: 11.92 kB / 454.3 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.4333, allocations: 0 / 454.3 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001241/0.4345, allocations: 0.9248 MB / 455.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001329/0.4347, allocations: 83.34 kB / 455.3 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001218/0.4348, allocations: 27.98 kB / 455.3 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002422/0.435, allocations: 27.98 kB / 455.4 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/0.4351, allocations: 36.12 kB / 455.4 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.401e-05/0.4352, allocations: 35.92 kB / 455.4 MB, free: 13.71 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009891/0.4362, allocations: 0.7098 MB / 456.1 MB, free: 13 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4362, allocations: 0 / 456.1 MB, free: 13 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007175/0.4369, allocations: 155.8 kB / 456.3 MB, free: 12.84 MB / 366.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.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,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 (35): * Single equations (assignments): 24 * 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.003651/0.4406, allocations: 1.878 MB / 458.2 MB, free: 11.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001405/0.442, allocations: 0.7655 MB / 458.9 MB, free: 10.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.442, allocations: 0 / 458.9 MB, free: 10.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006145/0.4426, allocations: 495.6 kB / 459.4 MB, free: 9.664 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001026/0.4436, allocations: 173.5 kB / 459.6 MB, free: 9.5 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009957/0.4536, allocations: 6.904 MB / 466.5 MB, free: 2.246 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000383/0.454, allocations: 343 kB / 466.8 MB, free: 1.883 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003888/0.4543, allocations: 121.5 kB / 467 MB, free: 1.762 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003941/0.4547, allocations: 247.3 kB / 467.2 MB, free: 1.52 MB / 366.1 MB Notification: Performance of SimCode: time 1.232e-06/0.4547, allocations: 7.938 kB / 467.2 MB, free: 1.512 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04982/0.5046, allocations: 17.42 MB / 484.6 MB, free: 188 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.24/12.75, allocations: 8 kB / 484.6 MB, free: 180 kB / 382.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Interaction1.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Interaction1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Interaction1.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Interaction1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.Interaction1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_Interaction1_fmu --startTime=0 --stopTime=10 --stepSize=0.00199561 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_Interaction1.fmu > Modelica_trunk_Modelica.Blocks.Examples.Interaction1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.541967576020397] Failed to read output from testmodel.py, exit status != 0: ['time', 'booleanTable.y', 'integerTable.y', 'start.on', 'start.reset[1]', 'stop.on', 'stop.reset[1]'] 12.980254673981108 12.995422641 12.578906989 Calling exit ...