Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.StateGraph.Examples.ExecutionPaths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.StateGraph.Examples.ExecutionPaths,fileNamePrefix="Modelica_3_2_3_Modelica_StateGraph_Examples_ExecutionPaths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.StateGraph.Examples.ExecutionPaths,fileNamePrefix="Modelica_3_2_3_Modelica_StateGraph_Examples_ExecutionPaths",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001253/0.001252, allocations: 180 kB / 17.01 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.401/1.401, allocations: 205.4 MB / 223.1 MB, free: 9.035 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000828/0.000828, allocations: 99.78 kB / 271.5 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002224/0.0002225, allocations: 11.98 kB / 328.3 MB, free: 15.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2091/0.2093, allocations: 47.57 MB / 375.9 MB, free: 45.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0858/0.2952, allocations: 76.44 MB / 452.3 MB, free: 4.211 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001845/0.2954, allocations: 75.95 kB / 452.4 MB, free: 4.137 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0275/0.3229, allocations: 11.6 MB / 464 MB, free: 8.473 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.835e-06/0.323, allocations: 0 / 464 MB, free: 8.473 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.12e-05/0.323, allocations: 27.94 kB / 464 MB, free: 8.445 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.001367/0.3244, allocations: 0.9251 MB / 465 MB, free: 7.438 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.3244, allocations: 8.031 kB / 465 MB, free: 7.43 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001689/0.3246, allocations: 155.9 kB / 465.1 MB, free: 7.27 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000163/0.3248, allocations: 90.97 kB / 465.2 MB, free: 7.18 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006596/0.3255, allocations: 434.7 kB / 465.6 MB, free: 6.715 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.474e-05/0.3256, allocations: 93.94 kB / 465.7 MB, free: 6.625 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001376/0.3257, allocations: 107.9 kB / 465.8 MB, free: 6.52 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001454/0.3272, allocations: 0.9494 MB / 466.8 MB, free: 5.543 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.896e-05/0.3272, allocations: 0 / 466.8 MB, free: 5.543 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.806e-05/0.3273, allocations: 40 kB / 466.8 MB, free: 5.504 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.114e-05/0.3273, allocations: 27.94 kB / 466.9 MB, free: 5.477 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001094/0.3284, allocations: 0.7027 MB / 467.6 MB, free: 4.773 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00282/0.3312, allocations: 2.388 MB / 469.9 MB, free: 2.309 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008558/0.3321, allocations: 0.6699 MB / 470.6 MB, free: 1.625 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.219e-05/0.3322, allocations: 25.05 kB / 470.6 MB, free: 1.602 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005703/0.3328, allocations: 421.8 kB / 471.1 MB, free: 1.172 MB / 346.7 MB Notification: Performance of pre-optimization done (n=99): time 3.898e-06/0.3328, allocations: 0 / 471.1 MB, free: 1.172 MB / 346.7 MB Notification: Performance of matching and sorting (n=99): time 0.001252/0.334, allocations: 0.8358 MB / 471.9 MB, free: 340 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.522e-05/0.3341, allocations: 106.1 kB / 472 MB, free: 212 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002665/0.3344, allocations: 303.1 kB / 472.3 MB, free: 15.9 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.713e-05/0.3345, allocations: 73.69 kB / 472.4 MB, free: 15.82 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000179/0.3347, allocations: 297.1 kB / 472.6 MB, free: 15.53 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000174/0.3349, allocations: 244.9 kB / 472.9 MB, free: 15.29 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.809e-05/0.3349, allocations: 24 kB / 472.9 MB, free: 15.26 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.3351, allocations: 366.8 kB / 473.3 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004159/0.3355, allocations: 266.5 kB / 473.5 MB, free: 14.63 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005242/0.336, allocations: 483.6 kB / 474 MB, free: 14.08 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004092/0.3364, allocations: 274.4 kB / 474.3 MB, free: 13.82 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.3364, allocations: 0 / 474.3 MB, free: 13.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001152/0.3376, allocations: 0.8711 MB / 475.1 MB, free: 12.94 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.3376, allocations: 8 kB / 475.1 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.437e-06/0.3376, allocations: 4 kB / 475.2 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/0.3377, allocations: 12 kB / 475.2 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004132/0.3381, allocations: 115.7 kB / 475.3 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.717e-05/0.3381, allocations: 15.94 kB / 475.3 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003097/0.3384, allocations: 71.95 kB / 475.4 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.166e-05/0.3385, allocations: 47.98 kB / 475.4 MB, free: 12.67 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 124 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,$PRE.transition5.enableFire,$PRE.transition6.enableFire,$PRE.transition7.enableFire,$PRE.transition4a.enableFire,$PRE.transition6a.enableFire,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.step0.localActive,step0.localActive,$PRE.step0.newActive,step0.newActive,$PRE.step0.oldActive,step0.oldActive,step0.active,transition1.enableFire,transition1.fire,$PRE.transition1.t_start,transition1.t_start,$PRE.step1.localActive,step1.localActive,$PRE.step1.newActive,step1.newActive,$PRE.step1.oldActive,step1.oldActive,step1.active,transition2.enableFire,transition2.fire,$PRE.transition2.t_start,transition2.t_start,$PRE.step6.localActive,step6.localActive,$PRE.step6.newActive,step6.newActive,$PRE.step6.oldActive,step6.oldActive,step6.active,$PRE.step2.localActive,step2.localActive,step2.outPort[1].reset,$PRE.step2.newActive,step2.newActive,$PRE.step2.oldActive,step2.oldActive,step2.active,transition3.enableFire,transition3.fire,$PRE.transition3.t_start,transition3.t_start,transition4.enableFire,transition4.fire,$PRE.transition4.t_start,transition4.t_start,$PRE.step3.localActive,step3.localActive,$PRE.step3.newActive,step3.newActive,$PRE.step3.oldActive,step3.oldActive,step3.active,$PRE.step4.localActive,step4.localActive,$PRE.step4.newActive,step4.newActive,$PRE.step4.oldActive,step4.oldActive,step4.active,transition5.enableFire,transition5.fire,$PRE.transition5.t_start,transition5.t_start,transition6.enableFire,transition6.fire,$PRE.transition6.t_start,transition6.t_start,$PRE.step5.localActive,step5.localActive,step5.inPort[1].set,$PRE.step5.newActive,step5.newActive,$PRE.step5.oldActive,step5.oldActive,step5.active,transition7.enableFire,setCondition.y,transition4a.enableFire,transition4a.fire,$PRE.transition4a.t_start,transition4a.t_start,$PRE.step4a.localActive,step4a.localActive,$PRE.step4a.newActive,step4a.newActive,$PRE.step4a.oldActive,step4a.oldActive,step4a.active,transition6a.enableFire,transition6a.fire,$PRE.transition6a.t_start,transition6a.t_start,alternative.split[2].available,alternative.split[3].available,Parallel1.inPort.occupied,Parallel1.outPort.available,stateGraphRoot.activeSteps,stateGraphRoot.resume,stateGraphRoot.suspend,transition6a.condition,transition4a.condition,transition6.condition,transition5.condition,transition4.condition,transition3.condition,transition2.condition,transition1.condition) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (154): * Single equations (assignments): 154 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000342/0.3389, allocations: 303.5 kB / 475.7 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.648e-05/0.3389, allocations: 55.38 kB / 475.8 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001091/0.34, allocations: 0.7495 MB / 476.5 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/0.3401, allocations: 12 kB / 476.5 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.3401, allocations: 0 / 476.5 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.198e-06/0.3401, allocations: 3.984 kB / 476.5 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002316/0.3424, allocations: 1.679 MB / 478.2 MB, free: 9.801 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.3424, allocations: 0 / 478.2 MB, free: 9.801 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002481/0.3427, allocations: 67.83 kB / 478.3 MB, free: 9.734 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.338e-06/0.3427, allocations: 4 kB / 478.3 MB, free: 9.73 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.639e-05/0.3427, allocations: 31.88 kB / 478.3 MB, free: 9.699 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.671e-06/0.3428, allocations: 7.938 kB / 478.3 MB, free: 9.691 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3428, allocations: 0 / 478.3 MB, free: 9.691 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009499/0.3437, allocations: 0.7874 MB / 479.1 MB, free: 8.879 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.391e-05/0.3438, allocations: 128.4 kB / 479.2 MB, free: 8.734 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.073e-05/0.3439, allocations: 23.95 kB / 479.3 MB, free: 8.711 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002159/0.3441, allocations: 43.97 kB / 479.3 MB, free: 8.668 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001719/0.3443, allocations: 104.8 kB / 479.4 MB, free: 8.566 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-05/0.3443, allocations: 35.98 kB / 479.4 MB, free: 8.531 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000108/0.3445, allocations: 148.5 kB / 479.6 MB, free: 8.387 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3445, allocations: 0 / 479.6 MB, free: 8.387 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005771/0.345, allocations: 171.9 kB / 479.7 MB, free: 8.219 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 84 (transition4a.enableFire,transition4.enableFire,transition6a.enableFire,step4a.localActive,transition2.enableFire,step5.localActive,transition5.enableFire,transition6.enableFire,step4.localActive,step3.localActive,transition3.enableFire,transition1.enableFire,step2.localActive,step6.localActive,step1.localActive,step0.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$cse6,$cse7,$cse8,$cse9,$cse10,$cse11,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,step0.newActive,step0.oldActive,step0.active,transition1.fire,transition1.t_start,step1.newActive,step1.oldActive,step1.active,transition2.fire,transition2.t_start,step6.newActive,step6.oldActive,step6.active,step2.outPort[1].reset,step2.newActive,step2.oldActive,step2.active,transition3.fire,transition3.t_start,transition4.fire,transition4.t_start,step3.newActive,step3.oldActive,step3.active,step4.newActive,step4.oldActive,step4.active,transition5.fire,transition5.t_start,transition6.fire,transition6.t_start,step5.inPort[1].set,step5.newActive,step5.oldActive,step5.active,transition7.enableFire,setCondition.y,transition4a.fire,transition4a.t_start,step4a.newActive,step4a.oldActive,step4a.active,transition6a.fire,transition6a.t_start,alternative.split[2].available,alternative.split[3].available,Parallel1.inPort.occupied,Parallel1.outPort.available,stateGraphRoot.activeSteps) * Number of discrete states: 8 (step0.newActive,step1.newActive,step6.newActive,step2.newActive,step3.newActive,step4.newActive,step5.newActive,step4a.newActive) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 16 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001359/0.3464, allocations: 1.486 MB / 481.2 MB, free: 6.699 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001131/0.3476, allocations: 0.7373 MB / 482 MB, free: 5.965 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.3476, allocations: 0 / 482 MB, free: 5.965 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004738/0.348, allocations: 385.5 kB / 482.3 MB, free: 5.59 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003498/0.3484, allocations: 64.41 kB / 482.4 MB, free: 5.527 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005385/0.3538, allocations: 6.905 MB / 489.3 MB, free: 14.46 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004432/0.3543, allocations: 0.9705 MB / 490.3 MB, free: 13.47 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003002/0.3546, allocations: 105.9 kB / 490.4 MB, free: 13.36 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003331/0.3549, allocations: 263.3 kB / 490.6 MB, free: 13.11 MB / 378.7 MB Notification: Performance of SimCode: time 3.617e-06/0.3549, allocations: 0 / 490.6 MB, free: 13.11 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0253/0.3802, allocations: 11.91 MB / 0.4908 GB, free: 1.219 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002147/0.3805, allocations: 172.4 kB / 0.4909 GB, free: 0.9766 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.223/2.603, allocations: 0 / 0.4909 GB, free: 0.9766 MB / 378.7 MB (rm -f Modelica_3.2.3_Modelica.StateGraph.Examples.ExecutionPaths.pipe ; mkfifo Modelica_3.2.3_Modelica.StateGraph.Examples.ExecutionPaths.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.StateGraph.Examples.ExecutionPaths.pipe >> ../files/Modelica_3.2.3_Modelica.StateGraph.Examples.ExecutionPaths.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.StateGraph.Examples.ExecutionPaths_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_StateGraph_Examples_ExecutionPaths_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_StateGraph_Examples_ExecutionPaths.fmu > Modelica_3.2.3_Modelica.StateGraph.Examples.ExecutionPaths.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.StateGraph.Examples.ExecutionPaths_res.mat does not exist to compare? outputFormat=mat