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.002321/0.002321, allocations: 120.1 kB / 18.49 MB, free: 4.59 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.002766/0.002766, allocations: 214.2 kB / 21.45 MB, free: 1.637 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.633/1.633, allocations: 230.5 MB / 254.7 MB, free: 15 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.001858/0.001858, allocations: 67.91 kB / 373.7 MB, free: 10.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1364, allocations: 53.36 MB / 427 MB, free: 4.609 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Interaction1): time 0.00438/0.1407, allocations: 2.605 MB / 429.7 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003863/0.1446, allocations: 1.943 MB / 431.6 MB, free: 40 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002636/0.1449, allocations: 15.81 kB / 431.6 MB, free: 24 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.3689/0.5138, allocations: 0.5302 MB / 432.1 MB, free: 7.508 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001652/0.5154, allocations: 494.1 kB / 432.6 MB, free: 7.508 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001748/0.5172, allocations: 0.5532 MB / 433.2 MB, free: 7.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001397/0.5186, allocations: 0.8102 MB / 434 MB, free: 7.492 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002539/0.5188, allocations: 63.06 kB / 434 MB, free: 7.477 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005952/0.5194, allocations: 348.9 kB / 434.4 MB, free: 7.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006339/0.52, allocations: 408.7 kB / 434.8 MB, free: 7.367 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000108/0.5201, allocations: 42.66 kB / 434.8 MB, free: 7.367 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006298/0.5208, allocations: 234.6 kB / 435.1 MB, free: 7.359 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003145/0.5211, allocations: 215.5 kB / 435.3 MB, free: 7.328 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003462/0.5214, allocations: 307.7 kB / 435.6 MB, free: 7.215 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001471/0.5229, allocations: 0.8843 MB / 436.5 MB, free: 7.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.5229, allocations: 1.375 kB / 436.5 MB, free: 7.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.5229, allocations: 0 / 436.5 MB, free: 7.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.114e-05/0.5229, allocations: 3.156 kB / 436.5 MB, free: 7.07 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.002056/0.525, allocations: 1.247 MB / 437.7 MB, free: 6.148 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.688e-05/0.525, allocations: 10.14 kB / 437.7 MB, free: 6.148 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.842e-05/0.5251, allocations: 4.469 kB / 437.7 MB, free: 6.148 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.002e-05/0.5251, allocations: 57.56 kB / 437.8 MB, free: 6.109 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001724/0.5253, allocations: 84.55 kB / 437.9 MB, free: 6.066 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009255/0.5262, allocations: 0.6134 MB / 438.5 MB, free: 5.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.691e-05/0.5263, allocations: 19.56 kB / 438.5 MB, free: 5.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.412e-05/0.5263, allocations: 28.98 kB / 438.5 MB, free: 5.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006701/0.527, allocations: 360.6 kB / 438.9 MB, free: 5.609 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.527, allocations: 1.094 kB / 438.9 MB, free: 5.609 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.727e-05/0.5271, allocations: 8.938 kB / 438.9 MB, free: 5.609 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.118e-05/0.5271, allocations: 7.531 kB / 438.9 MB, free: 5.609 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004136/0.5275, allocations: 178.7 kB / 439.1 MB, free: 5.609 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001624/0.5291, allocations: 1.348 MB / 440.4 MB, free: 4.652 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007609/0.5299, allocations: 329.9 kB / 440.7 MB, free: 4.477 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003318/0.5302, allocations: 152.1 kB / 440.9 MB, free: 4.406 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.748e-05/0.5303, allocations: 8.938 kB / 440.9 MB, free: 4.402 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007105/0.531, allocations: 469.8 kB / 441.3 MB, free: 4.086 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 2.695e-06/0.531, allocations: 0 / 441.3 MB, free: 4.086 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.001657/0.5326, allocations: 0.7505 MB / 442.1 MB, free: 3.762 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001779/0.5328, allocations: 459.4 kB / 442.5 MB, free: 3.223 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001671/0.5345, allocations: 0.9759 MB / 443.5 MB, free: 2.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.451e-05/0.5345, allocations: 47.86 kB / 443.6 MB, free: 2.797 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000277/0.5348, allocations: 313.5 kB / 443.9 MB, free: 2.547 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/0.5349, allocations: 114.5 kB / 444 MB, free: 2.469 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001819/0.5351, allocations: 99.73 kB / 444.1 MB, free: 2.414 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.839e-05/0.5352, allocations: 330 kB / 444.4 MB, free: 2.098 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003199/0.5355, allocations: 150.8 kB / 444.6 MB, free: 2.051 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004366/0.536, allocations: 356.1 kB / 444.9 MB, free: 1.789 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007379/0.5367, allocations: 0.5824 MB / 445.5 MB, free: 1.336 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.5367, allocations: 1.094 kB / 445.5 MB, free: 1.336 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001183/0.5379, allocations: 0.6746 MB / 446.2 MB, free: 1.004 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.529e-05/0.538, allocations: 94.06 kB / 446.3 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/0.538, allocations: 7.594 kB / 446.3 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.749e-05/0.538, allocations: 5.094 kB / 446.3 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002821/0.5383, allocations: 68.22 kB / 446.3 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.826e-05/0.5383, allocations: 7.828 kB / 446.3 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003523/0.5386, allocations: 52.25 kB / 446.4 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.427e-05/0.5387, allocations: 22.58 kB / 446.4 MB, free: 0.8633 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.0005432/0.5392, allocations: 404.2 kB / 446.8 MB, free: 0.582 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001662/0.5394, allocations: 85.97 kB / 446.9 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001947/0.5396, allocations: 83.58 kB / 447 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/0.5396, allocations: 3.625 kB / 447 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.728e-05/0.5396, allocations: 1.859 kB / 447 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.306e-05/0.5396, allocations: 2.547 kB / 447 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001719/0.5414, allocations: 0.9759 MB / 448 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.5414, allocations: 0 / 448 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/0.5415, allocations: 24.52 kB / 448 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.281e-06/0.5415, allocations: 7.172 kB / 448 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.854e-05/0.5415, allocations: 16.86 kB / 448 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.815e-06/0.5415, allocations: 6.109 kB / 448 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.5415, allocations: 5.375 kB / 448 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001492/0.543, allocations: 0.7828 MB / 448.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002183/0.5432, allocations: 154.3 kB / 448.9 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001336/0.5434, allocations: 24.11 kB / 449 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002627/0.5436, allocations: 27.73 kB / 449 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001502/0.5438, allocations: 43.17 kB / 449 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.38e-05/0.5439, allocations: 22.38 kB / 449.1 MB, free: 15.28 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001535/0.5454, allocations: 0.6966 MB / 449.8 MB, free: 15 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5454, allocations: 6.469 kB / 449.8 MB, free: 15 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001131/0.5465, allocations: 158.6 kB / 449.9 MB, free: 14.97 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.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.004385/0.5509, allocations: 1.718 MB / 451.6 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001529/0.5524, allocations: 0.5658 MB / 452.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.5524, allocations: 1.375 kB / 452.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007219/0.5532, allocations: 374.4 kB / 452.6 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001219/0.5544, allocations: 171.9 kB / 452.7 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01249/0.5669, allocations: 6.364 MB / 459.1 MB, free: 9.957 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000958/0.5678, allocations: 0.9378 MB / 460 MB, free: 9.23 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006582/0.5685, allocations: 108.3 kB / 460.1 MB, free: 9.207 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004469/0.5689, allocations: 246 kB / 460.4 MB, free: 9.031 MB / 366.1 MB Notification: Performance of SimCode: time 1.984e-06/0.5689, allocations: 3.938 kB / 460.4 MB, free: 9.027 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05007/0.619, allocations: 16.22 MB / 476.6 MB, free: 13.31 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.556/10.18, allocations: 8.062 kB / 476.6 MB, free: 13.3 MB / 382.1 MB " [Timeout remaining time 650] (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: 13.02454591798596] 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]'] 10.364586147014052 10.386276184 9.859578847 Calling exit ...