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.001198/0.001198, allocations: 105 kB / 19.74 MB, free: 2.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.001336/0.001336, allocations: 215.5 kB / 22.92 MB, free: 5.535 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.286/1.286, allocations: 230.5 MB / 256.4 MB, free: 8.441 MB / 206.1 MB " [Timeout remaining time 179] 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.001786/0.001786, allocations: 67.84 kB / 376.1 MB, free: 4.098 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2179/0.2197, allocations: 53.32 MB / 429.4 MB, free: 7.473 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.00385/0.2235, allocations: 2.87 MB / 432.3 MB, free: 4.59 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001398/0.2249, allocations: 0.8687 MB / 433.2 MB, free: 3.715 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001198/0.225, allocations: 4 kB / 433.2 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001413/0.2252, allocations: 51.5 kB / 433.2 MB, free: 3.66 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002989/0.2255, allocations: 119 kB / 433.3 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003852/0.2258, allocations: 207.6 kB / 433.5 MB, free: 3.34 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004558/0.2263, allocations: 478.3 kB / 434 MB, free: 2.871 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001756/0.2265, allocations: 92.98 kB / 434.1 MB, free: 2.777 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002572/0.2267, allocations: 187.4 kB / 434.3 MB, free: 2.594 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003046/0.227, allocations: 219.2 kB / 434.5 MB, free: 2.379 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.489e-05/0.2271, allocations: 47.94 kB / 434.5 MB, free: 2.332 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.681e-05/0.2272, allocations: 44 kB / 434.6 MB, free: 2.289 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.955e-05/0.2273, allocations: 99.66 kB / 434.7 MB, free: 2.191 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001685/0.2275, allocations: 187.1 kB / 434.9 MB, free: 2.008 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004767/0.2279, allocations: 458.9 kB / 435.3 MB, free: 1.562 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2279, allocations: 0 / 435.3 MB, free: 1.562 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.2279, allocations: 0 / 435.3 MB, free: 1.562 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.2279, allocations: 0 / 435.3 MB, free: 1.562 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.001413/0.2294, allocations: 0.6933 MB / 436 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.2294, allocations: 8.031 kB / 436 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.263e-05/0.2295, allocations: 58.73 kB / 436.1 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000175/0.2296, allocations: 52.69 kB / 436.1 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004346/0.2301, allocations: 303.7 kB / 436.4 MB, free: 372 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.92e-05/0.2301, allocations: 46.7 kB / 436.5 MB, free: 320 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.335e-05/0.2302, allocations: 24.36 kB / 436.5 MB, free: 296 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004574/0.2306, allocations: 280.5 kB / 436.8 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.2306, allocations: 0 / 436.8 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.755e-05/0.2307, allocations: 8 kB / 436.8 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.2307, allocations: 7.984 kB / 436.8 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003402/0.231, allocations: 169.6 kB / 436.9 MB, free: 15.81 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002126/0.2331, allocations: 1.045 MB / 438 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002914/0.2334, allocations: 110.5 kB / 438.1 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001871/0.2336, allocations: 84.75 kB / 438.2 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.2336, allocations: 3.984 kB / 438.2 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.2337, allocations: 38.56 kB / 438.2 MB, free: 14.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.252e-06/0.2337, allocations: 0 / 438.2 MB, free: 14.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009277/0.2346, allocations: 437.5 kB / 438.7 MB, free: 13.96 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.27e-05/0.2347, allocations: 158.2 kB / 438.8 MB, free: 13.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002886/0.235, allocations: 270.6 kB / 439.1 MB, free: 13.49 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.9e-05/0.235, allocations: 25.7 kB / 439.1 MB, free: 13.46 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.2351, allocations: 188.3 kB / 439.3 MB, free: 13.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.821e-05/0.2352, allocations: 51.59 kB / 439.3 MB, free: 13.22 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.53e-05/0.2353, allocations: 49.67 kB / 439.4 MB, free: 13.17 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.2354, allocations: 334.8 kB / 439.7 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001838/0.2356, allocations: 83.97 kB / 439.8 MB, free: 12.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002186/0.2358, allocations: 142.5 kB / 439.9 MB, free: 12.59 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003262/0.2361, allocations: 165.6 kB / 440.1 MB, free: 12.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.2361, allocations: 0 / 440.1 MB, free: 12.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.007087/0.2432, allocations: 0.8875 MB / 441 MB, free: 11.53 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.2432, allocations: 11.94 kB / 441 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.2432, allocations: 0 / 441 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008544/0.2518, allocations: 0.8249 MB / 441.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.2519, allocations: 19.92 kB / 441.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008842/0.2608, allocations: 4.892 MB / 446.7 MB, free: 5.492 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002919/0.261, allocations: 35.92 kB / 446.8 MB, free: 5.457 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.136e-05/0.2611, allocations: 11.98 kB / 446.8 MB, free: 5.445 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.0001664/0.2612, allocations: 133.8 kB / 446.9 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.025e-05/0.2613, allocations: 23.86 kB / 446.9 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.554e-05/0.2613, allocations: 25.83 kB / 447 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.2613, allocations: 4 kB / 447 MB, free: 5.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.2613, allocations: 0 / 447 MB, free: 5.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.2614, allocations: 3.938 kB / 447 MB, free: 5.246 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009126/0.2623, allocations: 0.6217 MB / 447.6 MB, free: 4.559 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.2623, allocations: 0 / 447.6 MB, free: 4.559 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001164/0.2624, allocations: 15.98 kB / 447.6 MB, free: 4.543 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001759/0.2626, allocations: 57.7 kB / 447.7 MB, free: 4.48 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/0.2626, allocations: 4 kB / 447.7 MB, free: 4.477 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002073/0.2646, allocations: 2.943 MB / 450.6 MB, free: 1.254 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2646, allocations: 0 / 450.6 MB, free: 1.254 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000493/0.2651, allocations: 321.8 kB / 450.9 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.321e-05/0.2652, allocations: 96.97 kB / 451 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.293e-05/0.2652, allocations: 7.938 kB / 451 MB, free: 0.793 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000189/0.2654, allocations: 15.98 kB / 451 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.236e-05/0.2655, allocations: 35.89 kB / 451.1 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.2655, allocations: 4 kB / 451.1 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000199/0.2657, allocations: 198 kB / 451.3 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2657, allocations: 0 / 451.3 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004744/0.2662, allocations: 99.83 kB / 451.4 MB, free: 460 kB / 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.0008014/0.267, allocations: 0.8512 MB / 452.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001429/0.2684, allocations: 0.54 MB / 452.8 MB, free: 15 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2684, allocations: 0 / 452.8 MB, free: 15 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000428/0.2689, allocations: 313.4 kB / 453.1 MB, free: 14.67 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004017/0.2693, allocations: 49.67 kB / 453.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01674/0.286, allocations: 3.981 MB / 457.1 MB, free: 10.54 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003584/0.2864, allocations: 0.7635 MB / 457.9 MB, free: 9.75 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001249/0.2865, allocations: 26.02 kB / 457.9 MB, free: 9.727 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001366/0.2866, allocations: 87.41 kB / 458 MB, free: 9.641 MB / 366.1 MB Notification: Performance of SimCode: time 8.91e-07/0.2866, allocations: 0 / 458 MB, free: 9.641 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04099/0.3276, allocations: 9.854 MB / 467.8 MB, free: 15.93 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/11.14, allocations: 3.938 kB / 467.8 MB, free: 15.93 MB / 382.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_Lines_LightningLosslessTransmissionLine_fmu --startTime=0 --stopTime=0.025 --timeout=50 --tolerance=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: 13.208400647003145]