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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Interaction1,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Interaction1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008165/0.0008165, allocations: 91.3 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009741/0.0009741, allocations: 201.2 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.234/1.234, allocations: 227.7 MB / 246.8 MB, free: 11.32 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000216/0.0002159, allocations: 8 kB / 307.8 MB, free: 0.7266 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08454/0.08477, allocations: 51.53 MB / 359.4 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Interaction1): time 0.002656/0.08745, allocations: 2.234 MB / 361.6 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002995/0.09047, allocations: 1.918 MB / 363.5 MB, free: 9.023 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003085/0.09081, allocations: 7.938 kB / 363.5 MB, free: 9.016 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001037/0.09186, allocations: 0.4988 MB / 364 MB, free: 8.516 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008808/0.09275, allocations: 454.2 kB / 364.5 MB, free: 8.074 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001156/0.09392, allocations: 0.491 MB / 364.9 MB, free: 7.586 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008803/0.0948, allocations: 0.7948 MB / 365.7 MB, free: 6.789 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002009/0.09501, allocations: 113.9 kB / 365.9 MB, free: 6.68 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004106/0.09543, allocations: 274.7 kB / 366.1 MB, free: 6.41 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000415/0.09586, allocations: 346.5 kB / 366.5 MB, free: 6.07 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.376e-05/0.09593, allocations: 19.94 kB / 366.5 MB, free: 6.051 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003209/0.09626, allocations: 183.7 kB / 366.7 MB, free: 5.871 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001909/0.09646, allocations: 183.3 kB / 366.8 MB, free: 5.691 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002808/0.09675, allocations: 299.8 kB / 367.1 MB, free: 5.391 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000829/0.09758, allocations: 0.8332 MB / 368 MB, free: 4.555 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.0976, allocations: 0 / 368 MB, free: 4.555 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.09761, allocations: 4 kB / 368 MB, free: 4.551 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.811e-05/0.09763, allocations: 0 / 368 MB, free: 4.551 MB / 302.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.001477/0.09911, allocations: 1.094 MB / 369.1 MB, free: 3.359 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.09916, allocations: 12.03 kB / 369.1 MB, free: 3.348 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.69e-05/0.09924, allocations: 54.73 kB / 369.1 MB, free: 3.285 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001424/0.09939, allocations: 91.91 kB / 369.2 MB, free: 3.195 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000781/0.1002, allocations: 0.5974 MB / 369.8 MB, free: 2.555 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.829e-05/0.1002, allocations: 20.38 kB / 369.8 MB, free: 2.535 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.246e-05/0.1003, allocations: 23.94 kB / 369.9 MB, free: 2.512 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005669/0.1008, allocations: 358.7 kB / 370.2 MB, free: 2.113 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.1009, allocations: 0 / 370.2 MB, free: 2.113 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.172e-05/0.1009, allocations: 8 kB / 370.2 MB, free: 2.105 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.515e-05/0.1009, allocations: 12 kB / 370.2 MB, free: 2.094 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003575/0.1013, allocations: 179.8 kB / 370.4 MB, free: 1.918 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001408/0.1027, allocations: 1.345 MB / 371.7 MB, free: 0.5 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006348/0.1034, allocations: 361.9 kB / 372.1 MB, free: 116 kB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1465/0.2499, allocations: 166.9 kB / 372.3 MB, free: 18.61 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.258e-05/0.25, allocations: 6.641 kB / 372.3 MB, free: 18.61 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000734/0.2507, allocations: 461.6 kB / 372.7 MB, free: 18.37 MB / 302.1 MB Notification: Performance of pre-optimization done (n=42): time 2.054e-06/0.2507, allocations: 0 / 372.7 MB, free: 18.37 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.001421/0.2522, allocations: 0.7453 MB / 373.5 MB, free: 18.25 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/0.2523, allocations: 463.2 kB / 373.9 MB, free: 17.71 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001194/0.2535, allocations: 0.9679 MB / 374.9 MB, free: 17.59 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.657e-05/0.2535, allocations: 50.75 kB / 374.9 MB, free: 17.55 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000205/0.2538, allocations: 314.4 kB / 375.2 MB, free: 17.46 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.235e-05/0.2538, allocations: 105.1 kB / 375.3 MB, free: 17.41 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.76e-05/0.2539, allocations: 53.25 kB / 375.4 MB, free: 17.4 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.253e-05/0.254, allocations: 327.5 kB / 375.7 MB, free: 17.09 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000318/0.2543, allocations: 149.8 kB / 375.9 MB, free: 17.09 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004331/0.2547, allocations: 354 kB / 376.2 MB, free: 16.89 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000729/0.2555, allocations: 0.5739 MB / 376.8 MB, free: 16.57 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/0.2555, allocations: 1.75 kB / 376.8 MB, free: 16.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001009/0.2565, allocations: 0.6775 MB / 377.5 MB, free: 16.38 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.184e-05/0.2566, allocations: 97.33 kB / 377.6 MB, free: 16.28 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.2566, allocations: 4.125 kB / 377.6 MB, free: 16.28 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.2566, allocations: 6.375 kB / 377.6 MB, free: 16.28 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002443/0.2569, allocations: 66.61 kB / 377.6 MB, free: 16.28 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-05/0.2569, allocations: 11.36 kB / 377.6 MB, free: 16.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002674/0.2572, allocations: 52.34 kB / 377.7 MB, free: 16.26 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.413e-05/0.2572, allocations: 19.44 kB / 377.7 MB, free: 16.26 MB / 302.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.0003463/0.2576, allocations: 406.6 kB / 378.1 MB, free: 16.04 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.566e-05/0.2577, allocations: 89.58 kB / 378.2 MB, free: 16 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000137/0.2578, allocations: 85.92 kB / 378.3 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.266e-06/0.2578, allocations: 12.25 kB / 378.3 MB, free: 15.97 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.866e-06/0.2578, allocations: 1.219 kB / 378.3 MB, free: 15.97 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/0.2578, allocations: 7.469 kB / 378.3 MB, free: 15.97 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001119/0.259, allocations: 0.972 MB / 379.3 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.259, allocations: 1.219 kB / 379.3 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.691e-05/0.2591, allocations: 27.92 kB / 379.3 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.2591, allocations: 6.781 kB / 379.3 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.949e-05/0.2591, allocations: 14.44 kB / 379.3 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.237e-06/0.2591, allocations: 2.375 kB / 379.3 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2591, allocations: 1.25 kB / 379.3 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008718/0.26, allocations: 0.7844 MB / 380.1 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/0.2601, allocations: 173 kB / 380.3 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.697e-05/0.2602, allocations: 23 kB / 380.3 MB, free: 14.78 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002295/0.2605, allocations: 30.77 kB / 380.3 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.706e-05/0.2606, allocations: 34.22 kB / 380.4 MB, free: 14.76 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.069e-05/0.2606, allocations: 24.17 kB / 380.4 MB, free: 14.76 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007123/0.2613, allocations: 0.7008 MB / 381.1 MB, free: 14.48 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2613, allocations: 0 / 381.1 MB, free: 14.48 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005141/0.2619, allocations: 157.1 kB / 381.2 MB, free: 14.46 MB / 302.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.001941/0.2638, allocations: 1.722 MB / 383 MB, free: 13.38 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007714/0.2646, allocations: 0.6036 MB / 383.6 MB, free: 13.04 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2646, allocations: 0 / 383.6 MB, free: 13.04 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004187/0.265, allocations: 437.1 kB / 384 MB, free: 12.75 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008519/0.2659, allocations: 173 kB / 384.2 MB, free: 12.69 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007644/0.2735, allocations: 6.738 MB / 390.9 MB, free: 8.906 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003777/0.2739, allocations: 0.942 MB / 391.8 MB, free: 8.176 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003077/0.2743, allocations: 114.3 kB / 392 MB, free: 8.148 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002568/0.2745, allocations: 241.2 kB / 392.2 MB, free: 7.977 MB / 302.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2745, allocations: 0 / 392.2 MB, free: 7.977 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02327/0.2978, allocations: 15 MB / 407.2 MB, free: 12.43 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002104/0.298, allocations: 226.2 kB / 407.4 MB, free: 12.18 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.049/2.347, allocations: 0 / 407.4 MB, free: 12.18 MB / 318.1 MB (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 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_Interaction1.fmu > Modelica_trunk_Modelica.Blocks.Examples.Interaction1.pipe 2>&1)