Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001745/0.001745, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.00223/0.00223, allocations: 207.6 kB / 24.53 MB, free: 4.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.529/1.529, allocations: 230.5 MB / 258.2 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_Modelica_Electrical_Analog_Examples_Lines_LightningLosslessTransmissionLine",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_Lines_LightningLosslessTransmissionLine",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002285/0.002285, allocations: 63.89 kB / 378.6 MB, free: 3.008 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3098/0.312, allocations: 53.4 MB / 432 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.005415/0.3175, allocations: 2.884 MB / 434.9 MB, free: 3.809 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002229/0.3197, allocations: 0.8686 MB / 435.7 MB, free: 2.934 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004115/0.3201, allocations: 8 kB / 435.8 MB, free: 2.926 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002909/0.3204, allocations: 43.5 kB / 435.8 MB, free: 2.883 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007119/0.3211, allocations: 123.1 kB / 435.9 MB, free: 2.762 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006508/0.3217, allocations: 199.6 kB / 436.1 MB, free: 2.566 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007899/0.3225, allocations: 474.4 kB / 436.6 MB, free: 2.102 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000255/0.3228, allocations: 101.3 kB / 436.7 MB, free: 2.004 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005382/0.3233, allocations: 191.4 kB / 436.9 MB, free: 1.816 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004944/0.3238, allocations: 219.1 kB / 437.1 MB, free: 1.602 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001077/0.3239, allocations: 44 kB / 437.1 MB, free: 1.559 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001293/0.3241, allocations: 55.94 kB / 437.2 MB, free: 1.504 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001/0.3242, allocations: 83.73 kB / 437.3 MB, free: 1.422 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00023/0.3244, allocations: 191.1 kB / 437.4 MB, free: 1.234 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006087/0.325, allocations: 455.3 kB / 437.9 MB, free: 0.793 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.325, allocations: 0 / 437.9 MB, free: 0.793 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.325, allocations: 4 kB / 437.9 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.353e-05/0.325, allocations: 4 kB / 437.9 MB, free: 0.7852 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.3265, allocations: 0.6141 MB / 438.5 MB, free: 144 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.532e-05/0.3266, allocations: 15.97 kB / 438.5 MB, free: 128 kB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.934e-05/0.3266, allocations: 4.625 kB / 438.5 MB, free: 124 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.415e-05/0.3267, allocations: 58.73 kB / 438.6 MB, free: 56 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002285/0.3269, allocations: 52.69 kB / 438.6 MB, free: 4 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000582/0.3275, allocations: 245.4 kB / 438.9 MB, free: 15.74 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001299/0.3276, allocations: 72.41 kB / 438.9 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.878e-05/0.3277, allocations: 28.12 kB / 439 MB, free: 15.63 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005465/0.3282, allocations: 272.4 kB / 439.2 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.3283, allocations: 4 kB / 439.2 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.155e-05/0.3283, allocations: 12 kB / 439.3 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.395e-05/0.3283, allocations: 7.938 kB / 439.3 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003877/0.3287, allocations: 165.6 kB / 439.4 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002373/0.3311, allocations: 1.014 MB / 440.4 MB, free: 14.08 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003485/0.3314, allocations: 106.4 kB / 440.5 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002007/0.3316, allocations: 80.81 kB / 440.6 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.529e-05/0.3316, allocations: 7.984 kB / 440.6 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.037e-05/0.3317, allocations: 38.56 kB / 440.7 MB, free: 13.83 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.914e-06/0.3317, allocations: 0 / 440.7 MB, free: 13.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009977/0.3327, allocations: 283.3 kB / 440.9 MB, free: 13.54 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001184/0.3328, allocations: 162.2 kB / 441.1 MB, free: 13.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000362/0.3332, allocations: 265.9 kB / 441.4 MB, free: 13.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.213e-05/0.3332, allocations: 33.7 kB / 441.4 MB, free: 13.04 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001622/0.3334, allocations: 184.3 kB / 441.6 MB, free: 12.85 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.424e-05/0.3334, allocations: 47.59 kB / 441.6 MB, free: 12.8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/0.3335, allocations: 49.67 kB / 441.7 MB, free: 12.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001916/0.3337, allocations: 330.8 kB / 442 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002035/0.3339, allocations: 83.95 kB / 442.1 MB, free: 12.33 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002513/0.3342, allocations: 140.7 kB / 442.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003366/0.3345, allocations: 164.5 kB / 442.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.3345, allocations: 0 / 442.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.007482/0.342, allocations: 0.8887 MB / 443.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.342, allocations: 8 kB / 443.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.342, allocations: 0 / 443.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008968/0.351, allocations: 0.821 MB / 444.1 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001411/0.3511, allocations: 23.91 kB / 444.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00927/0.3604, allocations: 4.696 MB / 448.8 MB, free: 5.328 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000307/0.3607, allocations: 27.86 kB / 448.8 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.193e-05/0.3607, allocations: 8.062 kB / 448.8 MB, free: 5.293 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.0001882/0.3609, allocations: 141.8 kB / 449 MB, free: 5.145 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.072e-05/0.361, allocations: 27.84 kB / 449 MB, free: 5.117 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.312e-05/0.361, allocations: 21.78 kB / 449 MB, free: 5.094 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.361, allocations: 3.938 kB / 449 MB, free: 5.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.361, allocations: 8.219 kB / 449 MB, free: 5.082 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.361, allocations: 3.984 kB / 449 MB, free: 5.078 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009831/0.362, allocations: 0.5928 MB / 449.6 MB, free: 4.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.362, allocations: 3.938 kB / 449.6 MB, free: 4.426 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001236/0.3621, allocations: 23.97 kB / 449.7 MB, free: 4.402 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001807/0.3623, allocations: 49.72 kB / 449.7 MB, free: 4.348 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.028e-05/0.3623, allocations: 7.984 kB / 449.7 MB, free: 4.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002337/0.3647, allocations: 2.72 MB / 452.4 MB, free: 1.395 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3647, allocations: 0 / 452.4 MB, free: 1.395 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005313/0.3652, allocations: 317.9 kB / 452.8 MB, free: 1.059 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.928e-05/0.3653, allocations: 23.8 kB / 452.8 MB, free: 1.035 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.844e-05/0.3653, allocations: 7.984 kB / 452.8 MB, free: 1.027 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001921/0.3655, allocations: 12 kB / 452.8 MB, free: 1.016 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.622e-05/0.3656, allocations: 35.89 kB / 452.8 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.616e-05/0.3656, allocations: 7.984 kB / 452.8 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002259/0.3658, allocations: 197.2 kB / 453 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3658, allocations: 0 / 453 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000516/0.3663, allocations: 103.8 kB / 453.1 MB, free: 0.6797 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.0008703/0.3672, allocations: 0.8436 MB / 454 MB, free: 15.8 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001502/0.3687, allocations: 0.5283 MB / 454.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3687, allocations: 4 kB / 454.5 MB, free: 15.24 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004552/0.3692, allocations: 320.7 kB / 454.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004336/0.3696, allocations: 60.66 kB / 454.9 MB, free: 14.85 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01765/0.3872, allocations: 3.972 MB / 458.9 MB, free: 10.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004542/0.3877, allocations: 0.7597 MB / 459.6 MB, free: 9.988 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001504/0.3878, allocations: 21.95 kB / 459.6 MB, free: 9.969 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001433/0.388, allocations: 91.39 kB / 459.7 MB, free: 9.879 MB / 366.1 MB Notification: Performance of SimCode: time 1.352e-06/0.388, allocations: 3.938 kB / 459.7 MB, free: 9.875 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04091/0.4289, allocations: 9.999 MB / 469.7 MB, free: 0 / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.42/13.85, allocations: 4.109 kB / 469.7 MB, free: 15.99 MB / 382.1 MB " [Timeout remaining time 646] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_Lines_LightningLosslessTransmissionLine_fmu --startTime=0 --stopTime=0.025 --stepSize=1e-06 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_Lines_LightningLosslessTransmissionLine.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.021152911009267] Failed to read output from testmodel.py, exit status != 0: ['time', 'source.i', 'load.v', 'load.i'] 14.028280326048844 14.056279908 13.726303069 Calling exit ...