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.00142/0.00142, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.001616/0.001616, allocations: 205.9 kB / 24.53 MB, free: 4.074 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.557/1.557, allocations: 230.5 MB / 258.2 MB, free: 8.016 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.001901/0.001901, allocations: 59.91 kB / 378.5 MB, free: 3.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4429/0.4448, allocations: 53.42 MB / 432 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Interaction1): time 0.005026/0.4498, allocations: 2.608 MB / 434.6 MB, free: 4.086 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004453/0.4543, allocations: 1.96 MB / 436.5 MB, free: 2.117 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003455/0.4546, allocations: 15.88 kB / 436.5 MB, free: 2.102 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001394/0.456, allocations: 0.557 MB / 437.1 MB, free: 1.543 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001134/0.4571, allocations: 0.4977 MB / 437.6 MB, free: 1.047 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001746/0.4589, allocations: 0.5568 MB / 438.2 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001294/0.4602, allocations: 0.8221 MB / 439 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002615/0.4604, allocations: 65.67 kB / 439 MB, free: 15.6 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005391/0.461, allocations: 350.7 kB / 439.4 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005643/0.4615, allocations: 406.5 kB / 439.8 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.218e-05/0.4616, allocations: 40 kB / 439.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005927/0.4622, allocations: 251.7 kB / 440.1 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002788/0.4625, allocations: 215.2 kB / 440.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003606/0.4629, allocations: 310 kB / 440.6 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001312/0.4642, allocations: 0.8957 MB / 441.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.4642, allocations: 0 / 441.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.4642, allocations: 4 kB / 441.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.658e-05/0.4642, allocations: 0 / 441.5 MB, free: 13.16 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.002301/0.4665, allocations: 1.178 MB / 442.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.958e-05/0.4666, allocations: 12.03 kB / 442.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.152e-05/0.4666, allocations: 4.188 kB / 442.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.034e-05/0.4667, allocations: 54.73 kB / 442.7 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001508/0.4668, allocations: 84.42 kB / 442.8 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009591/0.4678, allocations: 0.5443 MB / 443.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.955e-05/0.4678, allocations: 16.31 kB / 443.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.691e-05/0.4679, allocations: 24.38 kB / 443.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006688/0.4685, allocations: 358.7 kB / 443.7 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.4685, allocations: 0 / 443.7 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.635e-05/0.4686, allocations: 15.98 kB / 443.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.524e-05/0.4686, allocations: 8 kB / 443.8 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003749/0.469, allocations: 171.8 kB / 443.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001742/0.4707, allocations: 1.312 MB / 445.2 MB, free: 9.172 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007442/0.4715, allocations: 334.8 kB / 445.6 MB, free: 8.809 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003179/0.4718, allocations: 155.2 kB / 445.7 MB, free: 8.645 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.347e-05/0.4718, allocations: 11.98 kB / 445.7 MB, free: 8.633 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007285/0.4726, allocations: 463.2 kB / 446.2 MB, free: 8.125 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 2.165e-06/0.4726, allocations: 0 / 446.2 MB, free: 8.125 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.001534/0.4741, allocations: 0.7513 MB / 446.9 MB, free: 7.352 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002878/0.4744, allocations: 464.8 kB / 447.4 MB, free: 6.793 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001337/0.4757, allocations: 0.9655 MB / 448.4 MB, free: 5.812 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.546e-05/0.4758, allocations: 49.69 kB / 448.4 MB, free: 5.758 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003115/0.4761, allocations: 316.8 kB / 448.7 MB, free: 5.445 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001215/0.4762, allocations: 119.2 kB / 448.8 MB, free: 5.328 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001565/0.4764, allocations: 94.08 kB / 448.9 MB, free: 5.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001775/0.4765, allocations: 334 kB / 449.3 MB, free: 4.898 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002983/0.4768, allocations: 144.9 kB / 449.4 MB, free: 4.758 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004782/0.4773, allocations: 354 kB / 449.7 MB, free: 4.336 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007811/0.4781, allocations: 0.5783 MB / 450.3 MB, free: 3.672 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.4781, allocations: 4 kB / 450.3 MB, free: 3.668 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001138/0.4792, allocations: 0.6696 MB / 451 MB, free: 2.973 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.395e-05/0.4793, allocations: 101.3 kB / 451.1 MB, free: 2.855 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.4793, allocations: 8 kB / 451.1 MB, free: 2.848 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.4794, allocations: 4 kB / 451.1 MB, free: 2.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002554/0.4796, allocations: 67.83 kB / 451.2 MB, free: 2.777 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.343e-05/0.4796, allocations: 4 kB / 451.2 MB, free: 2.773 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003135/0.4799, allocations: 51.72 kB / 451.2 MB, free: 2.723 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.116e-05/0.48, allocations: 24 kB / 451.2 MB, free: 2.699 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.0005094/0.4805, allocations: 395 kB / 451.6 MB, free: 2.293 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001409/0.4806, allocations: 91.41 kB / 451.7 MB, free: 2.203 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009693/0.4816, allocations: 0.5116 MB / 452.2 MB, free: 1.672 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.724e-06/0.4816, allocations: 7.938 kB / 452.2 MB, free: 1.664 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.4816, allocations: 0 / 452.2 MB, free: 1.664 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.4816, allocations: 3.938 kB / 452.2 MB, free: 1.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001307/0.4829, allocations: 0.9572 MB / 453.2 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.4829, allocations: 0 / 453.2 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.795e-05/0.483, allocations: 19.94 kB / 453.2 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.646e-06/0.483, allocations: 7.984 kB / 453.2 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.999e-05/0.4831, allocations: 16 kB / 453.2 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.4831, allocations: 4 kB / 453.2 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.4831, allocations: 7.922 kB / 453.3 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001211/0.4843, allocations: 0.7938 MB / 454 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001394/0.4844, allocations: 79.59 kB / 454.1 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001158/0.4846, allocations: 23.98 kB / 454.2 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002405/0.4848, allocations: 27.97 kB / 454.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/0.4849, allocations: 39.89 kB / 454.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.71e-05/0.485, allocations: 23.98 kB / 454.2 MB, free: 15.56 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009108/0.4859, allocations: 0.7021 MB / 454.9 MB, free: 14.86 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4859, allocations: 0 / 454.9 MB, free: 14.86 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006843/0.4866, allocations: 155.8 kB / 455.1 MB, free: 14.7 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 (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.003285/0.4898, allocations: 1.709 MB / 456.8 MB, free: 13.08 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001095/0.4909, allocations: 0.5603 MB / 457.4 MB, free: 12.48 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.4909, allocations: 0 / 457.4 MB, free: 12.48 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005204/0.4915, allocations: 381.9 kB / 457.7 MB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/0.4925, allocations: 178.6 kB / 457.9 MB, free: 11.9 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01187/0.5044, allocations: 6.352 MB / 464.3 MB, free: 5.293 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000893/0.5053, allocations: 0.9445 MB / 465.2 MB, free: 4.32 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005141/0.5058, allocations: 112.9 kB / 465.3 MB, free: 4.207 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004999/0.5063, allocations: 247.3 kB / 465.6 MB, free: 3.965 MB / 366.1 MB Notification: Performance of SimCode: time 2.454e-06/0.5063, allocations: 0 / 465.6 MB, free: 3.965 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05506/0.5613, allocations: 16.6 MB / 482.2 MB, free: 3.43 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.18/12.74, allocations: 4.062 kB / 482.2 MB, free: 3.426 MB / 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.442733889969531] 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.979763705050573 12.995561662 12.528176517 Calling exit ...