Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.StateGraph.Examples.FirstExample_Variant3.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.001274/0.001274, allocations: 122.1 kB / 18.46 MB, free: 4.566 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.001355/0.001355, allocations: 215.3 kB / 21.41 MB, free: 1.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.502/1.502, allocations: 227.7 MB / 251.9 MB, free: 15.86 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_Variant3,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_StateGraph_Examples_FirstExample_Variant3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.StateGraph.Examples.FirstExample_Variant3,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_StateGraph_Examples_FirstExample_Variant3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 71.83 kB / 365.2 MB, free: 212 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09732/0.09925, allocations: 50.54 MB / 415.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.FirstExample_Variant3): time 0.00293/0.1022, allocations: 1.721 MB / 417.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007096/0.1029, allocations: 283.2 kB / 417.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.307e-05/0.1031, allocations: 3.938 kB / 417.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001423/0.1032, allocations: 27.67 kB / 417.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.585e-05/0.1033, allocations: 19.81 kB / 417.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003691/0.1037, allocations: 115.8 kB / 417.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003482/0.104, allocations: 271.5 kB / 418.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003121/0.1043, allocations: 184.1 kB / 418.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.1045, allocations: 91.7 kB / 418.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001341/0.1046, allocations: 99.53 kB / 418.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.786e-05/0.1046, allocations: 24 kB / 418.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.981e-05/0.1047, allocations: 31.98 kB / 418.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.848e-05/0.1048, allocations: 55.83 kB / 418.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001106/0.1049, allocations: 103.5 kB / 418.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000348/0.1053, allocations: 258.9 kB / 419 MB, free: 10.35 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1053, allocations: 0 / 419 MB, free: 10.35 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1053, allocations: 0 / 419 MB, free: 10.35 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.1053, allocations: 0 / 419 MB, free: 10.35 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0007253/0.106, allocations: 0.4945 MB / 419.5 MB, free: 9.805 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.1061, allocations: 8.031 kB / 419.5 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.358e-05/0.1062, allocations: 58.73 kB / 419.6 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002495/0.1064, allocations: 40.77 kB / 419.6 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003655/0.1068, allocations: 224.1 kB / 419.8 MB, free: 9.434 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.924e-05/0.1069, allocations: 32.86 kB / 419.8 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.12e-05/0.1069, allocations: 28.36 kB / 419.9 MB, free: 9.375 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004849/0.1074, allocations: 274.5 kB / 420.1 MB, free: 9.082 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/0.1074, allocations: 3.938 kB / 420.1 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.585e-05/0.1075, allocations: 8 kB / 420.2 MB, free: 9.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.1075, allocations: 8 kB / 420.2 MB, free: 9.062 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003076/0.1078, allocations: 165.6 kB / 420.3 MB, free: 8.902 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00129/0.1091, allocations: 0.9596 MB / 421.3 MB, free: 7.879 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003233/0.1094, allocations: 173.4 kB / 421.4 MB, free: 7.691 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001283/0.1096, allocations: 81.69 kB / 421.5 MB, free: 7.605 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.1096, allocations: 0 / 421.5 MB, free: 7.605 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002422/0.1098, allocations: 137 kB / 421.7 MB, free: 7.453 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.623e-06/0.1099, allocations: 0 / 421.7 MB, free: 7.453 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.0004653/0.1103, allocations: 224.6 kB / 421.9 MB, free: 7.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.946e-05/0.1104, allocations: 85.11 kB / 422 MB, free: 7.129 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002101/0.1106, allocations: 152.3 kB / 422.1 MB, free: 6.973 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.512e-05/0.1107, allocations: 41.7 kB / 422.2 MB, free: 6.926 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/0.1108, allocations: 148.8 kB / 422.3 MB, free: 6.777 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.137e-05/0.1109, allocations: 59.52 kB / 422.4 MB, free: 6.719 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/0.111, allocations: 81.47 kB / 422.4 MB, free: 6.633 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.1111, allocations: 330.8 kB / 422.8 MB, free: 6.301 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001273/0.1113, allocations: 63.97 kB / 422.8 MB, free: 6.238 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000185/0.1115, allocations: 152.3 kB / 423 MB, free: 6.059 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002667/0.1117, allocations: 196.3 kB / 423.2 MB, free: 5.836 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.1118, allocations: 0 / 423.2 MB, free: 5.836 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004018/0.1122, allocations: 249.3 kB / 423.4 MB, free: 5.586 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.1122, allocations: 10.62 kB / 423.4 MB, free: 5.578 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.1122, allocations: 4 kB / 423.4 MB, free: 5.574 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/0.1122, allocations: 4 kB / 423.4 MB, free: 5.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.1124, allocations: 35.86 kB / 423.5 MB, free: 5.535 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.1124, allocations: 7.938 kB / 423.5 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/0.1125, allocations: 27.84 kB / 423.5 MB, free: 5.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.784e-05/0.1125, allocations: 8 kB / 423.5 MB, free: 5.492 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 32 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,stateGraphRoot.activeSteps,timer.entryTime,$PRE.timer.entryTime,transition2.enableFire,transition2.localCondition,step.active,step.oldActive,$PRE.step.oldActive,step.newActive,$PRE.step.newActive,step.localActive,$PRE.step.localActive,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,transition2.t_start,$PRE.transition2.t_start,stateGraphRoot.resume,stateGraphRoot.suspend,transition1.condition) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 41 * 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.0001794/0.1127, allocations: 169.6 kB / 423.7 MB, free: 5.316 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.529e-05/0.1128, allocations: 15.91 kB / 423.7 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.669e-05/0.1128, allocations: 24.83 kB / 423.7 MB, free: 5.273 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.1128, allocations: 4 kB / 423.7 MB, free: 5.27 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.1128, allocations: 0 / 423.7 MB, free: 5.27 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.1128, allocations: 0 / 423.7 MB, free: 5.27 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007662/0.1136, allocations: 0.5791 MB / 424.3 MB, free: 4.625 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1136, allocations: 0 / 424.3 MB, free: 4.625 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.535e-05/0.1137, allocations: 19.92 kB / 424.3 MB, free: 4.605 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.1137, allocations: 0 / 424.3 MB, free: 4.605 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.784e-05/0.1137, allocations: 11.94 kB / 424.3 MB, free: 4.594 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.1138, allocations: 7.938 kB / 424.3 MB, free: 4.586 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1138, allocations: 0 / 424.3 MB, free: 4.586 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003697/0.1141, allocations: 268.1 kB / 424.6 MB, free: 4.305 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.806e-05/0.1142, allocations: 85.06 kB / 424.7 MB, free: 4.203 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.121e-05/0.1142, allocations: 11.94 kB / 424.7 MB, free: 4.191 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.158e-05/0.1143, allocations: 15.92 kB / 424.7 MB, free: 4.176 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.208e-05/0.1144, allocations: 19.98 kB / 424.7 MB, free: 4.156 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/0.1144, allocations: 7.984 kB / 424.7 MB, free: 4.148 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.674e-05/0.1145, allocations: 99.27 kB / 424.8 MB, free: 4.051 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1145, allocations: 0 / 424.8 MB, free: 4.051 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003034/0.1148, allocations: 55.84 kB / 424.9 MB, free: 3.996 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 18 (transition2.t_start,step.localActive,transition1.enableFire,step.active,initialStep.active,$whenCondition2,$whenCondition1,initialStep.localActive,initialStep.newActive,initialStep.oldActive,transition1.fire,transition1.t_start,step.newActive,step.oldActive,transition2.localCondition,transition2.enableFire,timer.entryTime,stateGraphRoot.activeSteps) * Number of discrete states: 3 (initialStep.newActive,step.newActive,transition2.t_start) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0006436/0.1155, allocations: 0.8175 MB / 425.7 MB, free: 3.152 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003391/0.1158, allocations: 176.1 kB / 425.9 MB, free: 2.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1158, allocations: 0 / 425.9 MB, free: 2.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001494/0.116, allocations: 87.7 kB / 426 MB, free: 2.895 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002873/0.1163, allocations: 28.61 kB / 426 MB, free: 2.867 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002481/0.1188, allocations: 2.058 MB / 428 MB, free: 0.668 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004093/0.1192, allocations: 0.7365 MB / 428.8 MB, free: 15.9 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.995e-05/0.1193, allocations: 25.94 kB / 428.8 MB, free: 15.87 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001059/0.1194, allocations: 55.42 kB / 428.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of SimCode: time 2.314e-06/0.1194, allocations: 0 / 428.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0272/0.1466, allocations: 3.482 MB / 432.3 MB, free: 12.45 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.902/8.049, allocations: 3.938 kB / 432.3 MB, free: 12.44 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.StateGraph.Examples.FirstExample_Variant3.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.StateGraph.Examples.FirstExample_Variant3.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.StateGraph.Examples.FirstExample_Variant3.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.StateGraph.Examples.FirstExample_Variant3.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.StateGraph.Examples.FirstExample_Variant3_res.csv --start-time 0 --stop-time 5.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00109737 Modelica_4_1_0-beta_om_Modelica_StateGraph_Examples_FirstExample_Variant3.fmu > Modelica_4.1.0-beta.om_Modelica.StateGraph.Examples.FirstExample_Variant3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.720663820044138] Failed to read output from testmodel.py, exit status != 0: ['time', 'transition1.enableFire', 'transition2.enableFire'] 8.118151008035056 8.310975459 8.025486997 Calling exit ...