Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.StateGraph.Examples.ExecutionPaths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.StateGraph.Examples.ExecutionPaths,fileNamePrefix="Modelica_4_0_0_Modelica_StateGraph_Examples_ExecutionPaths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.StateGraph.Examples.ExecutionPaths,fileNamePrefix="Modelica_4_0_0_Modelica_StateGraph_Examples_ExecutionPaths",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 174.8 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.537/1.537, allocations: 221.3 MB / 235.5 MB, free: 2.945 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008516/0.0008516, allocations: 100.6 kB / 286.5 MB, free: 244 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.367e-05/2.37e-05, allocations: 0 / 343.9 MB, free: 4.246 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1191, allocations: 50.41 MB / 394.3 MB, free: 1.789 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3696/0.4887, allocations: 77.34 MB / 471.7 MB, free: 10.15 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002571/0.489, allocations: 67.97 kB / 471.7 MB, free: 10.09 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03045/0.5195, allocations: 11.88 MB / 483.6 MB, free: 14.11 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.5195, allocations: 4 kB / 483.6 MB, free: 14.1 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.476e-05/0.5196, allocations: 23.94 kB / 483.6 MB, free: 14.08 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 243 * Number of variables: 243 Notification: Performance of Generate backend data structure: time 0.001536/0.5211, allocations: 0.9175 MB / 484.6 MB, free: 13.08 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.5212, allocations: 12.03 kB / 484.6 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001769/0.5214, allocations: 152 kB / 484.7 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001452/0.5215, allocations: 94.95 kB / 484.8 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006373/0.5222, allocations: 441.7 kB / 485.2 MB, free: 12.35 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001036/0.5223, allocations: 86 kB / 485.3 MB, free: 12.27 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001439/0.5224, allocations: 116 kB / 485.4 MB, free: 12.15 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001537/0.524, allocations: 0.9386 MB / 486.4 MB, free: 11.18 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/0.524, allocations: 3.984 kB / 486.4 MB, free: 11.18 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.735e-05/0.5241, allocations: 43.95 kB / 486.4 MB, free: 11.14 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.53e-05/0.5241, allocations: 27.94 kB / 486.5 MB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001204/0.5254, allocations: 0.6912 MB / 487.1 MB, free: 10.42 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003407/0.5288, allocations: 2.482 MB / 489.6 MB, free: 7.855 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000985/0.5298, allocations: 0.6629 MB / 490.3 MB, free: 7.152 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004721/0.5303, allocations: 336.7 kB / 490.6 MB, free: 6.816 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.68e-05/0.5303, allocations: 18.05 kB / 490.6 MB, free: 6.801 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006553/0.531, allocations: 442.7 kB / 491.1 MB, free: 6.348 MB / 362.7 MB Notification: Performance of pre-optimization done (n=100): time 2.956e-06/0.531, allocations: 0 / 491.1 MB, free: 6.348 MB / 362.7 MB Notification: Performance of matching and sorting (n=100): time 0.001045/0.5321, allocations: 0.6051 MB / 491.7 MB, free: 5.738 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.803e-05/0.5322, allocations: 127.5 kB / 491.8 MB, free: 5.59 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002929/0.5325, allocations: 296.2 kB / 492.1 MB, free: 5.297 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.357e-05/0.5326, allocations: 77.69 kB / 492.2 MB, free: 5.215 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002352/0.5328, allocations: 297.2 kB / 492.5 MB, free: 4.918 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002379/0.5331, allocations: 245 kB / 492.7 MB, free: 4.676 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.335e-05/0.5331, allocations: 27.94 kB / 492.7 MB, free: 4.648 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001729/0.5333, allocations: 366.8 kB / 493.1 MB, free: 4.281 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004329/0.5337, allocations: 254.6 kB / 493.3 MB, free: 4.035 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006257/0.5344, allocations: 476.6 kB / 493.8 MB, free: 3.488 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004618/0.5349, allocations: 280.8 kB / 494.1 MB, free: 3.215 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.5349, allocations: 4 kB / 494.1 MB, free: 3.211 MB / 362.7 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.001293/0.5362, allocations: 0.8516 MB / 494.9 MB, free: 2.352 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.5362, allocations: 9.25 kB / 494.9 MB, free: 2.344 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/0.5362, allocations: 8 kB / 494.9 MB, free: 2.336 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.167e-05/0.5363, allocations: 15.94 kB / 495 MB, free: 2.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000417/0.5367, allocations: 119.6 kB / 495.1 MB, free: 2.203 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.924e-05/0.5367, allocations: 15.92 kB / 495.1 MB, free: 2.188 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000324/0.537, allocations: 76.14 kB / 495.2 MB, free: 2.113 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.778e-05/0.5371, allocations: 51.98 kB / 495.2 MB, free: 2.062 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 126 ($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,$PRE.transition7.t_start,transition7.t_start,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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 156 * 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.0002161/0.5374, allocations: 214.9 kB / 495.4 MB, free: 1.84 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.366e-05/0.5374, allocations: 51.44 kB / 495.5 MB, free: 1.789 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001213/0.5387, allocations: 0.7299 MB / 496.2 MB, free: 1.055 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.865e-05/0.5387, allocations: 12 kB / 496.2 MB, free: 1.043 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.974e-06/0.5387, allocations: 3.953 kB / 496.2 MB, free: 1.039 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.218e-05/0.5387, allocations: 3.984 kB / 496.2 MB, free: 1.035 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00243/0.5412, allocations: 1.678 MB / 497.9 MB, free: 15.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.5412, allocations: 4 kB / 497.9 MB, free: 15.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002651/0.5415, allocations: 67.83 kB / 498 MB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.538e-06/0.5415, allocations: 4 kB / 498 MB, free: 15.22 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.517e-05/0.5415, allocations: 23.98 kB / 498 MB, free: 15.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.5415, allocations: 4 kB / 498 MB, free: 15.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.5416, allocations: 7.938 kB / 498 MB, free: 15.19 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.5426, allocations: 0.7977 MB / 498.8 MB, free: 14.36 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.5427, allocations: 132.3 kB / 498.9 MB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.626e-05/0.5428, allocations: 23.94 kB / 499 MB, free: 14.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002202/0.543, allocations: 43.97 kB / 499 MB, free: 14.14 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002062/0.5432, allocations: 104.8 kB / 499.1 MB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.017e-05/0.5433, allocations: 35.98 kB / 499.1 MB, free: 14 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001197/0.5434, allocations: 149.4 kB / 499.3 MB, free: 13.86 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5434, allocations: 0 / 499.3 MB, free: 13.86 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005427/0.544, allocations: 172 kB / 499.5 MB, free: 13.69 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 85 (transition7.t_start,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: 9 (step0.newActive,step1.newActive,step6.newActive,step2.newActive,step3.newActive,step4.newActive,step5.newActive,step4a.newActive,transition7.t_start) * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 17 * 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.001494/0.5455, allocations: 1.549 MB / 0.4893 GB, free: 12.1 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001093/0.5466, allocations: 0.73 MB / 0.49 GB, free: 11.38 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.5466, allocations: 4 kB / 0.49 GB, free: 11.38 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005287/0.5471, allocations: 382 kB / 0.4903 GB, free: 11 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003714/0.5475, allocations: 84.3 kB / 0.4904 GB, free: 10.92 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001943/0.5495, allocations: 1.075 MB / 0.4915 GB, free: 9.797 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005486/0.55, allocations: 0.9705 MB / 0.4924 GB, free: 8.801 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003245/0.5503, allocations: 110 kB / 0.4925 GB, free: 8.691 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003921/0.5507, allocations: 267.3 kB / 0.4928 GB, free: 8.43 MB / 378.7 MB Notification: Performance of SimCode: time 5.11e-07/0.5508, allocations: 0 / 0.4928 GB, free: 8.43 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02749/0.5782, allocations: 12.18 MB / 0.5047 GB, free: 12.39 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001808/0.5785, allocations: 147.6 kB / 0.5048 GB, free: 12.16 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.438/3.016, allocations: 3.938 kB / 0.5048 GB, free: 12.16 MB / 394.7 MB (rm -f Modelica_4.0.0_Modelica.StateGraph.Examples.ExecutionPaths.pipe ; mkfifo Modelica_4.0.0_Modelica.StateGraph.Examples.ExecutionPaths.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.StateGraph.Examples.ExecutionPaths.pipe >> ../files/Modelica_4.0.0_Modelica.StateGraph.Examples.ExecutionPaths.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.StateGraph.Examples.ExecutionPaths_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_StateGraph_Examples_ExecutionPaths_fmu --startTime=0 --stopTime=15.5 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_StateGraph_Examples_ExecutionPaths.fmu > Modelica_4.0.0_Modelica.StateGraph.Examples.ExecutionPaths.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.StateGraph.Examples.ExecutionPaths_res.mat does not exist to compare? outputFormat=mat