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.001791/0.001791, allocations: 120.1 kB / 18.49 MB, free: 4.562 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.002174/0.002174, allocations: 215 kB / 21.45 MB, free: 1.617 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.528/1.528, allocations: 230.6 MB / 254.8 MB, free: 15.24 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.2442/0.2442, allocations: 38.5 MB / 349.4 MB, free: 2.629 MB / 270.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.002053/0.002053, allocations: 60.14 kB / 487.8 MB, free: 32.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1157, allocations: 62.42 MB / 0.5373 GB, free: 9.562 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedLoadTest): time 0.005253/0.121, allocations: 3.505 MB / 0.5408 GB, free: 6.039 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002275/0.1233, allocations: 1.582 MB / 0.5423 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001108/0.1234, allocations: 7.938 kB / 0.5423 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008084/0.1242, allocations: 266.7 kB / 0.5426 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005798/0.1248, allocations: 282.9 kB / 0.5428 GB, free: 3.906 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003076/0.1251, allocations: 127.6 kB / 0.543 GB, free: 3.781 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004171/0.1255, allocations: 343 kB / 0.5433 GB, free: 3.445 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002609/0.1258, allocations: 117.6 kB / 0.5434 GB, free: 3.332 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002911/0.126, allocations: 171.3 kB / 0.5436 GB, free: 3.164 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002463/0.1263, allocations: 155.4 kB / 0.5437 GB, free: 3.012 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.752e-05/0.1263, allocations: 16 kB / 0.5437 GB, free: 2.996 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005138/0.1268, allocations: 347.1 kB / 0.5441 GB, free: 2.656 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.1269, allocations: 95.7 kB / 0.5442 GB, free: 2.562 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001262/0.1271, allocations: 107.5 kB / 0.5443 GB, free: 2.457 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006023/0.1277, allocations: 362.7 kB / 0.5446 GB, free: 2.102 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1277, allocations: 0 / 0.5446 GB, free: 2.102 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1277, allocations: 0 / 0.5446 GB, free: 2.102 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.1277, allocations: 0 / 0.5446 GB, free: 2.102 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.0007449/0.1284, allocations: 0.5216 MB / 0.5451 GB, free: 1.531 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.1285, allocations: 8.031 kB / 0.5451 GB, free: 1.523 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.107e-05/0.1285, allocations: 4.188 kB / 0.5451 GB, free: 1.52 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.886e-05/0.1285, allocations: 58.67 kB / 0.5452 GB, free: 1.453 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009947/0.1295, allocations: 116.7 kB / 0.5453 GB, free: 1.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003544/0.1299, allocations: 271.8 kB / 0.5456 GB, free: 1.035 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.1299, allocations: 8.375 kB / 0.5456 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.339e-05/0.13, allocations: 16.38 kB / 0.5456 GB, free: 1.012 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005789/0.1305, allocations: 345.5 kB / 0.5459 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.1306, allocations: 3.984 kB / 0.5459 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.735e-05/0.1306, allocations: 8 kB / 0.5459 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.595e-05/0.1306, allocations: 15.98 kB / 0.5459 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000511/0.1311, allocations: 311.7 kB / 0.5462 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002051/0.1332, allocations: 1.26 MB / 0.5475 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002835/0.1335, allocations: 153.1 kB / 0.5476 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001559/0.1336, allocations: 93.73 kB / 0.5477 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.451e-05/0.1336, allocations: 0 / 0.5477 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.089e-05/0.1337, allocations: 42.5 kB / 0.5477 GB, free: 14.65 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 1.303e-06/0.1337, allocations: 0 / 0.5477 GB, free: 14.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=18): time 0.001643/0.1353, allocations: 0.6612 MB / 0.5484 GB, free: 13.96 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001433/0.1355, allocations: 85.05 kB / 0.5485 GB, free: 13.86 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002074/0.1357, allocations: 194.2 kB / 0.5486 GB, free: 13.66 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.405e-05/0.1357, allocations: 29.7 kB / 0.5487 GB, free: 13.63 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.1358, allocations: 156.2 kB / 0.5488 GB, free: 13.47 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.353e-05/0.1359, allocations: 67.45 kB / 0.5489 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.397e-05/0.136, allocations: 49.66 kB / 0.5489 GB, free: 13.35 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.1361, allocations: 330.8 kB / 0.5493 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001404/0.1363, allocations: 79.95 kB / 0.5493 GB, free: 12.94 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002809/0.1365, allocations: 160.3 kB / 0.5495 GB, free: 12.75 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003989/0.1369, allocations: 262.5 kB / 0.5497 GB, free: 12.47 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1369, allocations: 0 / 0.5497 GB, free: 12.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006676/0.1376, allocations: 346 kB / 0.5501 GB, free: 12.12 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.1376, allocations: 8 kB / 0.5501 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.1376, allocations: 0 / 0.5501 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004004/0.138, allocations: 93.06 kB / 0.5502 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000169/0.1382, allocations: 43.92 kB / 0.5502 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00272/0.1409, allocations: 2.164 MB / 0.5523 GB, free: 9.672 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001504/0.1411, allocations: 15.92 kB / 0.5523 GB, free: 9.656 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.373e-05/0.1411, allocations: 12 kB / 0.5523 GB, free: 9.645 MB / 414.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.0001811/0.1413, allocations: 165.6 kB / 0.5525 GB, free: 9.473 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.01e-05/0.1413, allocations: 19.86 kB / 0.5525 GB, free: 9.453 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006673/0.142, allocations: 319 kB / 0.5528 GB, free: 9.129 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.142, allocations: 4 kB / 0.5528 GB, free: 9.125 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.754e-06/0.142, allocations: 0 / 0.5528 GB, free: 9.125 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.142, allocations: 0 / 0.5528 GB, free: 9.125 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001289/0.1433, allocations: 0.741 MB / 0.5536 GB, free: 8.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.1433, allocations: 7.984 kB / 0.5536 GB, free: 8.312 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001177/0.1434, allocations: 23.98 kB / 0.5536 GB, free: 8.289 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002956/0.1437, allocations: 80.78 kB / 0.5537 GB, free: 8.207 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/0.1437, allocations: 8 kB / 0.5537 GB, free: 8.199 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002311/0.146, allocations: 2.044 MB / 0.5557 GB, free: 6.02 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.146, allocations: 0 / 0.5557 GB, free: 6.02 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000681/0.1467, allocations: 406.7 kB / 0.556 GB, free: 5.594 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.42e-05/0.1468, allocations: 100.9 kB / 0.5561 GB, free: 5.477 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.532e-05/0.1468, allocations: 4 kB / 0.5562 GB, free: 5.473 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.147, allocations: 15.98 kB / 0.5562 GB, free: 5.457 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.431e-05/0.147, allocations: 11.98 kB / 0.5562 GB, free: 5.445 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.776e-05/0.147, allocations: 8 kB / 0.5562 GB, free: 5.438 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001403/0.1472, allocations: 144.3 kB / 0.5563 GB, free: 5.297 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1472, allocations: 0 / 0.5563 GB, free: 5.297 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000466/0.1476, allocations: 67.94 kB / 0.5564 GB, free: 5.23 MB / 414.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.0009587/0.1486, allocations: 0.9371 MB / 0.5573 GB, free: 4.254 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007541/0.1493, allocations: 388.9 kB / 0.5577 GB, free: 3.863 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1494, allocations: 0 / 0.5577 GB, free: 3.863 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004326/0.1498, allocations: 254 kB / 0.5579 GB, free: 3.605 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000373/0.1502, allocations: 31.98 kB / 0.5579 GB, free: 3.574 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003553/0.1537, allocations: 2.628 MB / 0.5605 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000447/0.1542, allocations: 0.7673 MB / 0.5613 GB, free: 15.98 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001114/0.1543, allocations: 41.52 kB / 0.5613 GB, free: 15.95 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/0.1544, allocations: 59.42 kB / 0.5614 GB, free: 15.89 MB / 430.1 MB Notification: Performance of SimCode: time 7.31e-07/0.1544, allocations: 0 / 0.5614 GB, free: 15.89 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02673/0.1811, allocations: 5.408 MB / 0.5666 GB, free: 10.6 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.26/12.44, allocations: 10.11 kB / 0.5666 GB, free: 10.59 MB / 430.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.540936966019217] Failed to read output from testmodel.py, exit status != 0: 12.596807944995817 12.611300839 12.480622632 Calling exit ...