Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.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.001233/0.001233, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.001454/0.001454, allocations: 209.3 kB / 24.54 MB, free: 4.055 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.396/1.396, allocations: 230.6 MB / 258.3 MB, free: 8.059 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.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_Lines_LightningLosslessTransmissionLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_Lines_LightningLosslessTransmissionLine",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.001997/0.001997, allocations: 64.77 kB / 378.6 MB, free: 3.125 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2578/0.2598, allocations: 53.36 MB / 431.9 MB, free: 6.895 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.004419/0.2642, allocations: 2.885 MB / 434.8 MB, free: 4 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001623/0.2659, allocations: 0.8764 MB / 435.7 MB, free: 3.117 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001379/0.266, allocations: 4 kB / 435.7 MB, free: 3.113 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001547/0.2662, allocations: 43.52 kB / 435.7 MB, free: 3.07 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003233/0.2665, allocations: 119.1 kB / 435.9 MB, free: 2.953 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004332/0.2669, allocations: 199.7 kB / 436.1 MB, free: 2.758 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005194/0.2674, allocations: 486.3 kB / 436.5 MB, free: 2.281 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002097/0.2676, allocations: 81.5 kB / 436.6 MB, free: 2.199 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003035/0.2679, allocations: 195.4 kB / 436.8 MB, free: 2.008 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003357/0.2683, allocations: 223 kB / 437 MB, free: 1.789 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.222e-05/0.2683, allocations: 44 kB / 437.1 MB, free: 1.746 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.532e-05/0.2684, allocations: 48 kB / 437.1 MB, free: 1.699 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.267e-05/0.2685, allocations: 91.7 kB / 437.2 MB, free: 1.609 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002103/0.2687, allocations: 191.1 kB / 437.4 MB, free: 1.422 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005371/0.2693, allocations: 460.5 kB / 437.8 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2693, allocations: 0 / 437.8 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2693, allocations: 0 / 437.8 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.201e-05/0.2693, allocations: 0 / 437.8 MB, free: 0.9727 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001505/0.2708, allocations: 0.618 MB / 438.5 MB, free: 332 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.2709, allocations: 8.031 kB / 438.5 MB, free: 324 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.464e-05/0.2709, allocations: 58.73 kB / 438.5 MB, free: 256 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000211/0.2711, allocations: 52.69 kB / 438.6 MB, free: 204 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005512/0.2717, allocations: 241.6 kB / 438.8 MB, free: 15.94 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001048/0.2718, allocations: 76.39 kB / 438.9 MB, free: 15.85 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.009e-05/0.2719, allocations: 20.38 kB / 438.9 MB, free: 15.83 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005303/0.2724, allocations: 284.3 kB / 439.2 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.2724, allocations: 0 / 439.2 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.197e-05/0.2724, allocations: 15.98 kB / 439.2 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.2724, allocations: 4 kB / 439.2 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003701/0.2728, allocations: 169.5 kB / 439.4 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002459/0.2753, allocations: 1.006 MB / 440.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003702/0.2756, allocations: 110.4 kB / 440.5 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001955/0.2758, allocations: 80.77 kB / 440.6 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.732e-05/0.2759, allocations: 3.984 kB / 440.6 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.58e-05/0.2759, allocations: 42.55 kB / 440.6 MB, free: 14.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.203e-06/0.2759, allocations: 0 / 440.6 MB, free: 14.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009251/0.2768, allocations: 279.3 kB / 440.9 MB, free: 13.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/0.2769, allocations: 158.2 kB / 441 MB, free: 13.54 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003281/0.2773, allocations: 269.8 kB / 441.3 MB, free: 13.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.415e-05/0.2773, allocations: 33.7 kB / 441.3 MB, free: 13.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/0.2774, allocations: 188.3 kB / 441.5 MB, free: 13.04 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.837e-05/0.2775, allocations: 47.59 kB / 441.6 MB, free: 12.99 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.978e-05/0.2776, allocations: 49.69 kB / 441.6 MB, free: 12.94 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.2778, allocations: 330.8 kB / 441.9 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002028/0.278, allocations: 83.95 kB / 442 MB, free: 12.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002388/0.2782, allocations: 137.1 kB / 442.1 MB, free: 12.37 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000347/0.2786, allocations: 161.6 kB / 442.3 MB, free: 12.21 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.2786, allocations: 0 / 442.3 MB, free: 12.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.008022/0.2866, allocations: 0.8912 MB / 443.2 MB, free: 11.3 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.795e-05/0.2866, allocations: 4 kB / 443.2 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.2866, allocations: 0 / 443.2 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009347/0.296, allocations: 0.8249 MB / 444 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/0.2961, allocations: 23.92 kB / 444 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00991/0.306, allocations: 4.698 MB / 448.7 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003282/0.3063, allocations: 31.92 kB / 448.8 MB, free: 5.488 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.393e-05/0.3064, allocations: 11.98 kB / 448.8 MB, free: 5.477 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001983/0.3066, allocations: 137.8 kB / 448.9 MB, free: 5.332 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.814e-05/0.3066, allocations: 23.86 kB / 448.9 MB, free: 5.309 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.62e-05/0.3067, allocations: 25.77 kB / 449 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.3067, allocations: 0 / 449 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.3067, allocations: 11.88 kB / 449 MB, free: 5.27 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.3067, allocations: 0 / 449 MB, free: 5.27 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001006/0.3077, allocations: 0.5934 MB / 449.6 MB, free: 4.617 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.185e-06/0.3077, allocations: 0 / 449.6 MB, free: 4.617 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001207/0.3078, allocations: 19.98 kB / 449.6 MB, free: 4.598 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001872/0.308, allocations: 53.7 kB / 449.6 MB, free: 4.539 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.732e-05/0.308, allocations: 4 kB / 449.7 MB, free: 4.535 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002294/0.3103, allocations: 2.724 MB / 452.4 MB, free: 1.586 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3103, allocations: 0 / 452.4 MB, free: 1.586 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005335/0.3108, allocations: 313.9 kB / 452.7 MB, free: 1.254 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.173e-05/0.3109, allocations: 27.78 kB / 452.7 MB, free: 1.227 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.06e-05/0.3109, allocations: 4 kB / 452.7 MB, free: 1.223 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001973/0.3111, allocations: 15.98 kB / 452.7 MB, free: 1.207 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.219e-05/0.3112, allocations: 35.89 kB / 452.8 MB, free: 1.172 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.3113, allocations: 4 kB / 452.8 MB, free: 1.168 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002292/0.3115, allocations: 197.4 kB / 453 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3115, allocations: 0 / 453 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005186/0.312, allocations: 107.7 kB / 453.1 MB, free: 0.8711 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008903/0.3129, allocations: 0.8509 MB / 453.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001525/0.3144, allocations: 0.5323 MB / 454.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3144, allocations: 0 / 454.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000492/0.3149, allocations: 321.3 kB / 454.8 MB, free: 15.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004241/0.3153, allocations: 56.09 kB / 454.8 MB, free: 15.04 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01831/0.3336, allocations: 3.976 MB / 458.8 MB, free: 10.96 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004273/0.3341, allocations: 0.7635 MB / 459.6 MB, free: 10.18 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001489/0.3342, allocations: 25.94 kB / 459.6 MB, free: 10.15 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001547/0.3344, allocations: 91.39 kB / 459.7 MB, free: 10.06 MB / 366.1 MB Notification: Performance of SimCode: time 8.52e-07/0.3344, allocations: 0 / 459.7 MB, free: 10.06 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0438/0.3782, allocations: 9.939 MB / 469.6 MB, free: 280 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.4/12.78, allocations: 4 kB / 469.6 MB, free: 276 kB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_res.csv --start-time 0 --stop-time 0.025 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_Lines_LightningLosslessTransmissionLine.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.234168957918882] Failed to read output from testmodel.py, exit status != 0: ['time', 'source.i', 'load.v', 'load.i'] 12.886905437335372 12.913898046 12.639298397 Calling exit ...