Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.Units.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 123.9 kB / 17.79 MB, free: 5.285 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 185.3 kB / 20.73 MB, free: 2.355 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 225.6 MB / 249.1 MB, free: 3.734 MB / 190.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.2436/0.2436, allocations: 38.51 MB / 342.5 MB, free: 8.07 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Introductory.Units,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_Units",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.Units,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_Units",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00282/0.00282, allocations: 69.59 kB / 478.6 MB, free: 33.88 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1073, allocations: 61.24 MB / 0.5272 GB, free: 1.41 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Units): time 0.008014/0.1153, allocations: 6.169 MB / 0.5332 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003639/0.1189, allocations: 1.955 MB / 0.5351 GB, free: 9.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003711/0.1193, allocations: 19.88 kB / 0.5351 GB, free: 9.23 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001883/0.1212, allocations: 0.7003 MB / 0.5358 GB, free: 8.527 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009686/0.1222, allocations: 382.2 kB / 0.5362 GB, free: 8.152 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00103/0.1232, allocations: 407 kB / 0.5366 GB, free: 7.754 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001153/0.1243, allocations: 0.9393 MB / 0.5375 GB, free: 6.812 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006201/0.125, allocations: 408.2 kB / 0.5379 GB, free: 6.406 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006361/0.1256, allocations: 434.3 kB / 0.5383 GB, free: 5.98 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008461/0.1264, allocations: 0.5725 MB / 0.5389 GB, free: 5.406 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001384/0.1266, allocations: 56 kB / 0.5389 GB, free: 5.352 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007266/0.1273, allocations: 255.6 kB / 0.5392 GB, free: 5.102 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006446/0.128, allocations: 410.9 kB / 0.5395 GB, free: 4.699 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007155/0.1287, allocations: 429.9 kB / 0.54 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001828/0.1305, allocations: 1.016 MB / 0.541 GB, free: 3.258 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1305, allocations: 0 / 0.541 GB, free: 3.258 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1305, allocations: 0 / 0.541 GB, free: 3.258 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.023e-05/0.1305, allocations: 0 / 0.541 GB, free: 3.258 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.002778/0.1333, allocations: 1.094 MB / 0.542 GB, free: 2.113 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.1334, allocations: 11.89 kB / 0.542 GB, free: 2.102 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002353/0.1336, allocations: 135.3 kB / 0.5422 GB, free: 1.961 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001027/0.1346, allocations: 140.3 kB / 0.5423 GB, free: 1.824 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001515/0.1361, allocations: 0.552 MB / 0.5428 GB, free: 1.234 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.52e-05/0.1362, allocations: 58.38 kB / 0.5429 GB, free: 1.18 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001994/0.1364, allocations: 87.86 kB / 0.543 GB, free: 1.094 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002509/0.1389, allocations: 1.118 MB / 0.5441 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.829e-05/0.139, allocations: 15.92 kB / 0.5441 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001222/0.1391, allocations: 36 kB / 0.5441 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.391e-05/0.1392, allocations: 53.92 kB / 0.5442 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00228/0.1415, allocations: 0.8584 MB / 0.545 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008887/0.1504, allocations: 5.064 MB / 0.5499 GB, free: 9.613 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001031/0.1514, allocations: 392 kB / 0.5503 GB, free: 9.215 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004854/0.1519, allocations: 189.7 kB / 0.5505 GB, free: 9.023 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.051e-05/0.1519, allocations: 23.97 kB / 0.5505 GB, free: 9 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.992e-05/0.152, allocations: 42.5 kB / 0.5506 GB, free: 8.949 MB / 414.1 MB Notification: Performance of pre-optimization done (n=43): time 3.467e-06/0.152, allocations: 0 / 0.5506 GB, free: 8.949 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.002914/0.1549, allocations: 1.077 MB / 0.5516 GB, free: 7.863 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.304e-05/0.155, allocations: 85.11 kB / 0.5517 GB, free: 7.762 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009388/0.1559, allocations: 0.4939 MB / 0.5522 GB, free: 7.254 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.349e-05/0.156, allocations: 33.83 kB / 0.5522 GB, free: 7.215 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000477/0.1565, allocations: 471.3 kB / 0.5527 GB, free: 6.75 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002294/0.1567, allocations: 166.7 kB / 0.5528 GB, free: 6.586 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002867/0.157, allocations: 154.5 kB / 0.553 GB, free: 6.43 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001922/0.1572, allocations: 366.7 kB / 0.5533 GB, free: 6.062 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000391/0.1576, allocations: 241.8 kB / 0.5535 GB, free: 5.828 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00071/0.1583, allocations: 0.6209 MB / 0.5542 GB, free: 5.023 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00118/0.1595, allocations: 0.9379 MB / 0.5551 GB, free: 3.902 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.1595, allocations: 4 kB / 0.5551 GB, free: 3.898 MB / 414.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001842/0.1613, allocations: 0.8958 MB / 0.556 GB, free: 2.996 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.918e-05/0.1613, allocations: 8 kB / 0.556 GB, free: 2.988 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.444e-05/0.1614, allocations: 16 kB / 0.556 GB, free: 2.973 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.849e-05/0.1614, allocations: 16.75 kB / 0.556 GB, free: 2.957 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001059/0.1625, allocations: 227.6 kB / 0.5562 GB, free: 2.734 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.553e-05/0.1625, allocations: 27.92 kB / 0.5562 GB, free: 2.707 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006707/0.1632, allocations: 47.92 kB / 0.5563 GB, free: 2.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.93e-05/0.1633, allocations: 47.98 kB / 0.5563 GB, free: 2.613 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * 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 (99): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005409/0.1638, allocations: 305.3 kB / 0.5566 GB, free: 2.305 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001434/0.164, allocations: 59.61 kB / 0.5567 GB, free: 2.246 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001388/0.1653, allocations: 0.5564 MB / 0.5572 GB, free: 1.68 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.278e-05/0.1654, allocations: 11.98 kB / 0.5572 GB, free: 1.668 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.1654, allocations: 0 / 0.5572 GB, free: 1.668 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/0.1654, allocations: 3.984 kB / 0.5572 GB, free: 1.664 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003117/0.1685, allocations: 1.339 MB / 0.5585 GB, free: 244 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.1685, allocations: 0 / 0.5585 GB, free: 244 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000712/0.1692, allocations: 115.8 kB / 0.5586 GB, free: 128 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.291e-05/0.1692, allocations: 7.938 kB / 0.5587 GB, free: 120 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.357e-05/0.1693, allocations: 12 kB / 0.5587 GB, free: 108 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.018e-05/0.1693, allocations: 4 kB / 0.5587 GB, free: 104 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.112e-06/0.1693, allocations: 4.25 kB / 0.5587 GB, free: 100 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001182/0.1705, allocations: 0.6459 MB / 0.5593 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001837/0.1706, allocations: 136.6 kB / 0.5594 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.455e-05/0.1707, allocations: 11.98 kB / 0.5594 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004015/0.1711, allocations: 23.98 kB / 0.5595 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.917e-05/0.1712, allocations: 35.89 kB / 0.5595 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.296e-05/0.1713, allocations: 20 kB / 0.5595 GB, free: 15.17 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005502/0.1718, allocations: 326.8 kB / 0.5598 GB, free: 14.85 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1718, allocations: 0 / 0.5598 GB, free: 14.85 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001122/0.1729, allocations: 164 kB / 0.56 GB, free: 14.69 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001574/0.1745, allocations: 1.201 MB / 0.5612 GB, free: 13.43 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001346/0.1759, allocations: 0.5873 MB / 0.5617 GB, free: 12.85 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.1759, allocations: 0 / 0.5617 GB, free: 12.85 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005721/0.1764, allocations: 211.7 kB / 0.5619 GB, free: 12.64 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001022/0.1775, allocations: 112.7 kB / 0.562 GB, free: 12.54 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01124/0.1887, allocations: 5.801 MB / 0.5677 GB, free: 6.23 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009901/0.1897, allocations: 0.9957 MB / 0.5687 GB, free: 5.207 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0008189/0.1905, allocations: 228.9 kB / 0.5689 GB, free: 4.984 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005604/0.1911, allocations: 255.3 kB / 0.5691 GB, free: 4.734 MB / 430.1 MB Notification: Performance of SimCode: time 8.61e-07/0.1911, allocations: 0 / 0.5691 GB, free: 4.734 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05033/0.2414, allocations: 11.56 MB / 0.5804 GB, free: 9.273 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.856/9.097, allocations: 19.72 kB / 0.5805 GB, free: 9.254 MB / 446.1 MB " [Timeout remaining time 651] (rm -f PowerSystems_PowerSystems.Examples.Introductory.Units.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.Units.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.Units.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.Units.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Introductory_Units_fmu --startTime=0 --stopTime=0.1 --stepSize=4e-05 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Introductory_Units.fmu > PowerSystems_PowerSystems.Examples.Introductory.Units.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.887354159262031] Failed to read output from testmodel.py, exit status != 0: 9.172455531079322 9.18691617 9.053278304 Calling exit ...