Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.StateGraph.Examples.ExecutionPaths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.StateGraph.Examples.ExecutionPaths,fileNamePrefix="Modelica_trunk_Modelica_StateGraph_Examples_ExecutionPaths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.StateGraph.Examples.ExecutionPaths,fileNamePrefix="Modelica_trunk_Modelica_StateGraph_Examples_ExecutionPaths",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001385/0.001385, allocations: 202.1 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.408/1.408, allocations: 225.6 MB / 234.8 MB, free: 3.254 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009729/0.0009729, allocations: 91.41 kB / 286.7 MB, free: 5.297 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.045e-05/2.048e-05, allocations: 0 / 343.8 MB, free: 8.203 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1484, allocations: 51.48 MB / 395.3 MB, free: 4.684 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4255/0.574, allocations: 77.48 MB / 472.7 MB, free: 13.81 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002503/0.5743, allocations: 66.17 kB / 472.8 MB, free: 13.79 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02758/0.6019, allocations: 11.61 MB / 484.4 MB, free: 5.59 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.6019, allocations: 0 / 484.4 MB, free: 5.59 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.631e-05/0.602, allocations: 31.94 kB / 484.4 MB, free: 5.559 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.001191/0.6032, allocations: 0.9095 MB / 485.3 MB, free: 4.641 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.6032, allocations: 12.03 kB / 485.4 MB, free: 4.629 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001429/0.6034, allocations: 90.97 kB / 485.4 MB, free: 4.539 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004949/0.6039, allocations: 437 kB / 485.9 MB, free: 4.145 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.371e-05/0.604, allocations: 44.95 kB / 485.9 MB, free: 4.105 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.546e-05/0.6041, allocations: 67.95 kB / 486 MB, free: 4.039 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009373/0.605, allocations: 0.6334 MB / 486.6 MB, free: 3.637 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001123/0.6061, allocations: 0.8142 MB / 487.4 MB, free: 3.012 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/0.6062, allocations: 0 / 487.4 MB, free: 3.012 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.866e-05/0.6062, allocations: 3.5 kB / 487.4 MB, free: 3.012 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.65e-05/0.6063, allocations: 24 kB / 487.5 MB, free: 2.988 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002429/0.6087, allocations: 2.316 MB / 489.8 MB, free: 1.078 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006889/0.6094, allocations: 0.6235 MB / 490.4 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003411/0.6097, allocations: 301.1 kB / 490.7 MB, free: 476 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.215e-05/0.6098, allocations: 18.06 kB / 490.7 MB, free: 460 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005121/0.6104, allocations: 415.5 kB / 491.1 MB, free: 128 kB / 346.7 MB Notification: Performance of pre-optimization done (n=100): time 2.194e-06/0.6104, allocations: 0 / 491.1 MB, free: 128 kB / 346.7 MB Notification: Performance of matching and sorting (n=100): time 0.0009901/0.6114, allocations: 0.5452 MB / 491.7 MB, free: 15.69 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.455e-05/0.6115, allocations: 126.8 kB / 491.8 MB, free: 15.54 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002764/0.6117, allocations: 288.4 kB / 492.1 MB, free: 15.32 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.528e-05/0.6118, allocations: 48.38 kB / 492.1 MB, free: 15.27 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002229/0.6121, allocations: 303.6 kB / 492.4 MB, free: 15.02 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001907/0.6123, allocations: 227.1 kB / 492.6 MB, free: 14.83 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.124e-05/0.6123, allocations: 1.781 kB / 492.6 MB, free: 14.83 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001789/0.6125, allocations: 369.8 kB / 493 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003683/0.6129, allocations: 230.6 kB / 493.2 MB, free: 14.35 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005423/0.6134, allocations: 445.1 kB / 493.6 MB, free: 13.94 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004643/0.6139, allocations: 248.3 kB / 493.9 MB, free: 13.77 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.6139, allocations: 0 / 493.9 MB, free: 13.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.001217/0.6151, allocations: 0.7502 MB / 494.6 MB, free: 13.17 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.84e-05/0.6152, allocations: 16.11 kB / 494.7 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.52e-05/0.6152, allocations: 11.94 kB / 494.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.742e-05/0.6153, allocations: 12 kB / 494.7 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004825/0.6158, allocations: 113.9 kB / 494.8 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.504e-05/0.6158, allocations: 19.92 kB / 494.8 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003279/0.6161, allocations: 43.67 kB / 494.9 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.512e-05/0.6162, allocations: 53.73 kB / 494.9 MB, free: 12.92 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.0002303/0.6165, allocations: 173.5 kB / 495.1 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000877/0.6174, allocations: 0.5485 MB / 495.6 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.151e-05/0.6174, allocations: 55.38 kB / 495.7 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00138/0.6188, allocations: 0.6782 MB / 496.4 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.537e-05/0.6189, allocations: 12 kB / 496.4 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.6189, allocations: 1.781 kB / 496.4 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.593e-05/0.6189, allocations: 7.969 kB / 496.4 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002465/0.6214, allocations: 1.477 MB / 497.9 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.593e-06/0.6214, allocations: 4 kB / 497.9 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002938/0.6217, allocations: 67.22 kB / 497.9 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.065e-05/0.6217, allocations: 4 kB / 497.9 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.162e-05/0.6218, allocations: 11.94 kB / 497.9 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.516e-06/0.6218, allocations: 7.938 kB / 497.9 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.6218, allocations: 0 / 497.9 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001125/0.6229, allocations: 0.7641 MB / 498.7 MB, free: 9.762 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.623, allocations: 124.4 kB / 498.8 MB, free: 9.621 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.742e-05/0.6231, allocations: 11.8 kB / 498.8 MB, free: 9.613 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002132/0.6233, allocations: 23.98 kB / 498.9 MB, free: 9.59 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000198/0.6235, allocations: 104.5 kB / 499 MB, free: 9.504 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.107e-05/0.6236, allocations: 35.8 kB / 499 MB, free: 9.477 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001193/0.6237, allocations: 143.5 kB / 499.1 MB, free: 9.355 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6237, allocations: 0 / 499.1 MB, free: 9.355 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006494/0.6244, allocations: 131.8 kB / 499.3 MB, free: 9.23 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.001507/0.6259, allocations: 1.501 MB / 0.489 GB, free: 7.836 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009819/0.6269, allocations: 0.6696 MB / 0.4897 GB, free: 7.348 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.6269, allocations: 0 / 0.4897 GB, free: 7.348 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004428/0.6274, allocations: 354 kB / 0.49 GB, free: 7.105 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003827/0.6277, allocations: 57.83 kB / 0.4901 GB, free: 7.066 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001891/0.6297, allocations: 0.9903 MB / 0.4911 GB, free: 6.141 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005229/0.6302, allocations: 0.9701 MB / 0.492 GB, free: 5.145 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003253/0.6305, allocations: 110 kB / 0.4921 GB, free: 5.035 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004564/0.631, allocations: 267.3 kB / 0.4924 GB, free: 4.773 MB / 362.7 MB Notification: Performance of SimCode: time 5.01e-07/0.631, allocations: 0 / 0.4924 GB, free: 4.773 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03619/0.6672, allocations: 11.75 MB / 0.5038 GB, free: 9.184 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002053/0.6675, allocations: 131.3 kB / 0.504 GB, free: 8.992 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.495/3.162, allocations: 2.5 kB / 0.504 GB, free: 8.992 MB / 378.7 MB (rm -f Modelica_trunk_Modelica.StateGraph.Examples.ExecutionPaths.pipe ; mkfifo Modelica_trunk_Modelica.StateGraph.Examples.ExecutionPaths.pipe ; head -c 1048576 < Modelica_trunk_Modelica.StateGraph.Examples.ExecutionPaths.pipe >> ../files/Modelica_trunk_Modelica.StateGraph.Examples.ExecutionPaths.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.StateGraph.Examples.ExecutionPaths_res.mat --tempDir=temp_Modelica_trunk_Modelica_StateGraph_Examples_ExecutionPaths_fmu --startTime=0 --stopTime=15.5 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_StateGraph_Examples_ExecutionPaths.fmu > Modelica_trunk_Modelica.StateGraph.Examples.ExecutionPaths.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.StateGraph.Examples.ExecutionPaths_res.mat does not exist to compare? outputFormat=mat