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.0009711/0.0009709, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 221.5 MB / 230.3 MB, free: 7.574 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.0008748/0.0008744, allocations: 86.3 kB / 281.2 MB, free: 5.328 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.46e-05/1.462e-05, allocations: 0 / 337.1 MB, free: 9.949 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09964/0.09967, allocations: 50.42 MB / 387.5 MB, free: 7.492 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3879/0.4876, allocations: 76.67 MB / 464.2 MB, free: 2.062 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002543/0.488, allocations: 63.97 kB / 464.3 MB, free: 2 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03361/0.5216, allocations: 11.61 MB / 475.9 MB, free: 6.297 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.073e-06/0.5216, allocations: 0 / 475.9 MB, free: 6.297 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.18e-05/0.5217, allocations: 31.92 kB / 475.9 MB, free: 6.266 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: 243 * Number of variables: 243 Notification: Performance of Generate backend data structure: time 0.001554/0.5233, allocations: 0.9097 MB / 476.8 MB, free: 5.281 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.463e-05/0.5233, allocations: 11.97 kB / 476.8 MB, free: 5.27 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001707/0.5235, allocations: 90.97 kB / 476.9 MB, free: 5.18 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006798/0.5242, allocations: 450.1 kB / 477.4 MB, free: 4.699 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.239e-05/0.5243, allocations: 44 kB / 477.4 MB, free: 4.656 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001277/0.5244, allocations: 75.98 kB / 477.5 MB, free: 4.582 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001187/0.5256, allocations: 0.6248 MB / 478.1 MB, free: 3.957 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001398/0.527, allocations: 0.8097 MB / 478.9 MB, free: 3.121 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.504e-05/0.5271, allocations: 4 kB / 478.9 MB, free: 3.117 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.531e-05/0.5271, allocations: 3.953 kB / 478.9 MB, free: 3.113 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.737e-05/0.5272, allocations: 35.92 kB / 479 MB, free: 3.078 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003058/0.5302, allocations: 2.311 MB / 481.3 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008049/0.5311, allocations: 0.6142 MB / 481.9 MB, free: 56 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000401/0.5315, allocations: 302.1 kB / 482.2 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.745e-05/0.5316, allocations: 20.84 kB / 482.2 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005739/0.5321, allocations: 412.4 kB / 482.6 MB, free: 15.3 MB / 362.7 MB Notification: Performance of pre-optimization done (n=100): time 2.154e-06/0.5322, allocations: 0 / 482.6 MB, free: 15.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=100): time 0.0009716/0.5331, allocations: 0.5465 MB / 483.2 MB, free: 14.75 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.31e-05/0.5332, allocations: 135.6 kB / 483.3 MB, free: 14.59 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002546/0.5335, allocations: 287.6 kB / 483.6 MB, free: 14.31 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.509e-05/0.5336, allocations: 53.69 kB / 483.6 MB, free: 14.25 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001965/0.5338, allocations: 297.1 kB / 483.9 MB, free: 13.95 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001903/0.534, allocations: 229 kB / 484.1 MB, free: 13.73 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-05/0.534, allocations: 0 / 484.1 MB, free: 13.73 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.5342, allocations: 366.8 kB / 484.5 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003709/0.5345, allocations: 238.6 kB / 484.7 MB, free: 13.12 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004997/0.5351, allocations: 442 kB / 485.2 MB, free: 12.61 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004319/0.5355, allocations: 246.2 kB / 485.4 MB, free: 12.38 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.5355, allocations: 4 kB / 485.4 MB, free: 12.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.001144/0.5367, allocations: 0.7501 MB / 486.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.667e-05/0.5367, allocations: 8 kB / 486.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.819e-05/0.5367, allocations: 4 kB / 486.2 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.872e-05/0.5368, allocations: 16 kB / 486.2 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004499/0.5372, allocations: 111.7 kB / 486.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.779e-05/0.5373, allocations: 19.88 kB / 486.3 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003205/0.5376, allocations: 56.12 kB / 486.4 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.813e-05/0.5377, allocations: 51.98 kB / 486.4 MB, free: 11.35 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.0002229/0.5379, allocations: 174.9 kB / 486.6 MB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008649/0.5388, allocations: 0.5504 MB / 487.1 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.11e-05/0.5389, allocations: 55.36 kB / 487.2 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001199/0.5401, allocations: 0.6633 MB / 487.9 MB, free: 9.887 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.225e-05/0.5401, allocations: 12 kB / 487.9 MB, free: 9.875 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.595e-06/0.5401, allocations: 3.953 kB / 487.9 MB, free: 9.871 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/0.5401, allocations: 11.98 kB / 487.9 MB, free: 9.859 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00233/0.5425, allocations: 1.479 MB / 489.4 MB, free: 8.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/0.5425, allocations: 0 / 489.4 MB, free: 8.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002782/0.5428, allocations: 79.77 kB / 489.4 MB, free: 8.262 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.355e-06/0.5428, allocations: 4 kB / 489.4 MB, free: 8.258 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.75e-05/0.5428, allocations: 15.98 kB / 489.5 MB, free: 8.242 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/0.5428, allocations: 4 kB / 489.5 MB, free: 8.238 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.5429, allocations: 0 / 489.5 MB, free: 8.238 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/0.5439, allocations: 0.7557 MB / 490.2 MB, free: 7.445 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.253e-05/0.544, allocations: 128.4 kB / 490.3 MB, free: 7.301 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.345e-05/0.5441, allocations: 7.984 kB / 490.3 MB, free: 7.293 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000216/0.5443, allocations: 35.86 kB / 490.4 MB, free: 7.258 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001743/0.5445, allocations: 101.2 kB / 490.5 MB, free: 7.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.7e-05/0.5445, allocations: 31.98 kB / 490.5 MB, free: 7.129 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001088/0.5446, allocations: 148.5 kB / 490.7 MB, free: 6.988 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5446, allocations: 0 / 490.7 MB, free: 6.988 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005658/0.5452, allocations: 132 kB / 490.8 MB, free: 6.859 MB / 362.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.001378/0.5466, allocations: 1.483 MB / 492.3 MB, free: 5.34 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009111/0.5475, allocations: 0.6709 MB / 492.9 MB, free: 4.668 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.82e-06/0.5475, allocations: 0 / 492.9 MB, free: 4.668 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005722/0.5481, allocations: 361.2 kB / 493.3 MB, free: 4.32 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003609/0.5485, allocations: 70.03 kB / 493.4 MB, free: 4.254 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001776/0.5503, allocations: 0.9881 MB / 494.4 MB, free: 3.219 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004822/0.5508, allocations: 0.9701 MB / 495.3 MB, free: 2.223 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003251/0.5511, allocations: 102 kB / 495.4 MB, free: 2.121 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004023/0.5515, allocations: 271.3 kB / 495.7 MB, free: 1.855 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.5515, allocations: 3.938 kB / 495.7 MB, free: 1.852 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0379/0.5894, allocations: 11.74 MB / 0.4955 GB, free: 6.145 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000283/0.5898, allocations: 130.5 kB / 0.4957 GB, free: 5.953 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.469/3.059, allocations: 4 kB / 0.4957 GB, free: 5.949 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