Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.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.001648/0.001648, allocations: 118 kB / 19.74 MB, free: 2.152 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.002155/0.002155, allocations: 219.4 kB / 23.05 MB, free: 5 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.474/1.474, allocations: 230.6 MB / 256.8 MB, free: 8.047 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.03814/0.03814, allocations: 6.131 MB / 319.4 MB, free: 12.99 MB / 254.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.OneSourceTwoLinesOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceTwoLinesOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceTwoLinesOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceTwoLinesOneLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001646/0.001646, allocations: 47.92 kB / 444.5 MB, free: 5.434 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1426, allocations: 55.02 MB / 499.5 MB, free: 14.31 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoLinesOneLoad): time 0.003194/0.1458, allocations: 1.533 MB / 0.4893 GB, free: 12.78 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002281/0.1481, allocations: 1.618 MB / 0.4909 GB, free: 11.15 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.346e-05/0.1482, allocations: 4 kB / 0.4909 GB, free: 11.14 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003695/0.1486, allocations: 123.3 kB / 0.491 GB, free: 11.02 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002838/0.1488, allocations: 103.3 kB / 0.4911 GB, free: 10.92 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001765/0.1506, allocations: 0.9178 MB / 0.492 GB, free: 10 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003999/0.151, allocations: 230.9 kB / 0.4922 GB, free: 9.777 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001685/0.1512, allocations: 56.78 kB / 0.4923 GB, free: 9.719 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001271/0.1513, allocations: 99.58 kB / 0.4924 GB, free: 9.621 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002/0.1515, allocations: 123.5 kB / 0.4925 GB, free: 9.5 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.548e-05/0.1515, allocations: 23.94 kB / 0.4925 GB, free: 9.477 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004234/0.152, allocations: 219.8 kB / 0.4927 GB, free: 9.262 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.529e-05/0.152, allocations: 39.86 kB / 0.4928 GB, free: 9.223 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001154/0.1521, allocations: 115.4 kB / 0.4929 GB, free: 9.109 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005601/0.1527, allocations: 390.7 kB / 0.4932 GB, free: 8.727 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1527, allocations: 0 / 0.4932 GB, free: 8.727 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1527, allocations: 0 / 0.4932 GB, free: 8.727 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.72e-06/0.1527, allocations: 0 / 0.4932 GB, free: 8.727 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.002457/0.1551, allocations: 0.7546 MB / 0.494 GB, free: 7.934 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.1552, allocations: 12.03 kB / 0.494 GB, free: 7.922 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.997e-05/0.1553, allocations: 54.66 kB / 0.494 GB, free: 7.859 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.086e-05/0.1553, allocations: 24.8 kB / 0.4941 GB, free: 7.836 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002982/0.1556, allocations: 190.2 kB / 0.4943 GB, free: 7.625 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/0.1556, allocations: 12.7 kB / 0.4943 GB, free: 7.613 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.572e-05/0.1557, allocations: 24.38 kB / 0.4943 GB, free: 7.59 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004345/0.1561, allocations: 264.7 kB / 0.4945 GB, free: 7.328 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.1561, allocations: 3.938 kB / 0.4945 GB, free: 7.324 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.34e-05/0.1561, allocations: 4 kB / 0.4945 GB, free: 7.32 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.1561, allocations: 4 kB / 0.4946 GB, free: 7.316 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004013/0.1565, allocations: 260.5 kB / 0.4948 GB, free: 7.062 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001525/0.1581, allocations: 0.8846 MB / 0.4957 GB, free: 6.109 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007015/0.1588, allocations: 286.4 kB / 0.4959 GB, free: 5.82 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002294/0.159, allocations: 144.8 kB / 0.4961 GB, free: 5.676 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.428e-05/0.1591, allocations: 8 kB / 0.4961 GB, free: 5.668 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.1591, allocations: 30.56 kB / 0.4961 GB, free: 5.629 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 1.423e-06/0.1591, allocations: 0 / 0.4961 GB, free: 5.629 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.00326/0.1623, allocations: 0.8923 MB / 0.497 GB, free: 4.727 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/0.1624, allocations: 59.28 kB / 0.497 GB, free: 4.656 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002417/0.1626, allocations: 200 kB / 0.4972 GB, free: 4.449 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.54e-05/0.1627, allocations: 29.7 kB / 0.4973 GB, free: 4.414 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.1628, allocations: 132.5 kB / 0.4974 GB, free: 4.281 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.649e-05/0.1628, allocations: 87.22 kB / 0.4975 GB, free: 4.195 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001258/0.163, allocations: 65.69 kB / 0.4975 GB, free: 4.125 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.1631, allocations: 330.8 kB / 0.4978 GB, free: 3.793 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002599/0.1634, allocations: 155.9 kB / 0.498 GB, free: 3.641 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002576/0.1636, allocations: 163.8 kB / 0.4982 GB, free: 3.48 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005416/0.1642, allocations: 351.3 kB / 0.4985 GB, free: 3.137 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1642, allocations: 0 / 0.4985 GB, free: 3.137 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001667/0.1659, allocations: 0.6382 MB / 0.4991 GB, free: 2.488 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.1659, allocations: 4 kB / 0.4991 GB, free: 2.484 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.1659, allocations: 0 / 0.4991 GB, free: 2.484 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001518/0.1674, allocations: 320.5 kB / 0.4994 GB, free: 2.168 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002026/0.1676, allocations: 51.91 kB / 0.4995 GB, free: 2.117 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004483/0.1721, allocations: 2.651 MB / 0.5021 GB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002379/0.1723, allocations: 31.78 kB / 0.5021 GB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.791e-05/0.1724, allocations: 11.98 kB / 0.5021 GB, free: 15.31 MB / 382.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 (27): * Single equations (assignments): 26 * 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 {(6,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001576/0.1725, allocations: 133.8 kB / 0.5022 GB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.738e-05/0.1726, allocations: 15.91 kB / 0.5022 GB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0017/0.1743, allocations: 0.613 MB / 0.5028 GB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.1743, allocations: 3.984 kB / 0.5028 GB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.1743, allocations: 7.938 kB / 0.5029 GB, free: 14.51 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.1743, allocations: 0 / 0.5029 GB, free: 14.51 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004417/0.1747, allocations: 360.3 kB / 0.5032 GB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.1747, allocations: 0 / 0.5032 GB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001266/0.1749, allocations: 35.92 kB / 0.5032 GB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001423/0.1763, allocations: 316.5 kB / 0.5035 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.294e-05/0.1763, allocations: 4 kB / 0.5035 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004169/0.1805, allocations: 2.635 MB / 0.5061 GB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1805, allocations: 0 / 0.5061 GB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00163/0.1821, allocations: 0.6597 MB / 0.5068 GB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.047e-05/0.1821, allocations: 27.8 kB / 0.5068 GB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.45e-05/0.1822, allocations: 8 kB / 0.5068 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002178/0.1824, allocations: 15.98 kB / 0.5068 GB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.368e-05/0.1825, allocations: 27.89 kB / 0.5068 GB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.243e-05/0.1825, allocations: 8 kB / 0.5068 GB, free: 10.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001544/0.1826, allocations: 147.4 kB / 0.507 GB, free: 10.11 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1826, allocations: 0 / 0.507 GB, free: 10.11 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004419/0.1831, allocations: 99.89 kB / 0.5071 GB, free: 10.01 MB / 382.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 {(6,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001977/0.1851, allocations: 1.217 MB / 0.5083 GB, free: 8.766 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001515/0.1866, allocations: 0.6037 MB / 0.5089 GB, free: 8.148 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.1866, allocations: 0 / 0.5089 GB, free: 8.148 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00105/0.1876, allocations: 422.3 kB / 0.5093 GB, free: 7.723 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003501/0.188, allocations: 27.98 kB / 0.5093 GB, free: 7.695 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005816/0.1938, allocations: 3.215 MB / 0.5124 GB, free: 4.402 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004527/0.1942, allocations: 0.7559 MB / 0.5132 GB, free: 3.617 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001123/0.1944, allocations: 26.11 kB / 0.5132 GB, free: 3.594 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.1945, allocations: 67.41 kB / 0.5132 GB, free: 3.527 MB / 382.1 MB Notification: Performance of SimCode: time 7.01e-07/0.1945, allocations: 3.938 kB / 0.5133 GB, free: 3.523 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.243/0.4375, allocations: 8.717 MB / 0.5218 GB, free: 30.21 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.84/13.27, allocations: 3.344 kB / 0.5218 GB, free: 30.21 MB / 382.1 MB " [Timeout remaining time 647] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad_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_OneSourceTwoLinesOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.018270273998496] Failed to read output from testmodel.py, exit status != 0: 13.390294001997972 13.404015324 13.248567973 Calling exit ...