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.001266/0.001266, allocations: 116.8 kB / 18.5 MB, free: 4.52 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.001387/0.001387, allocations: 212.9 kB / 21.46 MB, free: 1.566 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.468/1.468, allocations: 230.5 MB / 254.8 MB, free: 15.09 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.002046/0.002046, allocations: 75.83 kB / 373.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1071, allocations: 53.33 MB / 427 MB, free: 4.809 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.FirstExample_Variant3): time 0.003313/0.1104, allocations: 1.71 MB / 428.7 MB, free: 3.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007995/0.1112, allocations: 299.1 kB / 429 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.1113, allocations: 7.938 kB / 429 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000152/0.1115, allocations: 27.67 kB / 429 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.918e-05/0.1115, allocations: 15.81 kB / 429 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004237/0.1119, allocations: 115.8 kB / 429.2 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003789/0.1123, allocations: 267.5 kB / 429.4 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003238/0.1126, allocations: 165.5 kB / 429.6 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001167/0.1128, allocations: 95.64 kB / 429.7 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001538/0.1129, allocations: 95.59 kB / 429.8 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.709e-05/0.1129, allocations: 24 kB / 429.8 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.981e-05/0.113, allocations: 35.98 kB / 429.8 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.055e-05/0.1131, allocations: 59.81 kB / 429.9 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001386/0.1132, allocations: 99.47 kB / 430 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003335/0.1136, allocations: 262.9 kB / 430.2 MB, free: 1.547 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1136, allocations: 3.938 kB / 430.2 MB, free: 1.543 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.582e-06/0.1136, allocations: 0 / 430.2 MB, free: 1.543 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.084e-05/0.1136, allocations: 0 / 430.2 MB, free: 1.543 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.0007447/0.1143, allocations: 494.5 kB / 430.7 MB, free: 1.008 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.1144, allocations: 8.031 kB / 430.7 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.289e-05/0.1144, allocations: 58.72 kB / 430.8 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000256/0.1147, allocations: 36.78 kB / 430.8 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003625/0.1151, allocations: 236 kB / 431.1 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.789e-05/0.1151, allocations: 28.94 kB / 431.1 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.21e-05/0.1151, allocations: 24.38 kB / 431.1 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004718/0.1156, allocations: 270.5 kB / 431.4 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.1156, allocations: 3.938 kB / 431.4 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.412e-05/0.1156, allocations: 12 kB / 431.4 MB, free: 284 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/0.1157, allocations: 8 kB / 431.4 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003211/0.116, allocations: 169.6 kB / 431.6 MB, free: 108 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001308/0.1173, allocations: 0.9479 MB / 432.5 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003102/0.1176, allocations: 163.7 kB / 432.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/0.1177, allocations: 69.78 kB / 432.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.488e-05/0.1177, allocations: 7.875 kB / 432.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002525/0.118, allocations: 141 kB / 432.9 MB, free: 14.68 MB / 366.1 MB Notification: Performance of pre-optimization done (n=24): time 1.372e-06/0.118, allocations: 0 / 432.9 MB, free: 14.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=24): time 0.0004457/0.1184, allocations: 220.6 kB / 433.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.424e-05/0.1185, allocations: 89.09 kB / 433.2 MB, free: 14.36 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.1186, allocations: 145.7 kB / 433.3 MB, free: 14.2 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.295e-05/0.1187, allocations: 45.69 kB / 433.4 MB, free: 14.15 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001286/0.1188, allocations: 144.8 kB / 433.5 MB, free: 14.01 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.763e-05/0.1189, allocations: 63.52 kB / 433.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/0.119, allocations: 81.45 kB / 433.7 MB, free: 13.86 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.1191, allocations: 330.8 kB / 434 MB, free: 13.53 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.1193, allocations: 63.97 kB / 434 MB, free: 13.46 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001857/0.1194, allocations: 148.3 kB / 434.2 MB, free: 13.29 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002843/0.1197, allocations: 192.8 kB / 434.4 MB, free: 13.07 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1197, allocations: 0 / 434.4 MB, free: 13.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000406/0.1201, allocations: 249.3 kB / 434.6 MB, free: 12.82 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.1202, allocations: 4.281 kB / 434.6 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.1202, allocations: 8 kB / 434.6 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.1202, allocations: 4 kB / 434.6 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001477/0.1203, allocations: 43.8 kB / 434.7 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.1203, allocations: 7.984 kB / 434.7 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/0.1204, allocations: 23.84 kB / 434.7 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.229e-05/0.1205, allocations: 12 kB / 434.7 MB, free: 12.72 MB / 366.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.0001812/0.1206, allocations: 165.6 kB / 434.9 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.471e-05/0.1207, allocations: 11.91 kB / 434.9 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.391e-05/0.1207, allocations: 24.84 kB / 434.9 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.1207, allocations: 0 / 434.9 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.1207, allocations: 4 kB / 434.9 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.575e-06/0.1207, allocations: 3.984 kB / 434.9 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007914/0.1215, allocations: 0.5752 MB / 435.5 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1215, allocations: 0 / 435.5 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.005e-05/0.1216, allocations: 15.94 kB / 435.5 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1216, allocations: 0 / 435.5 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.027e-05/0.1216, allocations: 15.92 kB / 435.5 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.1216, allocations: 4 kB / 435.5 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1216, allocations: 0 / 435.5 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003327/0.122, allocations: 272.1 kB / 435.8 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.167e-05/0.122, allocations: 85.06 kB / 435.9 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.95e-05/0.122, allocations: 11.92 kB / 435.9 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.253e-05/0.1221, allocations: 8 kB / 435.9 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.039e-05/0.1222, allocations: 23.97 kB / 435.9 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/0.1222, allocations: 7.938 kB / 435.9 MB, free: 11.39 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.837e-05/0.1223, allocations: 99.27 kB / 436 MB, free: 11.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1223, allocations: 0 / 436 MB, free: 11.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003015/0.1226, allocations: 55.84 kB / 436.1 MB, free: 11.23 MB / 366.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.0006943/0.1233, allocations: 0.8175 MB / 436.9 MB, free: 10.39 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003414/0.1236, allocations: 164.1 kB / 437.1 MB, free: 10.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.1237, allocations: 0 / 437.1 MB, free: 10.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001383/0.1238, allocations: 83.69 kB / 437.1 MB, free: 10.15 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003035/0.1241, allocations: 24.59 kB / 437.2 MB, free: 10.12 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002452/0.1265, allocations: 2.061 MB / 439.2 MB, free: 7.922 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003924/0.1269, allocations: 0.7364 MB / 440 MB, free: 7.16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.87e-05/0.127, allocations: 21.95 kB / 440 MB, free: 7.133 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001099/0.1271, allocations: 63.41 kB / 440 MB, free: 7.07 MB / 366.1 MB Notification: Performance of SimCode: time 7.52e-07/0.1271, allocations: 3.938 kB / 440 MB, free: 7.066 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02611/0.1532, allocations: 3.484 MB / 443.5 MB, free: 3.691 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.143/8.296, allocations: 0 / 443.5 MB, free: 3.691 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.921218497678638] Failed to read output from testmodel.py, exit status != 0: ['time', 'transition1.enableFire', 'transition2.enableFire'] 8.368410134222358 8.579045361 8.463229329 Calling exit ...