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.002022/0.002022, allocations: 180.2 kB / 16.38 MB, free: 5.766 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.491/1.491, allocations: 223.2 MB / 240.3 MB, free: 11.91 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001145/0.001146, allocations: 97.75 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003529/0.0003529, allocations: 8 kB / 351.2 MB, free: 15.23 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3238, allocations: 50.39 MB / 401.6 MB, free: 32.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1088/0.4327, allocations: 77.42 MB / 479 MB, free: 3.066 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002487/0.433, allocations: 68.47 kB / 479 MB, free: 3 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03166/0.4647, allocations: 11.92 MB / 491 MB, free: 6.984 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.4647, allocations: 7.938 kB / 491 MB, free: 6.977 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.318e-05/0.4648, allocations: 24 kB / 491 MB, free: 6.953 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.002347/0.4672, allocations: 0.929 MB / 491.9 MB, free: 5.941 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/0.4672, allocations: 12.03 kB / 491.9 MB, free: 5.93 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003905/0.4676, allocations: 152 kB / 492.1 MB, free: 5.773 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003144/0.468, allocations: 90.97 kB / 492.2 MB, free: 5.684 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000901/0.4689, allocations: 449.6 kB / 492.6 MB, free: 5.203 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001164/0.469, allocations: 86 kB / 492.7 MB, free: 5.121 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001978/0.4692, allocations: 112 kB / 492.8 MB, free: 5.012 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002011/0.4712, allocations: 0.9579 MB / 493.8 MB, free: 4.023 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.669e-05/0.4713, allocations: 0 / 493.8 MB, free: 4.023 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-05/0.4714, allocations: 43.95 kB / 493.8 MB, free: 3.98 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.346e-05/0.4714, allocations: 20 kB / 493.8 MB, free: 3.961 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001521/0.4729, allocations: 0.7105 MB / 494.5 MB, free: 3.25 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004055/0.477, allocations: 2.49 MB / 497 MB, free: 0.6797 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001086/0.4781, allocations: 0.6854 MB / 497.7 MB, free: 15.97 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.785e-05/0.4782, allocations: 17.48 kB / 497.7 MB, free: 15.96 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007445/0.479, allocations: 447.5 kB / 498.2 MB, free: 15.5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=100): time 3.597e-06/0.479, allocations: 0 / 498.2 MB, free: 15.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=100): time 0.001568/0.4806, allocations: 0.8473 MB / 499 MB, free: 14.64 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/0.4807, allocations: 127.8 kB / 499.1 MB, free: 14.5 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003626/0.4811, allocations: 295.6 kB / 499.4 MB, free: 14.2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001218/0.4812, allocations: 69.69 kB / 499.5 MB, free: 14.12 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002757/0.4815, allocations: 309 kB / 499.8 MB, free: 13.82 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002528/0.4817, allocations: 244.9 kB / 0.4883 GB, free: 13.57 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.844e-05/0.4818, allocations: 24 kB / 0.4883 GB, free: 13.55 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002271/0.482, allocations: 370.8 kB / 0.4887 GB, free: 13.18 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005145/0.4825, allocations: 262.5 kB / 0.4889 GB, free: 12.92 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006672/0.4832, allocations: 492.5 kB / 0.4894 GB, free: 12.36 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005386/0.4838, allocations: 274.4 kB / 0.4897 GB, free: 12.1 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.655e-06/0.4838, allocations: 4 kB / 0.4897 GB, free: 12.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.00147/0.4853, allocations: 0.8753 MB / 0.4905 GB, free: 11.21 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/0.4853, allocations: 8 kB / 0.4905 GB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/0.4853, allocations: 4 kB / 0.4905 GB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.225e-05/0.4854, allocations: 12 kB / 0.4906 GB, free: 11.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004132/0.4858, allocations: 115.7 kB / 0.4907 GB, free: 11.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.879e-05/0.4858, allocations: 23.88 kB / 0.4907 GB, free: 11.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004291/0.4862, allocations: 67.86 kB / 0.4908 GB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.988e-05/0.4864, allocations: 51.98 kB / 0.4908 GB, free: 10.93 MB / 378.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 () * Number of clocked 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.0004671/0.4868, allocations: 303.7 kB / 0.4911 GB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.936e-05/0.4869, allocations: 47.44 kB / 0.4911 GB, free: 10.57 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001312/0.4883, allocations: 0.7572 MB / 0.4919 GB, free: 9.812 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-05/0.4883, allocations: 12 kB / 0.4919 GB, free: 9.801 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.4883, allocations: 0 / 0.4919 GB, free: 9.801 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.631e-05/0.4883, allocations: 15.92 kB / 0.4919 GB, free: 9.785 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002925/0.4912, allocations: 1.684 MB / 0.4935 GB, free: 8.043 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.4913, allocations: 0 / 0.4935 GB, free: 8.043 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002674/0.4915, allocations: 75.7 kB / 0.4936 GB, free: 7.969 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.477e-05/0.4916, allocations: 8 kB / 0.4936 GB, free: 7.961 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.965e-05/0.4916, allocations: 23.98 kB / 0.4937 GB, free: 7.938 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.544e-06/0.4916, allocations: 4 kB / 0.4937 GB, free: 7.934 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.4917, allocations: 4 kB / 0.4937 GB, free: 7.93 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00115/0.4928, allocations: 0.8172 MB / 0.4945 GB, free: 7.082 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001294/0.493, allocations: 124.4 kB / 0.4946 GB, free: 6.941 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.557e-05/0.493, allocations: 23.98 kB / 0.4946 GB, free: 6.918 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002588/0.4933, allocations: 47.92 kB / 0.4946 GB, free: 6.871 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002197/0.4935, allocations: 100.8 kB / 0.4947 GB, free: 6.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.231e-05/0.4936, allocations: 35.98 kB / 0.4948 GB, free: 6.734 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001459/0.4938, allocations: 152.5 kB / 0.4949 GB, free: 6.586 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4938, allocations: 0 / 0.4949 GB, free: 6.586 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007538/0.4945, allocations: 171.9 kB / 0.4951 GB, free: 6.418 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) * Number of clocked states: 0 () * 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.001709/0.4962, allocations: 1.569 MB / 0.4966 GB, free: 4.812 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001413/0.4977, allocations: 0.7482 MB / 0.4973 GB, free: 4.062 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.4977, allocations: 1.562 kB / 0.4973 GB, free: 4.062 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005683/0.4983, allocations: 389.5 kB / 0.4977 GB, free: 3.684 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004311/0.4987, allocations: 80.16 kB / 0.4978 GB, free: 3.609 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2394/0.7381, allocations: 7.072 MB / 0.5047 GB, free: 95.54 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006063/0.7387, allocations: 0.9731 MB / 0.5057 GB, free: 94.84 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004403/0.7392, allocations: 107.5 kB / 0.5058 GB, free: 94.83 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004326/0.7396, allocations: 269.8 kB / 0.506 GB, free: 94.82 MB / 378.7 MB Notification: Performance of SimCode: time 1.062e-06/0.7396, allocations: 1.375 kB / 0.506 GB, free: 94.82 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02762/0.7673, allocations: 12 MB / 0.5177 GB, free: 91.76 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001502/0.7675, allocations: 168.4 kB / 0.5179 GB, free: 91.52 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.592/3.36, allocations: 0 / 0.5179 GB, free: 91.52 MB / 378.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