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.001071/0.001071, allocations: 172.9 kB / 14.1 MB, free: 1.223 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.35/1.35, allocations: 205.2 MB / 219.8 MB, free: 14.26 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.0008287/0.0008289, allocations: 78.66 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.48e-05/2.489e-05, allocations: 4 kB / 322.5 MB, free: 17.27 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08612/0.08616, allocations: 47.57 MB / 370.1 MB, free: 1.633 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2761/0.3623, allocations: 76.35 MB / 446.4 MB, free: 0.9141 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001451/0.3625, allocations: 70.58 kB / 446.5 MB, free: 0.8789 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02749/0.39, allocations: 11.58 MB / 458.1 MB, free: 6.777 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.39, allocations: 0 / 458.1 MB, free: 6.777 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.427e-05/0.3901, allocations: 27.94 kB / 458.1 MB, free: 6.75 MB / 330.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.001256/0.3913, allocations: 0.898 MB / 459 MB, free: 5.773 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.3914, allocations: 12.03 kB / 459 MB, free: 5.762 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001622/0.3916, allocations: 152 kB / 459.2 MB, free: 5.605 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001417/0.3917, allocations: 90.97 kB / 459.3 MB, free: 5.516 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005968/0.3923, allocations: 438 kB / 459.7 MB, free: 5.047 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.691e-05/0.3924, allocations: 89.95 kB / 459.8 MB, free: 4.961 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001358/0.3926, allocations: 112 kB / 459.9 MB, free: 4.852 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001404/0.394, allocations: 0.9261 MB / 460.8 MB, free: 3.898 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/0.394, allocations: 0 / 460.8 MB, free: 3.898 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.215e-05/0.3941, allocations: 44 kB / 460.9 MB, free: 3.855 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.074e-05/0.3941, allocations: 23.98 kB / 460.9 MB, free: 3.832 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001101/0.3952, allocations: 0.6872 MB / 461.6 MB, free: 3.145 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002954/0.3982, allocations: 2.4 MB / 464 MB, free: 0.6641 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008689/0.399, allocations: 0.6499 MB / 464.6 MB, free: 15.98 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004179/0.3995, allocations: 323.8 kB / 464.9 MB, free: 15.66 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.596e-05/0.3996, allocations: 28.61 kB / 465 MB, free: 15.64 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005794/0.4001, allocations: 417 kB / 465.4 MB, free: 15.21 MB / 346.7 MB Notification: Performance of pre-optimization done (n=99): time 2.244e-06/0.4002, allocations: 0 / 465.4 MB, free: 15.21 MB / 346.7 MB Notification: Performance of matching and sorting (n=99): time 0.0009253/0.4011, allocations: 0.5934 MB / 466 MB, free: 14.61 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.896e-05/0.4011, allocations: 101.9 kB / 466.1 MB, free: 14.49 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002528/0.4014, allocations: 296.2 kB / 466.4 MB, free: 14.2 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.057e-05/0.4015, allocations: 73.69 kB / 466.4 MB, free: 14.12 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001828/0.4017, allocations: 305 kB / 466.7 MB, free: 13.81 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001779/0.4019, allocations: 244.9 kB / 467 MB, free: 13.57 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.237e-05/0.4019, allocations: 24.03 kB / 467 MB, free: 13.55 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.4021, allocations: 362.8 kB / 467.3 MB, free: 13.18 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004033/0.4025, allocations: 262.6 kB / 467.6 MB, free: 12.93 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005479/0.403, allocations: 471.7 kB / 468.1 MB, free: 12.39 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004113/0.4034, allocations: 264.9 kB / 468.3 MB, free: 12.13 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.4035, allocations: 4 kB / 468.3 MB, free: 12.13 MB / 346.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001172/0.4046, allocations: 0.8403 MB / 469.2 MB, free: 11.28 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.4047, allocations: 8 kB / 469.2 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.811e-05/0.4047, allocations: 12.06 kB / 469.2 MB, free: 11.26 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.783e-05/0.4047, allocations: 12 kB / 469.2 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003878/0.4051, allocations: 115.6 kB / 469.3 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.836e-05/0.4051, allocations: 15.98 kB / 469.3 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002833/0.4054, allocations: 59.73 kB / 469.4 MB, free: 11.06 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.531e-05/0.4055, allocations: 55.92 kB / 469.4 MB, free: 11.01 MB / 346.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 () * 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.0001914/0.4057, allocations: 226.6 kB / 469.7 MB, free: 10.77 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.684e-05/0.4058, allocations: 51.39 kB / 469.7 MB, free: 10.72 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001102/0.4069, allocations: 0.7416 MB / 470.4 MB, free: 9.98 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/0.4069, allocations: 12 kB / 470.5 MB, free: 9.969 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.4069, allocations: 3.938 kB / 470.5 MB, free: 9.965 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.407, allocations: 3.984 kB / 470.5 MB, free: 9.961 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002293/0.4093, allocations: 1.647 MB / 472.1 MB, free: 8.258 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.4093, allocations: 8 kB / 472.1 MB, free: 8.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002634/0.4095, allocations: 71.83 kB / 472.2 MB, free: 8.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.674e-06/0.4096, allocations: 4 kB / 472.2 MB, free: 8.176 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.221e-05/0.4096, allocations: 23.94 kB / 472.2 MB, free: 8.152 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/0.4096, allocations: 4 kB / 472.2 MB, free: 8.148 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.4096, allocations: 4 kB / 472.2 MB, free: 8.145 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009352/0.4106, allocations: 0.7796 MB / 473 MB, free: 7.34 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.209e-05/0.4106, allocations: 132.3 kB / 473.1 MB, free: 7.191 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.87e-05/0.4107, allocations: 19.98 kB / 473.2 MB, free: 7.172 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002163/0.4109, allocations: 39.97 kB / 473.2 MB, free: 7.133 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001901/0.4111, allocations: 100.8 kB / 473.3 MB, free: 7.035 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.648e-05/0.4112, allocations: 35.98 kB / 473.3 MB, free: 7 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000121/0.4113, allocations: 157.4 kB / 473.5 MB, free: 6.852 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4113, allocations: 0 / 473.5 MB, free: 6.852 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004816/0.4118, allocations: 160 kB / 473.6 MB, free: 6.695 MB / 346.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) * 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.001362/0.4132, allocations: 1.464 MB / 475.1 MB, free: 5.195 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009926/0.4142, allocations: 0.7221 MB / 475.8 MB, free: 4.473 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.4142, allocations: 448 / 475.8 MB, free: 4.473 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004737/0.4147, allocations: 381.6 kB / 476.2 MB, free: 4.102 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003376/0.415, allocations: 69.27 kB / 476.3 MB, free: 4.035 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001713/0.4168, allocations: 1.062 MB / 477.3 MB, free: 2.926 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004752/0.4172, allocations: 0.9665 MB / 478.3 MB, free: 1.93 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002863/0.4175, allocations: 109.9 kB / 478.4 MB, free: 1.82 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003651/0.4179, allocations: 267.3 kB / 478.7 MB, free: 1.559 MB / 346.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4179, allocations: 0 / 478.7 MB, free: 1.559 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02545/0.4434, allocations: 12.12 MB / 490.8 MB, free: 5.43 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001552/0.4436, allocations: 158.1 kB / 490.9 MB, free: 5.195 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.236/2.68, allocations: 3.938 kB / 490.9 MB, free: 5.191 MB / 362.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