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.001444/0.001444, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002086/0.002086, allocations: 214 kB / 23.73 MB, free: 4.16 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.508/1.508, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.2051/0.2051, allocations: 38.54 MB / 352.5 MB, free: 12.29 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.FixedLoadTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_FixedLoadTest",fmuType="me",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.002149/0.002149, allocations: 67.89 kB / 492.5 MB, free: 4.684 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.338/0.3402, allocations: 62.47 MB / 0.5419 GB, free: 240 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedLoadTest): time 0.005685/0.3458, allocations: 3.446 MB / 0.5453 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002399/0.3482, allocations: 1.454 MB / 0.5467 GB, free: 12.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001243/0.3484, allocations: 8.406 kB / 0.5467 GB, free: 12.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008515/0.3492, allocations: 243.8 kB / 0.547 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007396/0.35, allocations: 287.7 kB / 0.5472 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004561/0.3504, allocations: 126.9 kB / 0.5474 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005522/0.351, allocations: 351.9 kB / 0.5477 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002848/0.3512, allocations: 116 kB / 0.5478 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003288/0.3516, allocations: 164.8 kB / 0.548 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002679/0.3518, allocations: 158.6 kB / 0.5481 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.852e-05/0.3519, allocations: 14.22 kB / 0.5481 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004922/0.3524, allocations: 275.7 kB / 0.5484 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001404/0.3525, allocations: 109.7 kB / 0.5485 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001244/0.3526, allocations: 89.97 kB / 0.5486 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005054/0.3531, allocations: 361.1 kB / 0.5489 GB, free: 11.03 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3531, allocations: 5.344 kB / 0.5489 GB, free: 11.02 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3531, allocations: 0 / 0.5489 GB, free: 11.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.3531, allocations: 0 / 0.5489 GB, free: 11.02 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.0007561/0.3539, allocations: 456.8 kB / 0.5494 GB, free: 10.62 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.3539, allocations: 14.23 kB / 0.5494 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.141e-05/0.354, allocations: 58.3 kB / 0.5494 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009833/0.355, allocations: 105 kB / 0.5495 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004355/0.3554, allocations: 218.9 kB / 0.5497 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/0.3555, allocations: 12.16 kB / 0.5498 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.746e-05/0.3555, allocations: 15.97 kB / 0.5498 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005858/0.3561, allocations: 334.1 kB / 0.5501 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.3561, allocations: 1.438 kB / 0.5501 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.837e-05/0.3561, allocations: 5.344 kB / 0.5501 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.961e-05/0.3562, allocations: 22.08 kB / 0.5501 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005186/0.3567, allocations: 309.9 kB / 0.5504 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001875/0.3586, allocations: 1.182 MB / 0.5516 GB, free: 8.91 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002882/0.3589, allocations: 152.5 kB / 0.5517 GB, free: 8.805 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001687/0.359, allocations: 92.48 kB / 0.5518 GB, free: 8.75 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.3591, allocations: 2.469 kB / 0.5518 GB, free: 8.75 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.989e-05/0.3591, allocations: 36.81 kB / 0.5518 GB, free: 8.707 MB / 398.1 MB Notification: Performance of pre-optimization done (n=17): time 1.443e-06/0.3591, allocations: 0.875 kB / 0.5518 GB, free: 8.707 MB / 398.1 MB Notification: Performance of matching and sorting (n=18): time 0.001629/0.3607, allocations: 0.5874 MB / 0.5524 GB, free: 8.379 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.925e-05/0.3608, allocations: 83.39 kB / 0.5525 GB, free: 8.281 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002161/0.361, allocations: 205.8 kB / 0.5527 GB, free: 8.121 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.467e-05/0.361, allocations: 26.86 kB / 0.5527 GB, free: 8.09 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.3612, allocations: 150.6 kB / 0.5529 GB, free: 7.949 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.701e-05/0.3612, allocations: 63.84 kB / 0.5529 GB, free: 7.895 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.173e-05/0.3613, allocations: 51.53 kB / 0.553 GB, free: 7.855 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.3615, allocations: 331.5 kB / 0.5533 GB, free: 7.527 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001335/0.3616, allocations: 78.95 kB / 0.5534 GB, free: 7.492 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001999/0.3618, allocations: 152.8 kB / 0.5535 GB, free: 7.363 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003662/0.3622, allocations: 261.7 kB / 0.5538 GB, free: 7.18 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.3622, allocations: 0 / 0.5538 GB, free: 7.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006816/0.3629, allocations: 347.7 kB / 0.5541 GB, free: 6.984 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.3629, allocations: 6.812 kB / 0.5541 GB, free: 6.984 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.3629, allocations: 2.344 kB / 0.5541 GB, free: 6.984 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000419/0.3633, allocations: 91.81 kB / 0.5542 GB, free: 6.938 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001649/0.3635, allocations: 37.27 kB / 0.5542 GB, free: 6.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002855/0.3663, allocations: 2.06 MB / 0.5562 GB, free: 5.125 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001606/0.3665, allocations: 14.27 kB / 0.5562 GB, free: 5.117 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.302e-05/0.3665, allocations: 7.875 kB / 0.5562 GB, free: 5.117 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.0001884/0.3667, allocations: 155.1 kB / 0.5564 GB, free: 4.973 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.226e-05/0.3667, allocations: 27.84 kB / 0.5564 GB, free: 4.945 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006787/0.3674, allocations: 314.1 kB / 0.5567 GB, free: 4.633 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.3674, allocations: 4 kB / 0.5567 GB, free: 4.629 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.3674, allocations: 0 / 0.5567 GB, free: 4.629 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.3674, allocations: 3.938 kB / 0.5567 GB, free: 4.625 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001331/0.3688, allocations: 0.6949 MB / 0.5574 GB, free: 3.871 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.3688, allocations: 7.938 kB / 0.5574 GB, free: 3.863 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/0.3689, allocations: 27.92 kB / 0.5574 GB, free: 3.836 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000291/0.3692, allocations: 76.78 kB / 0.5575 GB, free: 3.758 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.815e-05/0.3692, allocations: 4 kB / 0.5575 GB, free: 3.754 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00238/0.3716, allocations: 1.926 MB / 0.5594 GB, free: 1.711 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.3716, allocations: 0 / 0.5594 GB, free: 1.711 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006864/0.3723, allocations: 406.6 kB / 0.5598 GB, free: 1.285 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.582e-05/0.3723, allocations: 31.89 kB / 0.5598 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.513e-05/0.3723, allocations: 0 / 0.5598 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/0.3725, allocations: 11.98 kB / 0.5598 GB, free: 1.242 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.708e-05/0.3725, allocations: 19.92 kB / 0.5598 GB, free: 1.223 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.073e-05/0.3726, allocations: 7.984 kB / 0.5599 GB, free: 1.215 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001542/0.3727, allocations: 139.1 kB / 0.56 GB, free: 1.078 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3727, allocations: 0 / 0.56 GB, free: 1.078 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005149/0.3732, allocations: 68 kB / 0.5601 GB, free: 1.012 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.001041/0.3743, allocations: 0.945 MB / 0.561 GB, free: 28 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008238/0.3751, allocations: 366.3 kB / 0.5613 GB, free: 15.65 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3751, allocations: 0 / 0.5613 GB, free: 15.65 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004186/0.3755, allocations: 253.8 kB / 0.5616 GB, free: 15.39 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003878/0.3759, allocations: 35.98 kB / 0.5616 GB, free: 15.36 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003625/0.3795, allocations: 2.631 MB / 0.5642 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001971/0.3797, allocations: 164.3 kB / 0.5643 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000121/0.3798, allocations: 37.61 kB / 0.5644 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001164/0.38, allocations: 59.42 kB / 0.5644 GB, free: 12.3 MB / 414.1 MB Notification: Performance of SimCode: time 9.12e-07/0.38, allocations: 3.938 kB / 0.5644 GB, free: 12.29 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03913/0.4191, allocations: 5.788 MB / 0.5701 GB, free: 6.645 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.67/13.09, allocations: 0 / 0.5701 GB, free: 6.645 MB / 414.1 MB " [Timeout remaining time 647] (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: 15.967835552059114] Failed to read output from testmodel.py, exit status != 0: 13.210182064212859 13.226410682 12.86986825 Calling exit ...