Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.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.001441/0.001441, allocations: 113.8 kB / 17.17 MB, free: 5.855 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.002382/0.002382, allocations: 212 kB / 20.14 MB, free: 2.898 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.532/1.532, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] 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.0424/0.0424, allocations: 6.135 MB / 315.7 MB, free: 1.16 MB / 238.1 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.TwoSourcesTwoLinesOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_TwoSourcesTwoLinesOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_TwoSourcesTwoLinesOneLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 47.8 kB / 439.2 MB, free: 40.78 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1205, allocations: 54.99 MB / 494.2 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad): time 0.002549/0.1231, allocations: 1.642 MB / 495.9 MB, free: 8.848 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001657/0.1248, allocations: 1.618 MB / 497.5 MB, free: 7.215 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.322e-05/0.1248, allocations: 4 kB / 497.5 MB, free: 7.211 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003777/0.1252, allocations: 127.3 kB / 497.6 MB, free: 7.086 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002725/0.1255, allocations: 127.2 kB / 497.7 MB, free: 6.961 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00133/0.1268, allocations: 0.9104 MB / 498.6 MB, free: 6.047 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003054/0.1271, allocations: 270.7 kB / 498.9 MB, free: 5.781 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001546/0.1273, allocations: 68.83 kB / 499 MB, free: 5.711 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.014e-05/0.1274, allocations: 107.6 kB / 499.1 MB, free: 5.605 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001618/0.1275, allocations: 143.3 kB / 499.2 MB, free: 5.465 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.133e-05/0.1276, allocations: 20 kB / 499.2 MB, free: 5.445 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003357/0.1279, allocations: 219.8 kB / 499.5 MB, free: 5.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.949e-05/0.1279, allocations: 55.77 kB / 499.5 MB, free: 5.176 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.531e-05/0.128, allocations: 119.4 kB / 499.6 MB, free: 5.059 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004224/0.1284, allocations: 422.5 kB / 0.4883 GB, free: 4.645 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.778e-06/0.1284, allocations: 0 / 0.4883 GB, free: 4.645 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1284, allocations: 0 / 0.4883 GB, free: 4.645 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.323e-06/0.1285, allocations: 0 / 0.4883 GB, free: 4.645 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.002499/0.131, allocations: 0.865 MB / 0.4892 GB, free: 3.727 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.131, allocations: 8.031 kB / 0.4892 GB, free: 3.719 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.45e-05/0.131, allocations: 58.72 kB / 0.4892 GB, free: 3.652 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.977e-05/0.1311, allocations: 28.8 kB / 0.4893 GB, free: 3.625 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002556/0.1314, allocations: 260.8 kB / 0.4895 GB, free: 3.328 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.1314, allocations: 16.81 kB / 0.4895 GB, free: 3.312 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.435e-05/0.1314, allocations: 24.38 kB / 0.4895 GB, free: 3.289 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003827/0.1318, allocations: 287.7 kB / 0.4898 GB, free: 3.004 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.1318, allocations: 3.938 kB / 0.4898 GB, free: 3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.833e-05/0.1318, allocations: 16 kB / 0.4898 GB, free: 2.984 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.1318, allocations: 4 kB / 0.4898 GB, free: 2.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003273/0.1322, allocations: 277.6 kB / 0.4901 GB, free: 2.707 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001179/0.1333, allocations: 1.031 MB / 0.4911 GB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008218/0.1342, allocations: 415.8 kB / 0.4915 GB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002056/0.1344, allocations: 156.8 kB / 0.4917 GB, free: 1 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.01e-05/0.1344, allocations: 12.48 kB / 0.4917 GB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.734e-05/0.1344, allocations: 42.5 kB / 0.4917 GB, free: 0.9375 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.623e-06/0.1344, allocations: 3.938 kB / 0.4917 GB, free: 0.9336 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.002752/0.1372, allocations: 0.9441 MB / 0.4926 GB, free: 15.96 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.464e-05/0.1372, allocations: 59.22 kB / 0.4927 GB, free: 15.89 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002563/0.1375, allocations: 211.8 kB / 0.4929 GB, free: 15.67 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.547e-05/0.1375, allocations: 33.7 kB / 0.4929 GB, free: 15.63 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.1376, allocations: 144.8 kB / 0.4931 GB, free: 15.48 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.027e-05/0.1377, allocations: 103.1 kB / 0.4932 GB, free: 15.38 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001324/0.1379, allocations: 69.69 kB / 0.4932 GB, free: 15.31 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002615/0.1381, allocations: 330.8 kB / 0.4935 GB, free: 14.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003998/0.1385, allocations: 175.9 kB / 0.4937 GB, free: 14.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003035/0.1388, allocations: 183.9 kB / 0.4939 GB, free: 14.62 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006777/0.1395, allocations: 384.2 kB / 0.4943 GB, free: 14.25 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1395, allocations: 0 / 0.4943 GB, free: 14.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00152/0.141, allocations: 0.6579 MB / 0.4949 GB, free: 13.58 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.141, allocations: 4 kB / 0.4949 GB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.1411, allocations: 3.984 kB / 0.4949 GB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001164/0.1422, allocations: 248.5 kB / 0.4951 GB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002287/0.1424, allocations: 55.91 kB / 0.4952 GB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004471/0.1469, allocations: 2.692 MB / 0.4978 GB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003592/0.1473, allocations: 35.67 kB / 0.4979 GB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.283e-05/0.1473, allocations: 12.11 kB / 0.4979 GB, free: 10.4 MB / 366.1 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 (32): * Single equations (assignments): 31 * 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 {(3,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0001869/0.1475, allocations: 148.9 kB / 0.498 GB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.485e-05/0.1476, allocations: 19.91 kB / 0.498 GB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001656/0.1492, allocations: 0.5946 MB / 0.4986 GB, free: 9.621 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.1492, allocations: 4 kB / 0.4986 GB, free: 9.617 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.1492, allocations: 0 / 0.4986 GB, free: 9.617 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.288e-05/0.1492, allocations: 11.92 kB / 0.4986 GB, free: 9.605 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002061/0.1513, allocations: 1.038 MB / 0.4996 GB, free: 8.508 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.1513, allocations: 0 / 0.4996 GB, free: 8.508 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001232/0.1514, allocations: 35.92 kB / 0.4997 GB, free: 8.473 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001052/0.1525, allocations: 236.6 kB / 0.4999 GB, free: 8.238 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.775e-05/0.1525, allocations: 7.938 kB / 0.4999 GB, free: 8.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004007/0.1565, allocations: 2.672 MB / 0.5025 GB, free: 5.418 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1565, allocations: 0 / 0.5025 GB, free: 5.418 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001475/0.158, allocations: 0.6459 MB / 0.5032 GB, free: 4.754 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.1581, allocations: 112.8 kB / 0.5033 GB, free: 4.625 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.656e-05/0.1581, allocations: 4 kB / 0.5033 GB, free: 4.621 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002418/0.1584, allocations: 15.98 kB / 0.5033 GB, free: 4.605 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.933e-05/0.1584, allocations: 23.97 kB / 0.5033 GB, free: 4.582 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.402e-05/0.1585, allocations: 4 kB / 0.5033 GB, free: 4.578 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000218/0.1587, allocations: 170.8 kB / 0.5035 GB, free: 4.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1587, allocations: 4 kB / 0.5035 GB, free: 4.406 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005109/0.1592, allocations: 108 kB / 0.5036 GB, free: 4.301 MB / 366.1 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 (20): * Single equations (assignments): 19 * 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 {(3,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002046/0.1612, allocations: 1.194 MB / 0.5047 GB, free: 3.078 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001443/0.1627, allocations: 0.5803 MB / 0.5053 GB, free: 2.484 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.1627, allocations: 11.94 kB / 0.5053 GB, free: 2.473 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008504/0.1635, allocations: 375 kB / 0.5057 GB, free: 2.094 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003659/0.1639, allocations: 27.92 kB / 0.5057 GB, free: 2.066 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005956/0.1699, allocations: 3.346 MB / 0.509 GB, free: 14.63 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005103/0.1704, allocations: 0.7563 MB / 0.5097 GB, free: 13.85 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000126/0.1705, allocations: 29.92 kB / 0.5097 GB, free: 13.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/0.1706, allocations: 67.41 kB / 0.5098 GB, free: 13.76 MB / 382.1 MB Notification: Performance of SimCode: time 8.42e-07/0.1706, allocations: 0 / 0.5098 GB, free: 13.76 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0431/0.2137, allocations: 9.074 MB / 0.5187 GB, free: 4.812 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.08/12.29, allocations: 14.41 kB / 0.5187 GB, free: 4.801 MB / 382.1 MB " [Timeout remaining time 648] (rm -f PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad_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_TwoSourcesTwoLinesOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.236255083000287] Failed to read output from testmodel.py, exit status != 0: 12.388097420000122 12.403223917 12.271727906 Calling exit ...