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.00113/0.00113, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.379/1.379, allocations: 225.4 MB / 240.1 MB, free: 15.11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009244/0.0009248, allocations: 91.59 kB / 292.1 MB, free: 6 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.544e-05/2.546e-05, allocations: 0 / 350.6 MB, free: 2.457 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.12, allocations: 51.48 MB / 402.1 MB, free: 14.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3949/0.515, allocations: 78.14 MB / 480.2 MB, free: 11.29 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002206/0.5153, allocations: 65.72 kB / 480.3 MB, free: 11.26 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02638/0.5417, allocations: 11.9 MB / 492.2 MB, free: 1.066 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.5417, allocations: 0 / 492.2 MB, free: 1.066 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.3e-05/0.5418, allocations: 23.94 kB / 492.2 MB, free: 1.043 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.001186/0.543, allocations: 0.9047 MB / 493.1 MB, free: 72 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.543, allocations: 8.031 kB / 493.1 MB, free: 64 kB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001972/0.5432, allocations: 152.1 kB / 493.3 MB, free: 15.9 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001627/0.5434, allocations: 90.97 kB / 493.4 MB, free: 15.81 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006553/0.5441, allocations: 444 kB / 493.8 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.119e-05/0.5442, allocations: 97.94 kB / 493.9 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001353/0.5443, allocations: 108 kB / 494 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001546/0.5458, allocations: 0.9386 MB / 495 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/0.5459, allocations: 0 / 495 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.697e-05/0.546, allocations: 43.98 kB / 495 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.401e-05/0.546, allocations: 24 kB / 495 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001177/0.5472, allocations: 0.6989 MB / 495.7 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003368/0.5506, allocations: 2.479 MB / 498.2 MB, free: 10.85 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009436/0.5515, allocations: 0.6746 MB / 498.9 MB, free: 10.14 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004458/0.552, allocations: 330.3 kB / 499.2 MB, free: 9.812 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.414e-05/0.5521, allocations: 16.77 kB / 499.2 MB, free: 9.797 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006566/0.5527, allocations: 436 kB / 499.6 MB, free: 9.348 MB / 362.7 MB Notification: Performance of pre-optimization done (n=100): time 3.026e-06/0.5527, allocations: 4 kB / 499.6 MB, free: 9.344 MB / 362.7 MB Notification: Performance of matching and sorting (n=100): time 0.00101/0.5538, allocations: 0.6012 MB / 0.4885 GB, free: 8.738 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.559e-05/0.5539, allocations: 131.6 kB / 0.4886 GB, free: 8.586 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002732/0.5541, allocations: 288.2 kB / 0.4889 GB, free: 8.301 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.659e-05/0.5542, allocations: 81.62 kB / 0.489 GB, free: 8.215 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002093/0.5545, allocations: 301.1 kB / 0.4893 GB, free: 7.914 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002034/0.5547, allocations: 241 kB / 0.4895 GB, free: 7.676 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.887e-05/0.5547, allocations: 24 kB / 0.4895 GB, free: 7.652 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.5549, allocations: 368.6 kB / 0.4899 GB, free: 7.285 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000432/0.5553, allocations: 262.6 kB / 0.4901 GB, free: 7.031 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000579/0.5559, allocations: 468.7 kB / 0.4906 GB, free: 6.492 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000444/0.5564, allocations: 280.8 kB / 0.4909 GB, free: 6.219 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.5564, allocations: 0 / 0.4909 GB, free: 6.219 MB / 362.7 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.001285/0.5577, allocations: 0.8597 MB / 0.4917 GB, free: 5.352 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.5577, allocations: 8 kB / 0.4917 GB, free: 5.344 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/0.5577, allocations: 8 kB / 0.4917 GB, free: 5.336 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.611e-05/0.5578, allocations: 12 kB / 0.4917 GB, free: 5.324 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004268/0.5582, allocations: 127.6 kB / 0.4918 GB, free: 5.199 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.98e-05/0.5582, allocations: 12 kB / 0.4919 GB, free: 5.188 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003189/0.5585, allocations: 71.66 kB / 0.4919 GB, free: 5.117 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.393e-05/0.5586, allocations: 48.03 kB / 0.492 GB, free: 5.07 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.0002199/0.5589, allocations: 218.8 kB / 0.4922 GB, free: 4.844 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.474e-05/0.5589, allocations: 55.39 kB / 0.4922 GB, free: 4.789 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001182/0.5601, allocations: 0.7377 MB / 0.493 GB, free: 4.051 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.167e-05/0.5602, allocations: 12 kB / 0.493 GB, free: 4.039 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.5602, allocations: 0 / 0.493 GB, free: 4.039 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/0.5602, allocations: 7.969 kB / 0.493 GB, free: 4.031 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002505/0.5627, allocations: 1.668 MB / 0.4946 GB, free: 2.305 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.5627, allocations: 0 / 0.4946 GB, free: 2.305 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002784/0.563, allocations: 71.83 kB / 0.4947 GB, free: 2.234 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.029e-05/0.563, allocations: 7.953 kB / 0.4947 GB, free: 2.227 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.476e-05/0.5631, allocations: 23.98 kB / 0.4947 GB, free: 2.203 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.5631, allocations: 4 kB / 0.4947 GB, free: 2.199 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.5631, allocations: 0 / 0.4947 GB, free: 2.199 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/0.5641, allocations: 0.8093 MB / 0.4955 GB, free: 1.355 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.5643, allocations: 128.4 kB / 0.4956 GB, free: 1.211 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.512e-05/0.5643, allocations: 20 kB / 0.4956 GB, free: 1.191 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002317/0.5646, allocations: 43.97 kB / 0.4957 GB, free: 1.148 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002042/0.5648, allocations: 104.8 kB / 0.4958 GB, free: 1.047 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.931e-05/0.5649, allocations: 31.98 kB / 0.4958 GB, free: 1.016 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001281/0.565, allocations: 149.4 kB / 0.4959 GB, free: 0.8672 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.565, allocations: 0 / 0.4959 GB, free: 0.8672 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006333/0.5656, allocations: 176 kB / 0.4961 GB, free: 0.6953 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.001533/0.5672, allocations: 1.554 MB / 0.4976 GB, free: 15.1 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001171/0.5684, allocations: 0.7289 MB / 0.4983 GB, free: 14.37 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.5684, allocations: 2.156 kB / 0.4983 GB, free: 14.37 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005119/0.5689, allocations: 379.2 kB / 0.4987 GB, free: 14 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003771/0.5693, allocations: 75.19 kB / 0.4988 GB, free: 13.93 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001963/0.5713, allocations: 1.082 MB / 0.4998 GB, free: 12.8 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005495/0.5718, allocations: 0.9664 MB / 0.5008 GB, free: 11.81 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003315/0.5722, allocations: 114 kB / 0.5009 GB, free: 11.7 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003997/0.5726, allocations: 271.3 kB / 0.5012 GB, free: 11.43 MB / 378.7 MB Notification: Performance of SimCode: time 6.61e-07/0.5726, allocations: 0 / 0.5012 GB, free: 11.43 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03384/0.6064, allocations: 12.19 MB / 0.5131 GB, free: 15.47 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002782/0.6067, allocations: 149.2 kB / 0.5132 GB, free: 15.25 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.447/3.054, allocations: 0 / 0.5132 GB, free: 15.25 MB / 394.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