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.001101/0.001101, allocations: 104.2 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001308/0.001308, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.313/1.313, allocations: 227.4 MB / 246.3 MB, free: 9.055 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 59.12 kB / 306.3 MB, free: 0.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1044, allocations: 50.53 MB / 356.9 MB, free: 14.22 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Interaction1): time 0.004315/0.1087, allocations: 2.614 MB / 359.5 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003639/0.1124, allocations: 1.957 MB / 361.4 MB, free: 9.621 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003335/0.1127, allocations: 7.938 kB / 361.5 MB, free: 9.613 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001103/0.1139, allocations: 0.5027 MB / 362 MB, free: 9.109 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001005/0.1149, allocations: 454.7 kB / 362.4 MB, free: 8.664 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001267/0.1162, allocations: 494.6 kB / 362.9 MB, free: 8.188 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000848/0.117, allocations: 0.7987 MB / 363.7 MB, free: 7.387 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002519/0.1173, allocations: 105.9 kB / 363.8 MB, free: 7.285 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004362/0.1177, allocations: 290.7 kB / 364.1 MB, free: 7 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004799/0.1182, allocations: 358.4 kB / 364.4 MB, free: 6.648 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.905e-05/0.1183, allocations: 16 kB / 364.4 MB, free: 6.633 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004019/0.1187, allocations: 183.8 kB / 364.6 MB, free: 6.453 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000204/0.1189, allocations: 187.3 kB / 364.8 MB, free: 6.27 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003187/0.1193, allocations: 290.1 kB / 365.1 MB, free: 5.984 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009205/0.1202, allocations: 0.8451 MB / 365.9 MB, free: 5.137 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1202, allocations: 0 / 365.9 MB, free: 5.137 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.1202, allocations: 4 kB / 365.9 MB, free: 5.133 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.727e-05/0.1202, allocations: 0 / 365.9 MB, free: 5.133 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.002158/0.1224, allocations: 1.224 MB / 367.2 MB, free: 3.812 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.427e-05/0.1225, allocations: 8.031 kB / 367.2 MB, free: 3.805 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001028/0.1226, allocations: 58.7 kB / 367.2 MB, free: 3.738 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002482/0.1228, allocations: 83.91 kB / 367.3 MB, free: 3.656 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009939/0.1238, allocations: 0.5975 MB / 367.9 MB, free: 3.016 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.312e-05/0.1239, allocations: 20.38 kB / 367.9 MB, free: 2.996 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.573e-05/0.1239, allocations: 31.92 kB / 368 MB, free: 2.965 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006168/0.1245, allocations: 350.7 kB / 368.3 MB, free: 2.574 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.1246, allocations: 0 / 368.3 MB, free: 2.574 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.221e-05/0.1246, allocations: 8 kB / 368.3 MB, free: 2.566 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.916e-05/0.1247, allocations: 11.98 kB / 368.3 MB, free: 2.555 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003751/0.1251, allocations: 175.8 kB / 368.5 MB, free: 2.383 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001652/0.1267, allocations: 1.348 MB / 369.8 MB, free: 0.9609 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000715/0.1274, allocations: 354.8 kB / 370.2 MB, free: 0.5781 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003003/0.1278, allocations: 171.4 kB / 370.3 MB, free: 408 kB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.164e-05/0.1278, allocations: 8 kB / 370.4 MB, free: 400 kB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.1569/0.2847, allocations: 459 kB / 370.8 MB, free: 19.97 MB / 302.1 MB Notification: Performance of pre-optimization done (n=42): time 3.818e-06/0.2848, allocations: 0 / 370.8 MB, free: 19.97 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.00162/0.2864, allocations: 0.7475 MB / 371.6 MB, free: 19.85 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/0.2865, allocations: 464.9 kB / 372 MB, free: 19.32 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00144/0.288, allocations: 0.9674 MB / 373 MB, free: 19.19 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.716e-05/0.288, allocations: 44.5 kB / 373 MB, free: 19.16 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002323/0.2883, allocations: 321.2 kB / 373.3 MB, free: 19.02 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.961e-05/0.2884, allocations: 111.9 kB / 373.4 MB, free: 18.98 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001522/0.2886, allocations: 95.75 kB / 373.5 MB, free: 18.94 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.263e-05/0.2886, allocations: 325.8 kB / 373.9 MB, free: 18.62 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003461/0.289, allocations: 151.5 kB / 374 MB, free: 18.57 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004125/0.2894, allocations: 356 kB / 374.3 MB, free: 18.31 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006797/0.2901, allocations: 0.5786 MB / 374.9 MB, free: 17.87 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.2901, allocations: 4.688 kB / 374.9 MB, free: 17.87 MB / 302.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001116/0.2912, allocations: 0.6658 MB / 375.6 MB, free: 17.55 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.443e-05/0.2913, allocations: 101.5 kB / 375.7 MB, free: 17.45 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.2913, allocations: 3.594 kB / 375.7 MB, free: 17.45 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/0.2913, allocations: 10.81 kB / 375.7 MB, free: 17.45 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002532/0.2916, allocations: 63.86 kB / 375.8 MB, free: 17.45 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.338e-05/0.2916, allocations: 10.22 kB / 375.8 MB, free: 17.44 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003377/0.2919, allocations: 47.11 kB / 375.8 MB, free: 17.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.122e-05/0.292, allocations: 22.17 kB / 375.8 MB, free: 17.42 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.0003697/0.2924, allocations: 404.7 kB / 376.2 MB, free: 17.14 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001349/0.2925, allocations: 84.75 kB / 376.3 MB, free: 17.1 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001302/0.2927, allocations: 83.36 kB / 376.4 MB, free: 17.07 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.2927, allocations: 10.98 kB / 376.4 MB, free: 17.07 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.999e-06/0.2927, allocations: 1.375 kB / 376.4 MB, free: 17.07 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.2927, allocations: 2.688 kB / 376.4 MB, free: 17.07 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001193/0.2939, allocations: 0.977 MB / 377.4 MB, free: 16.49 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.2939, allocations: 1.156 kB / 377.4 MB, free: 16.49 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.945e-05/0.294, allocations: 25.3 kB / 377.4 MB, free: 16.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.294, allocations: 1.469 kB / 377.4 MB, free: 16.48 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.932e-05/0.2941, allocations: 25.78 kB / 377.5 MB, free: 16.47 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.2941, allocations: 5.312 kB / 377.5 MB, free: 16.47 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.2941, allocations: 2.031 kB / 377.5 MB, free: 16.47 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/0.2951, allocations: 0.7719 MB / 378.2 MB, free: 16.04 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001291/0.2953, allocations: 158.7 kB / 378.4 MB, free: 15.9 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000135/0.2954, allocations: 26.97 kB / 378.4 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002845/0.2957, allocations: 24.58 kB / 378.4 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/0.2959, allocations: 33.53 kB / 378.5 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.572e-05/0.2959, allocations: 25.67 kB / 378.5 MB, free: 15.88 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0008707/0.2968, allocations: 0.6958 MB / 379.2 MB, free: 15.59 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.2968, allocations: 6.266 kB / 379.2 MB, free: 15.59 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006107/0.2974, allocations: 161.6 kB / 379.4 MB, free: 15.57 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.002176/0.2996, allocations: 1.709 MB / 381.1 MB, free: 14.52 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009746/0.3006, allocations: 0.6086 MB / 381.7 MB, free: 14.18 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.3006, allocations: 5.625 kB / 381.7 MB, free: 14.18 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000482/0.3011, allocations: 439.8 kB / 382.1 MB, free: 13.89 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008604/0.302, allocations: 165 kB / 382.3 MB, free: 13.84 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008429/0.3104, allocations: 6.748 MB / 389 MB, free: 10.05 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004606/0.3109, allocations: 0.9363 MB / 390 MB, free: 9.324 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003745/0.3113, allocations: 110.6 kB / 390.1 MB, free: 9.301 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002589/0.3116, allocations: 242.1 kB / 390.3 MB, free: 9.129 MB / 302.1 MB Notification: Performance of SimCode: time 1.222e-06/0.3116, allocations: 4 kB / 390.3 MB, free: 9.125 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02496/0.3365, allocations: 15.3 MB / 405.6 MB, free: 13.89 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001819/0.3367, allocations: 226.6 kB / 405.8 MB, free: 13.63 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.201/2.538, allocations: 7.25 kB / 405.8 MB, free: 13.63 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)