Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceThreeLoads.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.001146/0.001146, allocations: 76.55 kB / 19.97 MB, free: 4.594 MB / 18.57 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.001298/0.001298, allocations: 174.3 kB / 23.25 MB, free: 1.312 MB / 18.57 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 0.8913/0.8913, allocations: 177.1 MB / 203.6 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.02415/0.02415, allocations: 4.472 MB / 264.5 MB, free: 8.77 MB / 250.7 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/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(PowerSysPro.Examples.OneSourceThreeLoads,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceThreeLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceThreeLoads,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceThreeLoads",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.032e-06/1.032e-06, allocations: 0 / 389.6 MB, free: 7.41 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.047e-05/1.15e-05, allocations: 2.281 kB / 389.6 MB, free: 7.406 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceThreeLoads): time 0.001893/0.001905, allocations: 1.967 MB / 391.6 MB, free: 5.441 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001675/0.00358, allocations: 1.664 MB / 393.2 MB, free: 3.762 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.003684, allocations: 4 kB / 393.2 MB, free: 3.758 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002783/0.003962, allocations: 147 kB / 393.4 MB, free: 3.613 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002764/0.004238, allocations: 186.7 kB / 393.6 MB, free: 3.43 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000926/0.005164, allocations: 0.8896 MB / 394.4 MB, free: 2.539 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003574/0.005522, allocations: 417.8 kB / 394.9 MB, free: 2.129 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001482/0.00567, allocations: 87.66 kB / 394.9 MB, free: 2.039 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001842/0.005854, allocations: 239.4 kB / 395.2 MB, free: 1.805 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001683/0.006022, allocations: 179.5 kB / 395.3 MB, free: 1.629 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.554e-05/0.006058, allocations: 32 kB / 395.4 MB, free: 1.598 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003003/0.006358, allocations: 215.6 kB / 395.6 MB, free: 1.387 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.732e-05/0.006406, allocations: 87.66 kB / 395.7 MB, free: 1.301 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 8.789e-05/0.006493, allocations: 131.6 kB / 395.8 MB, free: 1.172 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004518/0.006945, allocations: 0.5685 MB / 396.4 MB, free: 0.6016 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.006947, allocations: 0 / 396.4 MB, free: 0.6016 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.006947, allocations: 0 / 396.4 MB, free: 0.6016 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.006952, allocations: 0 / 396.4 MB, free: 0.6016 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.001968/0.00892, allocations: 1.078 MB / 397.5 MB, free: 15.49 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.969e-05/0.00895, allocations: 15.98 kB / 397.5 MB, free: 15.47 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.895e-05/0.008999, allocations: 58.73 kB / 397.5 MB, free: 15.41 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.184e-05/0.009061, allocations: 48.66 kB / 397.6 MB, free: 15.36 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002697/0.00933, allocations: 264.6 kB / 397.8 MB, free: 15.07 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.009347, allocations: 29.03 kB / 397.9 MB, free: 15.04 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.377e-05/0.00938, allocations: 28.38 kB / 397.9 MB, free: 15.02 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004884/0.009869, allocations: 0.6463 MB / 398.5 MB, free: 14.31 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.116e-06/0.009877, allocations: 192 / 398.5 MB, free: 14.31 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.367e-05/0.0099, allocations: 12.38 kB / 398.5 MB, free: 14.3 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.009907, allocations: 12.12 kB / 398.6 MB, free: 14.29 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004114/0.01032, allocations: 430.4 kB / 399 MB, free: 13.87 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001205/0.01152, allocations: 1.073 MB / 400 MB, free: 12.75 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006414/0.01217, allocations: 0.5045 MB / 400.6 MB, free: 12.23 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002494/0.01241, allocations: 249.5 kB / 400.8 MB, free: 11.99 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.523e-05/0.01246, allocations: 12.38 kB / 400.8 MB, free: 11.98 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.01248, allocations: 46.86 kB / 400.9 MB, free: 11.92 MB / 330.7 MB Notification: Performance of pre-optimization done (n=46): time 1.202e-06/0.01248, allocations: 0 / 400.9 MB, free: 11.92 MB / 330.7 MB Notification: Performance of matching and sorting (n=46): time 0.002347/0.01483, allocations: 1.413 MB / 402.3 MB, free: 10.49 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.011e-05/0.01486, allocations: 55.41 kB / 402.3 MB, free: 10.43 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006385/0.0155, allocations: 265.9 kB / 402.6 MB, free: 10.16 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001154/0.01561, allocations: 37.7 kB / 402.6 MB, free: 10.12 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.01574, allocations: 165 kB / 402.8 MB, free: 9.949 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001417/0.01588, allocations: 158.5 kB / 402.9 MB, free: 9.793 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001787/0.01606, allocations: 94.17 kB / 403 MB, free: 9.695 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.0162, allocations: 346.8 kB / 403.4 MB, free: 9.348 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004425/0.01664, allocations: 268.9 kB / 403.6 MB, free: 9.082 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004115/0.01705, allocations: 272.4 kB / 403.9 MB, free: 8.82 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009163/0.01797, allocations: 0.5924 MB / 404.5 MB, free: 8.227 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/0.01797, allocations: 0 / 404.5 MB, free: 8.227 MB / 330.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.00225/0.02022, allocations: 1.015 MB / 405.5 MB, free: 7.191 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.02024, allocations: 12 kB / 405.5 MB, free: 7.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.02025, allocations: 0 / 405.5 MB, free: 7.18 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009679/0.02121, allocations: 426.1 kB / 405.9 MB, free: 6.754 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001771/0.02139, allocations: 75.91 kB / 406 MB, free: 6.68 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004823/0.02621, allocations: 5.699 MB / 411.7 MB, free: 0.6406 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002079/0.02642, allocations: 39.67 kB / 411.7 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.66e-05/0.02645, allocations: 19.98 kB / 411.8 MB, free: 0.582 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (46): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,4), (2,4), (2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001541/0.0266, allocations: 157.8 kB / 411.9 MB, free: 428 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.563e-05/0.02666, allocations: 47.7 kB / 412 MB, free: 380 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1319/0.1585, allocations: 0.9849 MB / 412.9 MB, free: 33.51 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/0.1585, allocations: 5.078 kB / 413 MB, free: 33.51 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/0.1585, allocations: 1.25 kB / 413 MB, free: 33.51 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.1586, allocations: 2.438 kB / 413 MB, free: 33.51 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000413/0.159, allocations: 440.8 kB / 413.4 MB, free: 33.36 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.159, allocations: 0 / 413.4 MB, free: 33.36 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001293/0.1591, allocations: 56.38 kB / 413.4 MB, free: 33.36 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009114/0.16, allocations: 424 kB / 413.9 MB, free: 33.34 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.321e-05/0.16, allocations: 9.422 kB / 413.9 MB, free: 33.34 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003251/0.1633, allocations: 5.654 MB / 419.5 MB, free: 28.75 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.1633, allocations: 2.234 kB / 419.5 MB, free: 28.75 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001249/0.1645, allocations: 1.009 MB / 420.5 MB, free: 28.25 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.048e-05/0.1646, allocations: 49.27 kB / 420.6 MB, free: 28.22 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.917e-05/0.1646, allocations: 14.78 kB / 420.6 MB, free: 28.21 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001763/0.1648, allocations: 23.62 kB / 420.6 MB, free: 28.21 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.781e-05/0.1649, allocations: 44.27 kB / 420.7 MB, free: 28.2 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.382e-05/0.1649, allocations: 15 kB / 420.7 MB, free: 28.2 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001392/0.165, allocations: 194.4 kB / 420.9 MB, free: 28.09 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.165, allocations: 3.938 kB / 420.9 MB, free: 28.09 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004282/0.1655, allocations: 167.7 kB / 421 MB, free: 28.06 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,4), (2,4), (2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001393/0.1669, allocations: 1.571 MB / 422.6 MB, free: 27.02 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00111/0.168, allocations: 1.057 MB / 423.7 MB, free: 26.4 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.168, allocations: 0 / 423.7 MB, free: 26.4 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006327/0.1686, allocations: 0.7339 MB / 424.4 MB, free: 25.91 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003001/0.1689, allocations: 55.98 kB / 424.4 MB, free: 25.89 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005026/0.1739, allocations: 4.711 MB / 429.2 MB, free: 23.22 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002126/0.1741, allocations: 194.2 kB / 429.3 MB, free: 23.13 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001424/0.1743, allocations: 48.72 kB / 429.4 MB, free: 23.12 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001275/0.1744, allocations: 116.9 kB / 429.5 MB, free: 23.05 MB / 330.7 MB Notification: Performance of SimCode: time 1.553e-06/0.1744, allocations: 0 / 429.5 MB, free: 23.05 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02515/0.1996, allocations: 14.31 MB / 443.8 MB, free: 14.27 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.142/8.341, allocations: 10.73 kB / 443.8 MB, free: 14.27 MB / 330.7 MB " [Timeout remaining time 652] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLoads.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceThreeLoads.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceThreeLoads.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceThreeLoads.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceThreeLoads_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSysPro_PowerSysPro_Examples_OneSourceThreeLoads.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceThreeLoads.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.123586941510439] Failed to read output from testmodel.py, exit status != 0: 8.432669956237078 8.438675161 8.430481618 Calling exit ...