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.001374/0.001374, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001431/0.001431, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.389/1.389, allocations: 230.6 MB / 258.3 MB, free: 8.008 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.001867/0.001867, allocations: 72.75 kB / 378.5 MB, free: 3.141 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2716/0.2735, allocations: 53.36 MB / 431.9 MB, free: 6.879 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.FirstExample_Variant3): time 0.002958/0.2765, allocations: 1.737 MB / 433.6 MB, free: 5.137 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006916/0.2772, allocations: 291.2 kB / 433.9 MB, free: 4.852 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001108/0.2773, allocations: 7.938 kB / 433.9 MB, free: 4.844 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001373/0.2774, allocations: 27.67 kB / 433.9 MB, free: 4.816 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.626e-05/0.2775, allocations: 19.8 kB / 434 MB, free: 4.797 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003916/0.2779, allocations: 123.8 kB / 434.1 MB, free: 4.676 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003367/0.2782, allocations: 275.4 kB / 434.4 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002836/0.2785, allocations: 157.7 kB / 434.5 MB, free: 4.254 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/0.2786, allocations: 99.64 kB / 434.6 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001527/0.2788, allocations: 99.53 kB / 434.7 MB, free: 4.059 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.163e-05/0.2788, allocations: 20 kB / 434.7 MB, free: 4.039 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.567e-05/0.2789, allocations: 35.98 kB / 434.8 MB, free: 4.004 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.529e-05/0.2789, allocations: 59.83 kB / 434.8 MB, free: 3.945 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001118/0.279, allocations: 95.53 kB / 434.9 MB, free: 3.852 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003212/0.2794, allocations: 258.8 kB / 435.2 MB, free: 3.598 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.2794, allocations: 0 / 435.2 MB, free: 3.598 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2794, allocations: 4 kB / 435.2 MB, free: 3.594 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.413e-06/0.2794, allocations: 4 kB / 435.2 MB, free: 3.59 MB / 334.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.0006685/0.28, allocations: 421.1 kB / 435.6 MB, free: 3.148 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.2801, allocations: 12.03 kB / 435.6 MB, free: 3.137 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.163e-05/0.2802, allocations: 58.73 kB / 435.6 MB, free: 3.07 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002405/0.2804, allocations: 36.77 kB / 435.7 MB, free: 3.035 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002763/0.2807, allocations: 170.2 kB / 435.9 MB, free: 2.844 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.558e-05/0.2807, allocations: 24.88 kB / 435.9 MB, free: 2.82 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.659e-05/0.2808, allocations: 32.38 kB / 435.9 MB, free: 2.789 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004493/0.2812, allocations: 273.7 kB / 436.2 MB, free: 2.496 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.2812, allocations: 3.938 kB / 436.2 MB, free: 2.492 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.193e-05/0.2812, allocations: 8 kB / 436.2 MB, free: 2.484 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.156e-06/0.2813, allocations: 4 kB / 436.2 MB, free: 2.48 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002903/0.2815, allocations: 161.6 kB / 436.3 MB, free: 2.324 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00112/0.2827, allocations: 0.9249 MB / 437.3 MB, free: 1.34 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002938/0.283, allocations: 169.4 kB / 437.4 MB, free: 1.156 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000115/0.2831, allocations: 73.58 kB / 437.5 MB, free: 1.078 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.2831, allocations: 0 / 437.5 MB, free: 1.078 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002227/0.2833, allocations: 137.1 kB / 437.6 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.122e-06/0.2833, allocations: 0 / 437.6 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.0004249/0.2837, allocations: 225.8 kB / 437.9 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.272e-05/0.2838, allocations: 81.11 kB / 437.9 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.2839, allocations: 157.7 kB / 438.1 MB, free: 452 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.591e-05/0.284, allocations: 41.7 kB / 438.1 MB, free: 404 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.938e-05/0.2841, allocations: 140.7 kB / 438.3 MB, free: 256 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.732e-05/0.2841, allocations: 63.5 kB / 438.3 MB, free: 192 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.392e-05/0.2842, allocations: 85.59 kB / 438.4 MB, free: 100 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.2844, allocations: 330.8 kB / 438.7 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001205/0.2845, allocations: 63.97 kB / 438.8 MB, free: 15.7 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001692/0.2847, allocations: 136.5 kB / 438.9 MB, free: 15.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002591/0.2849, allocations: 200.8 kB / 439.1 MB, free: 15.31 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2849, allocations: 0 / 439.1 MB, free: 15.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0003719/0.2853, allocations: 249.3 kB / 439.4 MB, free: 15.06 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.2853, allocations: 7.984 kB / 439.4 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.2853, allocations: 4 kB / 439.4 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.2853, allocations: 8.281 kB / 439.4 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/0.2855, allocations: 35.86 kB / 439.4 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.2855, allocations: 4 kB / 439.4 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.676e-05/0.2856, allocations: 23.84 kB / 439.5 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.755e-05/0.2856, allocations: 12 kB / 439.5 MB, free: 14.97 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.0001574/0.2857, allocations: 169.6 kB / 439.6 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.16e-05/0.2858, allocations: 11.91 kB / 439.7 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.06e-05/0.2858, allocations: 24.92 kB / 439.7 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.716e-06/0.2858, allocations: 4 kB / 439.7 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.2858, allocations: 4 kB / 439.7 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.371e-06/0.2858, allocations: 3.984 kB / 439.7 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006755/0.2865, allocations: 0.543 MB / 440.2 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2865, allocations: 0 / 440.2 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.528e-05/0.2866, allocations: 19.94 kB / 440.2 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.2866, allocations: 0 / 440.2 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.2866, allocations: 3.938 kB / 440.3 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.2866, allocations: 4 kB / 440.3 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.2866, allocations: 7.984 kB / 440.3 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002965/0.2869, allocations: 272.1 kB / 440.5 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.715e-05/0.2869, allocations: 11.95 kB / 440.5 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.825e-05/0.287, allocations: 15.92 kB / 440.6 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.71e-05/0.287, allocations: 11.94 kB / 440.6 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.962e-05/0.2871, allocations: 19.97 kB / 440.6 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/0.2871, allocations: 15.92 kB / 440.6 MB, free: 13.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.433e-05/0.2872, allocations: 99.27 kB / 440.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2872, allocations: 0 / 440.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002778/0.2875, allocations: 47.84 kB / 440.7 MB, free: 13.61 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.0006056/0.2881, allocations: 0.8212 MB / 441.6 MB, free: 12.76 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003147/0.2884, allocations: 163.8 kB / 441.7 MB, free: 12.6 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2884, allocations: 0 / 441.7 MB, free: 12.6 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001208/0.2885, allocations: 71.72 kB / 441.8 MB, free: 12.53 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002794/0.2888, allocations: 23.98 kB / 441.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00221/0.291, allocations: 2.059 MB / 443.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000346/0.2913, allocations: 0.7326 MB / 444.6 MB, free: 9.551 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.385e-05/0.2914, allocations: 25.94 kB / 444.6 MB, free: 9.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.758e-05/0.2915, allocations: 55.42 kB / 444.7 MB, free: 9.465 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.2915, allocations: 0 / 444.7 MB, free: 9.465 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0261/0.3176, allocations: 3.639 MB / 448.3 MB, free: 5.914 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.598/7.916, allocations: 11.06 kB / 448.3 MB, free: 5.91 MB / 350.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.295877758879215] Failed to read output from testmodel.py, exit status != 0: ['time', 'transition1.enableFire', 'transition2.enableFire'] 7.9888846273534 8.01427415 7.730318375 Calling exit ...