Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.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.001642/0.001642, allocations: 108.3 kB / 17.16 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.002166/0.002166, allocations: 213.1 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.551/1.551, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.05248/0.05248, allocations: 6.139 MB / 315.7 MB, free: 1.262 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.OneSourceOneTransfoOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001505/0.001505, allocations: 47.62 kB / 439.2 MB, free: 40.72 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1325, allocations: 54.99 MB / 494.2 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLoad): time 0.003484/0.136, allocations: 1.238 MB / 495.5 MB, free: 9.289 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002616/0.1386, allocations: 1.555 MB / 497 MB, free: 7.719 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.916e-05/0.1387, allocations: 4 kB / 497 MB, free: 7.715 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004909/0.1392, allocations: 111.4 kB / 497.1 MB, free: 7.605 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004092/0.1396, allocations: 103.4 kB / 497.2 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002456/0.1421, allocations: 0.992 MB / 498.2 MB, free: 6.508 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003378/0.1424, allocations: 163.2 kB / 498.4 MB, free: 6.348 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001549/0.1426, allocations: 33.83 kB / 498.4 MB, free: 6.312 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.071e-05/0.1427, allocations: 71.72 kB / 498.5 MB, free: 6.242 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002063/0.1429, allocations: 83.66 kB / 498.6 MB, free: 6.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.408e-05/0.1429, allocations: 15.94 kB / 498.6 MB, free: 6.145 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005908/0.1435, allocations: 231.8 kB / 498.8 MB, free: 5.918 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.233e-05/0.1436, allocations: 39.83 kB / 498.8 MB, free: 5.879 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.051e-05/0.1436, allocations: 79.61 kB / 498.9 MB, free: 5.801 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005742/0.1442, allocations: 338.9 kB / 499.2 MB, free: 5.469 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1442, allocations: 4 kB / 499.3 MB, free: 5.465 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.1442, allocations: 0 / 499.3 MB, free: 5.465 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.468e-05/0.1442, allocations: 0 / 499.3 MB, free: 5.465 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.003754/0.148, allocations: 0.7326 MB / 500 MB, free: 4.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.467e-05/0.1481, allocations: 8.031 kB / 500 MB, free: 4.672 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.011e-05/0.1481, allocations: 42.73 kB / 0.4883 GB, free: 4.621 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.74e-05/0.1482, allocations: 28.73 kB / 0.4883 GB, free: 4.594 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003253/0.1485, allocations: 224.2 kB / 0.4886 GB, free: 4.336 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.168e-05/0.1485, allocations: 8.609 kB / 0.4886 GB, free: 4.328 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.623e-05/0.1486, allocations: 16.38 kB / 0.4886 GB, free: 4.312 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000487/0.1491, allocations: 208.2 kB / 0.4888 GB, free: 4.102 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.1491, allocations: 3.938 kB / 0.4888 GB, free: 4.098 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.035e-05/0.1491, allocations: 4 kB / 0.4888 GB, free: 4.094 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/0.1491, allocations: 4 kB / 0.4888 GB, free: 4.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000331/0.1495, allocations: 155.9 kB / 0.4889 GB, free: 3.938 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001324/0.1508, allocations: 0.7294 MB / 0.4897 GB, free: 3.133 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006029/0.1514, allocations: 182.5 kB / 0.4898 GB, free: 2.945 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001629/0.1516, allocations: 84.83 kB / 0.4899 GB, free: 2.859 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.92e-05/0.1516, allocations: 0 / 0.4899 GB, free: 2.859 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.1516, allocations: 38.56 kB / 0.4899 GB, free: 2.812 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.392e-06/0.1516, allocations: 0 / 0.4899 GB, free: 2.812 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.002488/0.1541, allocations: 0.5924 MB / 0.4905 GB, free: 2.195 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.1542, allocations: 81.11 kB / 0.4906 GB, free: 2.098 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001951/0.1544, allocations: 172 kB / 0.4908 GB, free: 1.922 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.744e-05/0.1544, allocations: 29.7 kB / 0.4908 GB, free: 1.887 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.834e-05/0.1545, allocations: 124.4 kB / 0.4909 GB, free: 1.762 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.652e-05/0.1545, allocations: 59.52 kB / 0.491 GB, free: 1.703 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001178/0.1546, allocations: 45.69 kB / 0.491 GB, free: 1.652 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.086e-05/0.1547, allocations: 334.8 kB / 0.4913 GB, free: 1.316 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001946/0.1549, allocations: 95.97 kB / 0.4914 GB, free: 1.223 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002198/0.1551, allocations: 130.5 kB / 0.4915 GB, free: 1.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004127/0.1555, allocations: 228.8 kB / 0.4918 GB, free: 0.8633 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.1555, allocations: 0 / 0.4918 GB, free: 0.8633 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001369/0.1569, allocations: 426 kB / 0.4922 GB, free: 448 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.1569, allocations: 4 kB / 0.4922 GB, free: 444 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.1569, allocations: 0 / 0.4922 GB, free: 444 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001085/0.158, allocations: 204.6 kB / 0.4924 GB, free: 236 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000181/0.1582, allocations: 31.98 kB / 0.4924 GB, free: 204 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003294/0.1615, allocations: 1.973 MB / 0.4943 GB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002376/0.1617, allocations: 23.84 kB / 0.4943 GB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.406e-05/0.1617, allocations: 8 kB / 0.4944 GB, free: 14.05 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 (22): * Single equations (assignments): 21 * 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,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001849/0.1619, allocations: 134.9 kB / 0.4945 GB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.852e-05/0.162, allocations: 23.89 kB / 0.4945 GB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001258/0.1632, allocations: 372.7 kB / 0.4949 GB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.1633, allocations: 4 kB / 0.4949 GB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.1633, allocations: 3.938 kB / 0.4949 GB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.1633, allocations: 4 kB / 0.4949 GB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003683/0.1636, allocations: 293.4 kB / 0.4952 GB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.1636, allocations: 0 / 0.4952 GB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001283/0.1638, allocations: 31.92 kB / 0.4952 GB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001052/0.1648, allocations: 200.6 kB / 0.4954 GB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.815e-05/0.1648, allocations: 4 kB / 0.4954 GB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00279/0.1676, allocations: 1.957 MB / 0.4973 GB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1676, allocations: 0 / 0.4973 GB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001154/0.1688, allocations: 450.8 kB / 0.4977 GB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.83e-05/0.1689, allocations: 96.94 kB / 0.4978 GB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.967e-05/0.1689, allocations: 4 kB / 0.4978 GB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002096/0.1691, allocations: 15.98 kB / 0.4978 GB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.22e-05/0.1692, allocations: 11.98 kB / 0.4978 GB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.003e-05/0.1692, allocations: 8 kB / 0.4979 GB, free: 10.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000159/0.1693, allocations: 131.2 kB / 0.498 GB, free: 10.1 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1693, allocations: 3.938 kB / 0.498 GB, free: 10.09 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004399/0.1698, allocations: 71.89 kB / 0.498 GB, free: 10.02 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 (15): * Single equations (assignments): 14 * 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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001643/0.1714, allocations: 0.9823 MB / 0.499 GB, free: 9.012 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001177/0.1726, allocations: 398.4 kB / 0.4994 GB, free: 8.609 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/0.1726, allocations: 4 kB / 0.4994 GB, free: 8.605 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006931/0.1733, allocations: 262.8 kB / 0.4996 GB, free: 8.336 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003544/0.1736, allocations: 34.81 kB / 0.4997 GB, free: 8.305 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00463/0.1783, allocations: 2.5 MB / 0.5021 GB, free: 5.719 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004662/0.1787, allocations: 0.7164 MB / 0.5028 GB, free: 4.977 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001056/0.1788, allocations: 25.41 kB / 0.5028 GB, free: 4.953 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.179, allocations: 47.42 kB / 0.5029 GB, free: 4.906 MB / 366.1 MB Notification: Performance of SimCode: time 8.21e-07/0.179, allocations: 0 / 0.5029 GB, free: 4.906 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03545/0.2144, allocations: 6.199 MB / 0.5089 GB, free: 14.81 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/11.92, allocations: 0 / 0.5089 GB, free: 14.81 MB / 382.1 MB " [Timeout remaining time 648] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad_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_OneSourceOneTransfoOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.912310861996957] Failed to read output from testmodel.py, exit status != 0: 12.017907457993715 12.036444832 11.889138537 Calling exit ...