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.001286/0.001286, allocations: 117.3 kB / 18.5 MB, free: 4.434 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: 218.6 kB / 21.47 MB, free: 1.473 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.471/1.471, allocations: 230.2 MB / 254.5 MB, free: 15.25 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_Lines_LightningLosslessTransmissionLine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001805/0.001805, allocations: 63.89 kB / 373.4 MB, free: 10.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1181, allocations: 53.33 MB / 426.7 MB, free: 4.957 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.004435/0.1226, allocations: 2.857 MB / 429.6 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001553/0.1241, allocations: 0.857 MB / 430.4 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001265/0.1242, allocations: 7.938 kB / 430.4 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001555/0.1244, allocations: 39.58 kB / 430.5 MB, free: 1.176 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003158/0.1247, allocations: 131.1 kB / 430.6 MB, free: 1.047 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004149/0.1251, allocations: 191.7 kB / 430.8 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004968/0.1256, allocations: 490.3 kB / 431.3 MB, free: 388 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001902/0.1258, allocations: 85.19 kB / 431.3 MB, free: 296 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000273/0.1261, allocations: 187.3 kB / 431.5 MB, free: 108 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2183/0.3444, allocations: 215.9 kB / 431.7 MB, free: 7.957 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00016/0.3445, allocations: 40.53 kB / 431.8 MB, free: 7.957 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002056/0.3447, allocations: 50.28 kB / 431.8 MB, free: 7.957 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.906e-05/0.3448, allocations: 90.23 kB / 431.9 MB, free: 7.957 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002273/0.3451, allocations: 190.9 kB / 432.1 MB, free: 7.957 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006144/0.3457, allocations: 457.6 kB / 432.5 MB, free: 7.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.3457, allocations: 0 / 432.5 MB, free: 7.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.3457, allocations: 0.9375 kB / 432.5 MB, free: 7.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.699e-06/0.3457, allocations: 0.625 kB / 432.5 MB, free: 7.91 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001499/0.3472, allocations: 0.6971 MB / 433.2 MB, free: 7.441 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.3472, allocations: 9.469 kB / 433.2 MB, free: 7.441 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.992e-05/0.3473, allocations: 57.58 kB / 433.3 MB, free: 7.402 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002029/0.3475, allocations: 49.17 kB / 433.4 MB, free: 7.383 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004528/0.3479, allocations: 307.4 kB / 433.7 MB, free: 7.152 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.782e-05/0.348, allocations: 48.56 kB / 433.7 MB, free: 7.121 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.66e-05/0.3481, allocations: 22.97 kB / 433.7 MB, free: 7.121 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000423/0.3485, allocations: 283.3 kB / 434 MB, free: 7.043 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.3485, allocations: 0 / 434 MB, free: 7.043 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.665e-05/0.3485, allocations: 12.69 kB / 434 MB, free: 7.043 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.3485, allocations: 4.375 kB / 434 MB, free: 7.043 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002925/0.3488, allocations: 163.3 kB / 434.2 MB, free: 7.039 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002064/0.3509, allocations: 1.045 MB / 435.2 MB, free: 6.605 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003035/0.3512, allocations: 107.1 kB / 435.3 MB, free: 6.582 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001937/0.3514, allocations: 81.38 kB / 435.4 MB, free: 6.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.3514, allocations: 4.906 kB / 435.4 MB, free: 6.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.3514, allocations: 45.69 kB / 435.5 MB, free: 6.527 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.282e-06/0.3514, allocations: 0 / 435.5 MB, free: 6.527 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009438/0.3524, allocations: 433.3 kB / 435.9 MB, free: 6.277 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.395e-05/0.3525, allocations: 158.2 kB / 436 MB, free: 6.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003063/0.3528, allocations: 275.7 kB / 436.3 MB, free: 5.977 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.458e-05/0.3528, allocations: 29.08 kB / 436.3 MB, free: 5.945 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.3529, allocations: 182.9 kB / 436.5 MB, free: 5.828 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.622e-05/0.3529, allocations: 50.36 kB / 436.6 MB, free: 5.793 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.353, allocations: 58.11 kB / 436.6 MB, free: 5.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.356e-05/0.3531, allocations: 331.1 kB / 436.9 MB, free: 5.457 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001822/0.3533, allocations: 84.92 kB / 437 MB, free: 5.457 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001965/0.3535, allocations: 136.4 kB / 437.2 MB, free: 5.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003006/0.3538, allocations: 167.4 kB / 437.3 MB, free: 5.391 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3538, allocations: 0 / 437.3 MB, free: 5.391 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.008127/0.3619, allocations: 0.8843 MB / 438.2 MB, free: 5.301 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.269e-05/0.3619, allocations: 8.812 kB / 438.2 MB, free: 5.297 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.362, allocations: 1.281 kB / 438.2 MB, free: 5.297 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009463/0.3714, allocations: 0.8313 MB / 439 MB, free: 5.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001573/0.3716, allocations: 17.73 kB / 439.1 MB, free: 5.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008379/0.38, allocations: 4.891 MB / 444 MB, free: 1.656 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003595/0.3803, allocations: 29.97 kB / 444 MB, free: 1.641 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.474e-05/0.3803, allocations: 8.812 kB / 444 MB, free: 1.641 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.0001784/0.3805, allocations: 143.6 kB / 444.1 MB, free: 1.504 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.674e-05/0.3806, allocations: 24.06 kB / 444.2 MB, free: 1.492 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.381e-05/0.3806, allocations: 26.34 kB / 444.2 MB, free: 1.473 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.3806, allocations: 3.594 kB / 444.2 MB, free: 1.473 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.3806, allocations: 1.125 kB / 444.2 MB, free: 1.473 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.3806, allocations: 2 kB / 444.2 MB, free: 1.473 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009626/0.3816, allocations: 0.62 MB / 444.8 MB, free: 1.035 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.3816, allocations: 1.703 kB / 444.8 MB, free: 1.035 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001326/0.3817, allocations: 19.77 kB / 444.8 MB, free: 1.035 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001872/0.3819, allocations: 54.47 kB / 444.9 MB, free: 1.012 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.137e-05/0.382, allocations: 7.906 kB / 444.9 MB, free: 1.008 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002153/0.3841, allocations: 2.936 MB / 447.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3841, allocations: 0 / 447.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005691/0.3847, allocations: 314.5 kB / 448.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.865e-05/0.3848, allocations: 101.3 kB / 448.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.124e-05/0.3848, allocations: 11.08 kB / 448.2 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001988/0.385, allocations: 11 kB / 448.3 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.516e-05/0.3851, allocations: 37.33 kB / 448.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.656e-05/0.3851, allocations: 5.703 kB / 448.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002586/0.3854, allocations: 201.2 kB / 448.5 MB, free: 13.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3854, allocations: 0 / 448.5 MB, free: 13.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006076/0.386, allocations: 95.52 kB / 448.6 MB, free: 13.57 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: 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.0009295/0.3869, allocations: 0.8462 MB / 449.4 MB, free: 12.83 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001558/0.3885, allocations: 0.5415 MB / 450 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3885, allocations: 0 / 450 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004461/0.3889, allocations: 315.2 kB / 450.3 MB, free: 12.26 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000433/0.3894, allocations: 56.47 kB / 450.3 MB, free: 12.24 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01857/0.4079, allocations: 3.974 MB / 454.3 MB, free: 10.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004314/0.4084, allocations: 0.7621 MB / 455.1 MB, free: 9.555 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000169/0.4085, allocations: 25 kB / 455.1 MB, free: 9.547 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001514/0.4087, allocations: 90.02 kB / 455.2 MB, free: 9.484 MB / 366.1 MB Notification: Performance of SimCode: time 1.302e-06/0.4087, allocations: 4 kB / 455.2 MB, free: 9.48 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04444/0.4531, allocations: 9.902 MB / 465.1 MB, free: 5.418 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.62/13.07, allocations: 9.078 kB / 465.1 MB, free: 5.41 MB / 366.1 MB " [Timeout remaining time 647] (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 --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 sys.exit(0), Time elapsed: 15.758794215973467] Failed to read output from testmodel.py, exit status != 0: 13.170736921019852 13.185136602 12.836727211 Calling exit ...