Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.StateGraph.Examples.FirstExample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001817/0.001817, allocations: 116.9 kB / 18.49 MB, free: 4.559 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002062/0.002062, allocations: 212.7 kB / 21.46 MB, free: 1.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.478/1.478, allocations: 230.4 MB / 254.7 MB, free: 15.2 MB / 206.1 MB " [Timeout remaining time 178] 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.StateGraph.Examples.FirstExample,fileNamePrefix="Modelica_trunk_Modelica_StateGraph_Examples_FirstExample",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.StateGraph.Examples.FirstExample,fileNamePrefix="Modelica_trunk_Modelica_StateGraph_Examples_FirstExample",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00181/0.00181, allocations: 59.91 kB / 373.7 MB, free: 10.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09673/0.09853, allocations: 53.38 MB / 427 MB, free: 4.758 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.FirstExample): time 0.002517/0.1011, allocations: 1.496 MB / 428.5 MB, free: 3.254 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006241/0.1017, allocations: 283.2 kB / 428.8 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.8e-05/0.1018, allocations: 4 kB / 428.8 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001203/0.1019, allocations: 23.67 kB / 428.8 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.384e-05/0.1019, allocations: 19.81 kB / 428.9 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003353/0.1023, allocations: 111.8 kB / 429 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003116/0.1026, allocations: 263.5 kB / 429.2 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002424/0.1028, allocations: 130.4 kB / 429.4 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.632e-05/0.1029, allocations: 87.72 kB / 429.4 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001304/0.103, allocations: 99.58 kB / 429.5 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.413e-05/0.1031, allocations: 24 kB / 429.6 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.99e-05/0.1031, allocations: 24 kB / 429.6 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.16e-05/0.1032, allocations: 59.78 kB / 429.6 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.707e-05/0.1033, allocations: 99.45 kB / 429.7 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003096/0.1036, allocations: 246.9 kB / 430 MB, free: 1.801 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1036, allocations: 0 / 430 MB, free: 1.801 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1036, allocations: 0 / 430 MB, free: 1.801 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.1036, allocations: 0 / 430 MB, free: 1.801 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0006735/0.1043, allocations: 490.3 kB / 430.5 MB, free: 1.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.1043, allocations: 12.03 kB / 430.5 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.074e-05/0.1043, allocations: 8.75 kB / 430.5 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.905e-05/0.1044, allocations: 54.73 kB / 430.5 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001977/0.1046, allocations: 32.83 kB / 430.6 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002899/0.1049, allocations: 232.1 kB / 430.8 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.306e-05/0.1049, allocations: 16.94 kB / 430.8 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.926e-05/0.105, allocations: 28.38 kB / 430.8 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004119/0.1054, allocations: 247.7 kB / 431.1 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.1054, allocations: 0 / 431.1 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.222e-05/0.1054, allocations: 8 kB / 431.1 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.228e-06/0.1054, allocations: 4 kB / 431.1 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002998/0.1057, allocations: 153.7 kB / 431.2 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009766/0.1067, allocations: 0.6974 MB / 431.9 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002945/0.107, allocations: 156.7 kB / 432.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001198/0.1071, allocations: 68.88 kB / 432.2 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.44e-05/0.1071, allocations: 7.938 kB / 432.2 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002067/0.1073, allocations: 111.3 kB / 432.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of pre-optimization done (n=24): time 1.603e-06/0.1073, allocations: 4 kB / 432.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=24): time 0.0004254/0.1078, allocations: 213.4 kB / 432.5 MB, free: 15.1 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.955e-05/0.1078, allocations: 63.33 kB / 432.5 MB, free: 15.03 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.1079, allocations: 148.5 kB / 432.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.179e-05/0.108, allocations: 37.69 kB / 432.7 MB, free: 14.83 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.973e-05/0.1081, allocations: 132.8 kB / 432.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.185e-05/0.1081, allocations: 55.55 kB / 432.9 MB, free: 14.64 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.923e-05/0.1082, allocations: 78.02 kB / 433 MB, free: 14.56 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.1083, allocations: 326.8 kB / 433.3 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/0.1085, allocations: 60.62 kB / 433.4 MB, free: 14.17 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000162/0.1086, allocations: 128.1 kB / 433.5 MB, free: 14.02 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002458/0.1089, allocations: 178.6 kB / 433.7 MB, free: 13.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.1089, allocations: 3.938 kB / 433.7 MB, free: 13.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000366/0.1092, allocations: 237.4 kB / 433.9 MB, free: 13.58 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.1092, allocations: 11.94 kB / 433.9 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.1093, allocations: 0 / 433.9 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.1093, allocations: 4 kB / 433.9 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.1094, allocations: 27.92 kB / 433.9 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.1094, allocations: 7.938 kB / 434 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.1095, allocations: 39.75 kB / 434 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.681e-05/0.1095, allocations: 8 kB / 434 MB, free: 13.48 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 31 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,stateGraphRoot.activeSteps,transition2.t_start,$PRE.transition2.t_start,transition2.fire,transition2.enableFire,step.oldActive,$PRE.step.oldActive,step.newActive,$PRE.step.newActive,step.localActive,$PRE.step.localActive,step.active,transition1.t_start,$PRE.transition1.t_start,transition1.fire,transition1.enableFire,initialStep.oldActive,$PRE.initialStep.oldActive,initialStep.newActive,$PRE.initialStep.newActive,initialStep.localActive,$PRE.initialStep.localActive,initialStep.active,$whenCondition1,$whenCondition2,stateGraphRoot.resume,stateGraphRoot.suspend,transition2.condition,transition1.condition) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001444/0.1097, allocations: 157.9 kB / 434.2 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.461e-05/0.1097, allocations: 15.94 kB / 434.2 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.688e-05/0.1097, allocations: 12.84 kB / 434.2 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.1097, allocations: 4 kB / 434.2 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1097, allocations: 0 / 434.2 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.1097, allocations: 3.938 kB / 434.2 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007083/0.1105, allocations: 0.5576 MB / 434.7 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1105, allocations: 0 / 434.7 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.956e-05/0.1105, allocations: 23.92 kB / 434.8 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1105, allocations: 0 / 434.8 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/0.1106, allocations: 8 kB / 434.8 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.1106, allocations: 4 kB / 434.8 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.1106, allocations: 3.938 kB / 434.8 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003037/0.1109, allocations: 267.9 kB / 435 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.022e-05/0.1109, allocations: 89 kB / 435.1 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/0.1109, allocations: 0 / 435.1 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.111, allocations: 12 kB / 435.1 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.666e-05/0.1111, allocations: 27.91 kB / 435.2 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.1111, allocations: 7.938 kB / 435.2 MB, free: 12.2 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.223e-05/0.1112, allocations: 103.3 kB / 435.3 MB, free: 12.1 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1112, allocations: 0 / 435.3 MB, free: 12.1 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000284/0.1115, allocations: 55.83 kB / 435.3 MB, free: 12.04 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 17 (transition2.enableFire,step.active,transition1.enableFire,initialStep.active,$whenCondition2,$whenCondition1,initialStep.localActive,initialStep.newActive,initialStep.oldActive,transition1.fire,transition1.t_start,step.localActive,step.newActive,step.oldActive,transition2.fire,transition2.t_start,stateGraphRoot.activeSteps) * Number of discrete states: 2 (initialStep.newActive,step.newActive) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005894/0.1121, allocations: 0.7982 MB / 436.1 MB, free: 11.22 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003058/0.1124, allocations: 156.7 kB / 436.3 MB, free: 11.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1124, allocations: 0 / 436.3 MB, free: 11.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000131/0.1125, allocations: 79.62 kB / 436.4 MB, free: 10.99 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002702/0.1128, allocations: 23.92 kB / 436.4 MB, free: 10.96 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002156/0.1149, allocations: 1.996 MB / 438.4 MB, free: 8.844 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003325/0.1152, allocations: 0.7361 MB / 439.1 MB, free: 8.082 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.755e-05/0.1153, allocations: 21.94 kB / 439.1 MB, free: 8.062 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.991e-05/0.1154, allocations: 55.42 kB / 439.2 MB, free: 8.008 MB / 366.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1154, allocations: 0 / 439.2 MB, free: 8.008 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01885/0.1343, allocations: 3.444 MB / 442.6 MB, free: 4.648 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.385/8.519, allocations: 6.391 kB / 442.6 MB, free: 4.645 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.StateGraph.Examples.FirstExample.pipe ; mkfifo Modelica_trunk_Modelica.StateGraph.Examples.FirstExample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.StateGraph.Examples.FirstExample.pipe >> ../files/Modelica_trunk_Modelica.StateGraph.Examples.FirstExample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.StateGraph.Examples.FirstExample_res.mat --tempDir=temp_Modelica_trunk_Modelica_StateGraph_Examples_FirstExample_fmu --startTime=0 --stopTime=5.5 --stepSize=0.00109737 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_StateGraph_Examples_FirstExample.fmu > Modelica_trunk_Modelica.StateGraph.Examples.FirstExample.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.132128875993658] Failed to read output from testmodel.py, exit status != 0: ['time', 'transition1.enableFire', 'transition2.enableFire'] 8.645262546953745 8.870082214 8.76401263 Calling exit ...