Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001796/0.001796, allocations: 112.2 kB / 21.22 MB, free: 0.7305 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002138/0.002138, allocations: 212.2 kB / 24.53 MB, free: 4.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.569/1.569, allocations: 230.6 MB / 258.3 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1877/0.1877, allocations: 38.53 MB / 353.2 MB, free: 12.52 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.FixedLoadTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_FixedLoadTest",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.FixedLoadTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_FixedLoadTest",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002119/0.002119, allocations: 67.89 kB / 493.3 MB, free: 4.887 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.357/0.3591, allocations: 62.47 MB / 0.5428 GB, free: 424 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedLoadTest): time 0.005182/0.3643, allocations: 3.605 MB / 0.5463 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002524/0.3668, allocations: 1.589 MB / 0.5478 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001532/0.3669, allocations: 9.531 kB / 0.5478 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008673/0.3678, allocations: 262.9 kB / 0.5481 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000657/0.3685, allocations: 290.4 kB / 0.5484 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003354/0.3688, allocations: 123.4 kB / 0.5485 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005107/0.3693, allocations: 356.1 kB / 0.5488 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002964/0.3696, allocations: 115.4 kB / 0.5489 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003292/0.3699, allocations: 163.8 kB / 0.5491 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003034/0.3702, allocations: 166.8 kB / 0.5493 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.021e-05/0.3703, allocations: 14.66 kB / 0.5493 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005923/0.3709, allocations: 336.8 kB / 0.5496 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001513/0.371, allocations: 109.7 kB / 0.5497 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001467/0.3712, allocations: 111 kB / 0.5498 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005764/0.3717, allocations: 354.4 kB / 0.5501 GB, free: 10.81 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.3717, allocations: 0 / 0.5501 GB, free: 10.81 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3717, allocations: 0.9375 kB / 0.5501 GB, free: 10.81 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.21e-05/0.3717, allocations: 0 / 0.5501 GB, free: 10.81 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0008046/0.3726, allocations: 460.9 kB / 0.5506 GB, free: 10.4 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.3726, allocations: 13.39 kB / 0.5506 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.718e-05/0.3726, allocations: 3.969 kB / 0.5506 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.272e-05/0.3727, allocations: 50.11 kB / 0.5506 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00112/0.3738, allocations: 111 kB / 0.5508 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003903/0.3742, allocations: 214.7 kB / 0.551 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.735e-05/0.3742, allocations: 14.72 kB / 0.551 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.446e-05/0.3743, allocations: 16.41 kB / 0.551 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005844/0.3749, allocations: 336.1 kB / 0.5513 GB, free: 9.852 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.3749, allocations: 1.281 kB / 0.5513 GB, free: 9.852 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.057e-05/0.3749, allocations: 6.719 kB / 0.5513 GB, free: 9.848 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.876e-05/0.375, allocations: 16.06 kB / 0.5513 GB, free: 9.844 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000494/0.3754, allocations: 309.1 kB / 0.5516 GB, free: 9.703 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001898/0.3773, allocations: 1.233 MB / 0.5528 GB, free: 8.648 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000343/0.3777, allocations: 153 kB / 0.553 GB, free: 8.543 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002135/0.3779, allocations: 96.73 kB / 0.5531 GB, free: 8.484 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.653e-05/0.3779, allocations: 2.344 kB / 0.5531 GB, free: 8.484 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.193e-05/0.378, allocations: 33.16 kB / 0.5531 GB, free: 8.445 MB / 398.1 MB Notification: Performance of pre-optimization done (n=17): time 1.393e-06/0.378, allocations: 0 / 0.5531 GB, free: 8.445 MB / 398.1 MB Notification: Performance of matching and sorting (n=18): time 0.001835/0.3798, allocations: 0.5939 MB / 0.5537 GB, free: 8.113 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/0.3799, allocations: 90.98 kB / 0.5538 GB, free: 8.008 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002489/0.3802, allocations: 197.1 kB / 0.554 GB, free: 7.855 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.927e-05/0.3802, allocations: 26.95 kB / 0.554 GB, free: 7.824 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001491/0.3804, allocations: 154.8 kB / 0.5541 GB, free: 7.68 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.463e-05/0.3804, allocations: 59.92 kB / 0.5542 GB, free: 7.629 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.486e-05/0.3805, allocations: 51.3 kB / 0.5542 GB, free: 7.59 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002708/0.3808, allocations: 327.4 kB / 0.5545 GB, free: 7.266 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/0.3809, allocations: 85.86 kB / 0.5546 GB, free: 7.223 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002078/0.3811, allocations: 150.3 kB / 0.5548 GB, free: 7.094 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003876/0.3815, allocations: 253.7 kB / 0.555 GB, free: 6.914 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3815, allocations: 1.094 kB / 0.555 GB, free: 6.914 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0007242/0.3823, allocations: 351.1 kB / 0.5553 GB, free: 6.715 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/0.3823, allocations: 6.094 kB / 0.5554 GB, free: 6.715 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.3823, allocations: 2.406 kB / 0.5554 GB, free: 6.715 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004294/0.3827, allocations: 92.66 kB / 0.5554 GB, free: 6.668 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000163/0.3829, allocations: 36.86 kB / 0.5555 GB, free: 6.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002889/0.3858, allocations: 2.066 MB / 0.5575 GB, free: 4.848 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000156/0.3859, allocations: 9.5 kB / 0.5575 GB, free: 4.844 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.019e-05/0.386, allocations: 11.8 kB / 0.5575 GB, free: 4.84 MB / 398.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: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.000245/0.3862, allocations: 161.5 kB / 0.5577 GB, free: 4.691 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.446e-05/0.3863, allocations: 24.92 kB / 0.5577 GB, free: 4.676 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007976/0.3871, allocations: 314.8 kB / 0.558 GB, free: 4.457 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.3871, allocations: 0 / 0.558 GB, free: 4.457 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.694e-06/0.3871, allocations: 0 / 0.558 GB, free: 4.457 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.3871, allocations: 4 kB / 0.558 GB, free: 4.453 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001373/0.3885, allocations: 0.7182 MB / 0.5587 GB, free: 3.676 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.3885, allocations: 0 / 0.5587 GB, free: 3.676 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001317/0.3886, allocations: 27.92 kB / 0.5587 GB, free: 3.648 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003045/0.3889, allocations: 88.97 kB / 0.5588 GB, free: 3.559 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/0.3889, allocations: 0 / 0.5588 GB, free: 3.559 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002226/0.3911, allocations: 1.933 MB / 0.5607 GB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.3911, allocations: 0 / 0.5607 GB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006712/0.3918, allocations: 414.6 kB / 0.5611 GB, free: 1.074 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.594e-05/0.3919, allocations: 23.8 kB / 0.5611 GB, free: 1.051 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.704e-05/0.3919, allocations: 8.047 kB / 0.5611 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/0.392, allocations: 11.97 kB / 0.5611 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.19e-05/0.3921, allocations: 19.97 kB / 0.5612 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.661e-05/0.3921, allocations: 4 kB / 0.5612 GB, free: 1.008 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001489/0.3922, allocations: 139.1 kB / 0.5613 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3922, allocations: 0 / 0.5613 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005056/0.3927, allocations: 68 kB / 0.5614 GB, free: 0.8047 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001031/0.3938, allocations: 0.9409 MB / 0.5623 GB, free: 15.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007796/0.3945, allocations: 370.2 kB / 0.5626 GB, free: 15.45 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/0.3946, allocations: 0 / 0.5626 GB, free: 15.45 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004316/0.395, allocations: 254.2 kB / 0.5629 GB, free: 15.19 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004149/0.3954, allocations: 35.91 kB / 0.5629 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003878/0.3993, allocations: 2.649 MB / 0.5655 GB, free: 12.35 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004691/0.3997, allocations: 0.7712 MB / 0.5662 GB, free: 11.55 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001117/0.3999, allocations: 37.73 kB / 0.5663 GB, free: 11.52 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/0.4, allocations: 63.41 kB / 0.5663 GB, free: 11.45 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4, allocations: 0 / 0.5663 GB, free: 11.45 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02997/0.4299, allocations: 5.623 MB / 0.5718 GB, free: 5.957 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.95/13.38, allocations: 8 kB / 0.5718 GB, free: 5.949 MB / 414.1 MB " [Timeout remaining time 646] (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Test_FixedLoadTest_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Test_FixedLoadTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.415081840998027] Failed to read output from testmodel.py, exit status != 0: 13.562748675991315 13.592717852 13.215457254 Calling exit ...