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.001141/0.001141, allocations: 116.1 kB / 17.33 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001221/0.001221, allocations: 205.8 kB / 18.27 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.401/1.401, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002273/0.002273, allocations: 64 kB / 306.5 MB, free: 0.8398 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1098, allocations: 50.53 MB / 357.1 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Interaction1): time 0.004014/0.1138, allocations: 2.608 MB / 359.7 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003189/0.1171, allocations: 1.916 MB / 361.6 MB, free: 9.754 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000337/0.1174, allocations: 11.94 kB / 361.6 MB, free: 9.742 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00122/0.1186, allocations: 0.5139 MB / 362.1 MB, free: 9.23 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009625/0.1196, allocations: 458.7 kB / 362.6 MB, free: 8.781 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001339/0.121, allocations: 0.4978 MB / 363.1 MB, free: 8.289 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00129/0.1223, allocations: 0.8222 MB / 363.9 MB, free: 7.465 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002565/0.1225, allocations: 110 kB / 364 MB, free: 7.359 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005945/0.1231, allocations: 350.6 kB / 364.3 MB, free: 7.016 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004776/0.1236, allocations: 378.5 kB / 364.7 MB, free: 6.645 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001034/0.1237, allocations: 44 kB / 364.8 MB, free: 6.602 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003793/0.1241, allocations: 223.7 kB / 365 MB, free: 6.383 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002306/0.1244, allocations: 215.3 kB / 365.2 MB, free: 6.172 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003259/0.1247, allocations: 318 kB / 365.5 MB, free: 5.859 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009317/0.1256, allocations: 0.8647 MB / 366.4 MB, free: 4.992 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.1257, allocations: 0 / 366.4 MB, free: 4.992 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1257, allocations: 0 / 366.4 MB, free: 4.992 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.796e-05/0.1257, allocations: 0 / 366.4 MB, free: 4.992 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.001915/0.1276, allocations: 1.222 MB / 367.6 MB, free: 3.672 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.1277, allocations: 12.03 kB / 367.6 MB, free: 3.66 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.386e-05/0.1277, allocations: 54.73 kB / 367.6 MB, free: 3.598 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001954/0.1279, allocations: 87.89 kB / 367.7 MB, free: 3.512 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000893/0.1288, allocations: 0.5974 MB / 368.3 MB, free: 2.871 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.761e-05/0.1289, allocations: 20.38 kB / 368.3 MB, free: 2.852 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.187e-05/0.129, allocations: 27.92 kB / 368.4 MB, free: 2.824 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006504/0.1296, allocations: 350.8 kB / 368.7 MB, free: 2.434 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.1296, allocations: 0 / 368.7 MB, free: 2.434 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.061e-05/0.1297, allocations: 12 kB / 368.7 MB, free: 2.422 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.377e-05/0.1297, allocations: 11.94 kB / 368.7 MB, free: 2.41 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003971/0.1301, allocations: 179.8 kB / 368.9 MB, free: 2.234 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001691/0.1318, allocations: 1.348 MB / 370.3 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007469/0.1326, allocations: 358.7 kB / 370.6 MB, free: 436 kB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003192/0.1329, allocations: 175.4 kB / 370.8 MB, free: 248 kB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.423e-05/0.133, allocations: 11.98 kB / 370.8 MB, free: 236 kB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.18/0.313, allocations: 460.5 kB / 371.2 MB, free: 20.14 MB / 302.1 MB Notification: Performance of pre-optimization done (n=42): time 3.557e-06/0.313, allocations: 0 / 371.2 MB, free: 20.14 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.002504/0.3155, allocations: 0.744 MB / 372 MB, free: 20.02 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002203/0.3158, allocations: 463.4 kB / 372.4 MB, free: 19.49 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002193/0.318, allocations: 0.9699 MB / 373.4 MB, free: 19.36 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.869e-05/0.3181, allocations: 44.05 kB / 373.5 MB, free: 19.33 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003851/0.3185, allocations: 313.4 kB / 373.8 MB, free: 19.15 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000161/0.3187, allocations: 112.6 kB / 373.9 MB, free: 19.11 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002513/0.3189, allocations: 97.31 kB / 374 MB, free: 19.06 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.214e-05/0.319, allocations: 325 kB / 374.3 MB, free: 18.75 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005229/0.3196, allocations: 152.4 kB / 374.4 MB, free: 18.7 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006842/0.3203, allocations: 356.4 kB / 374.8 MB, free: 18.44 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009473/0.3212, allocations: 0.5803 MB / 375.4 MB, free: 18 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/0.3213, allocations: 1.375 kB / 375.4 MB, free: 18 MB / 302.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0017/0.323, allocations: 0.6629 MB / 376 MB, free: 17.68 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.712e-05/0.3231, allocations: 105.2 kB / 376.1 MB, free: 17.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.718e-05/0.3231, allocations: 3.625 kB / 376.1 MB, free: 17.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.35e-05/0.3232, allocations: 16.2 kB / 376.1 MB, free: 17.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000396/0.3236, allocations: 64.16 kB / 376.2 MB, free: 17.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.823e-05/0.3236, allocations: 10.05 kB / 376.2 MB, free: 17.56 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004612/0.3241, allocations: 43.53 kB / 376.3 MB, free: 17.55 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.457e-05/0.3242, allocations: 22.73 kB / 376.3 MB, free: 17.55 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.0005463/0.3247, allocations: 396.3 kB / 376.7 MB, free: 17.27 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001359/0.3249, allocations: 90.34 kB / 376.8 MB, free: 17.22 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001879/0.3251, allocations: 81.11 kB / 376.8 MB, free: 17.19 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.988e-06/0.3251, allocations: 11.78 kB / 376.9 MB, free: 17.19 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.391e-05/0.3251, allocations: 2.172 kB / 376.9 MB, free: 17.19 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.051e-05/0.3251, allocations: 3.188 kB / 376.9 MB, free: 17.19 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001778/0.3269, allocations: 0.9813 MB / 377.8 MB, free: 16.61 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/0.327, allocations: 1.469 kB / 377.8 MB, free: 16.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000145/0.3271, allocations: 24.27 kB / 377.9 MB, free: 16.61 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.3271, allocations: 1.688 kB / 377.9 MB, free: 16.61 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.124e-05/0.3272, allocations: 22.06 kB / 377.9 MB, free: 16.6 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.3272, allocations: 1.312 kB / 377.9 MB, free: 16.6 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.3272, allocations: 1.891 kB / 377.9 MB, free: 16.6 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001401/0.3286, allocations: 0.788 MB / 378.7 MB, free: 16.16 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000115/0.3288, allocations: 150.5 kB / 378.8 MB, free: 16.02 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000114/0.3289, allocations: 32.83 kB / 378.9 MB, free: 16.01 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000254/0.3291, allocations: 21.81 kB / 378.9 MB, free: 16.01 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/0.3293, allocations: 34.52 kB / 378.9 MB, free: 16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.474e-05/0.3293, allocations: 23.78 kB / 378.9 MB, free: 16 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0008197/0.3301, allocations: 0.6977 MB / 379.6 MB, free: 15.71 MB / 302.1 MB Notification: Performance of sort global known variables: time 8.92e-07/0.3302, allocations: 0 / 379.6 MB, free: 15.71 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005732/0.3307, allocations: 159.8 kB / 379.8 MB, free: 15.7 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.002245/0.333, allocations: 1.709 MB / 381.5 MB, free: 14.63 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009845/0.334, allocations: 0.6265 MB / 382.1 MB, free: 14.29 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.334, allocations: 1.406 kB / 382.1 MB, free: 14.29 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005013/0.3345, allocations: 436.3 kB / 382.6 MB, free: 14 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008818/0.3354, allocations: 189.6 kB / 382.7 MB, free: 13.93 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01098/0.3464, allocations: 6.746 MB / 389.5 MB, free: 10.15 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004748/0.3469, allocations: 0.9408 MB / 390.4 MB, free: 9.418 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.00037/0.3473, allocations: 111.9 kB / 390.5 MB, free: 9.391 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003237/0.3476, allocations: 246.7 kB / 390.8 MB, free: 9.215 MB / 302.1 MB Notification: Performance of SimCode: time 6.92e-07/0.3476, allocations: 0 / 390.8 MB, free: 9.215 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08751/0.4351, allocations: 15.68 MB / 406.5 MB, free: 13.15 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003233/0.4355, allocations: 229.2 kB / 406.7 MB, free: 12.89 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.774/3.209, allocations: 3.938 kB / 406.7 MB, free: 12.89 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)