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.00181/0.00181, allocations: 111.1 kB / 17.17 MB, free: 5.879 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.002133/0.002133, allocations: 208 kB / 20.14 MB, free: 2.918 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.538/1.538, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.04844/0.04844, allocations: 6.138 MB / 315.7 MB, free: 1.137 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.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.001527/0.001527, allocations: 50.97 kB / 439.2 MB, free: 40.86 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1092, allocations: 54.98 MB / 494.2 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoLinesOneLoad): time 0.002905/0.1121, allocations: 1.525 MB / 495.7 MB, free: 8.941 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002246/0.1144, allocations: 1.614 MB / 497.4 MB, free: 7.312 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.1145, allocations: 4 kB / 497.4 MB, free: 7.309 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004408/0.1149, allocations: 119.3 kB / 497.5 MB, free: 7.191 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003306/0.1153, allocations: 111.3 kB / 497.6 MB, free: 7.082 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001487/0.1167, allocations: 0.8986 MB / 498.5 MB, free: 6.184 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003743/0.1171, allocations: 230.9 kB / 498.7 MB, free: 5.957 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001816/0.1173, allocations: 56.59 kB / 498.8 MB, free: 5.898 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.283e-05/0.1174, allocations: 99.58 kB / 498.9 MB, free: 5.801 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001886/0.1176, allocations: 123.5 kB / 499 MB, free: 5.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.258e-05/0.1176, allocations: 19.94 kB / 499 MB, free: 5.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004045/0.118, allocations: 219.8 kB / 499.2 MB, free: 5.445 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.675e-05/0.118, allocations: 47.77 kB / 499.3 MB, free: 5.398 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.307e-05/0.1181, allocations: 111.5 kB / 499.4 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004192/0.1186, allocations: 398.6 kB / 499.8 MB, free: 4.898 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.1186, allocations: 4 kB / 499.8 MB, free: 4.895 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.1186, allocations: 0 / 499.8 MB, free: 4.895 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.1186, allocations: 0 / 499.8 MB, free: 4.895 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.002413/0.121, allocations: 0.8221 MB / 0.4889 GB, free: 4.016 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.387e-05/0.121, allocations: 8.031 kB / 0.4889 GB, free: 4.008 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.968e-05/0.1211, allocations: 54.73 kB / 0.4889 GB, free: 3.945 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.7e-05/0.1212, allocations: 24.8 kB / 0.4889 GB, free: 3.922 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003248/0.1215, allocations: 252.5 kB / 0.4892 GB, free: 3.637 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.1215, allocations: 16.7 kB / 0.4892 GB, free: 3.621 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.289e-05/0.1216, allocations: 16.38 kB / 0.4892 GB, free: 3.605 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004259/0.122, allocations: 256.8 kB / 0.4895 GB, free: 3.352 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.122, allocations: 3.938 kB / 0.4895 GB, free: 3.348 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.234e-05/0.122, allocations: 12 kB / 0.4895 GB, free: 3.336 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.824e-06/0.122, allocations: 4 kB / 0.4895 GB, free: 3.332 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003342/0.1224, allocations: 248.4 kB / 0.4897 GB, free: 3.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001251/0.1236, allocations: 0.9089 MB / 0.4906 GB, free: 2.105 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00059/0.1242, allocations: 282.5 kB / 0.4909 GB, free: 1.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001767/0.1244, allocations: 136.8 kB / 0.491 GB, free: 1.684 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.092e-05/0.1245, allocations: 19.95 kB / 0.491 GB, free: 1.664 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.1245, allocations: 34.56 kB / 0.491 GB, free: 1.621 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 2.505e-06/0.1245, allocations: 0 / 0.491 GB, free: 1.621 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.003034/0.1275, allocations: 0.9654 MB / 0.492 GB, free: 0.6289 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.58e-05/0.1276, allocations: 55.41 kB / 0.492 GB, free: 0.5625 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001935/0.1277, allocations: 191.1 kB / 0.4922 GB, free: 372 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.117e-05/0.1278, allocations: 33.7 kB / 0.4923 GB, free: 332 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.068e-05/0.1278, allocations: 128.5 kB / 0.4924 GB, free: 200 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.75e-05/0.1279, allocations: 91.2 kB / 0.4925 GB, free: 108 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.128, allocations: 65.64 kB / 0.4925 GB, free: 36 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001766/0.1282, allocations: 330.8 kB / 0.4928 GB, free: 15.7 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002781/0.1284, allocations: 160 kB / 0.493 GB, free: 15.55 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002677/0.1287, allocations: 155.8 kB / 0.4931 GB, free: 15.39 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005718/0.1293, allocations: 358.3 kB / 0.4935 GB, free: 15.04 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.1293, allocations: 0 / 0.4935 GB, free: 15.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001689/0.131, allocations: 0.6303 MB / 0.4941 GB, free: 14.4 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/0.131, allocations: 7.984 kB / 0.4941 GB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.131, allocations: 4 kB / 0.4941 GB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001568/0.1326, allocations: 328.4 kB / 0.4944 GB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001952/0.1328, allocations: 35.98 kB / 0.4945 GB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004751/0.1375, allocations: 2.75 MB / 0.4971 GB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002733/0.1378, allocations: 35.77 kB / 0.4972 GB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.354e-05/0.1378, allocations: 8 kB / 0.4972 GB, free: 11.1 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 (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.0001784/0.138, allocations: 138.7 kB / 0.4973 GB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.022e-05/0.1381, allocations: 19.86 kB / 0.4973 GB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001711/0.1398, allocations: 0.6053 MB / 0.4979 GB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.1398, allocations: 7.938 kB / 0.4979 GB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1398, allocations: 7.938 kB / 0.4979 GB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.1398, allocations: 3.984 kB / 0.498 GB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004758/0.1403, allocations: 377.3 kB / 0.4983 GB, free: 9.883 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.686e-06/0.1403, allocations: 0 / 0.4983 GB, free: 9.883 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/0.1404, allocations: 35.98 kB / 0.4983 GB, free: 9.848 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001433/0.1418, allocations: 308.5 kB / 0.4986 GB, free: 9.543 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.824e-05/0.1419, allocations: 12 kB / 0.4987 GB, free: 9.531 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004385/0.1462, allocations: 2.731 MB / 0.5013 GB, free: 6.656 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.1462, allocations: 0 / 0.5013 GB, free: 6.656 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001677/0.1479, allocations: 0.6596 MB / 0.502 GB, free: 5.977 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.741e-05/0.148, allocations: 96.95 kB / 0.5021 GB, free: 5.863 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.076e-05/0.1481, allocations: 4 kB / 0.5021 GB, free: 5.859 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000258/0.1483, allocations: 23.92 kB / 0.5021 GB, free: 5.836 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.841e-05/0.1484, allocations: 23.97 kB / 0.5021 GB, free: 5.812 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.033e-05/0.1484, allocations: 12.12 kB / 0.5021 GB, free: 5.801 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000169/0.1486, allocations: 143.2 kB / 0.5023 GB, free: 5.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1486, allocations: 0 / 0.5023 GB, free: 5.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005136/0.1491, allocations: 99.89 kB / 0.5023 GB, free: 5.562 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 {(6,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002035/0.1511, allocations: 1.217 MB / 0.5035 GB, free: 4.316 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001639/0.1528, allocations: 0.597 MB / 0.5041 GB, free: 3.707 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.275e-06/0.1528, allocations: 4 kB / 0.5041 GB, free: 3.703 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001087/0.1539, allocations: 414.4 kB / 0.5045 GB, free: 3.285 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000387/0.1543, allocations: 28.2 kB / 0.5045 GB, free: 3.262 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005854/0.1601, allocations: 3.23 MB / 0.5077 GB, free: 15.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003952/0.1605, allocations: 0.7482 MB / 0.5084 GB, free: 15.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001143/0.1606, allocations: 33.94 kB / 0.5085 GB, free: 15.14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001113/0.1607, allocations: 63.41 kB / 0.5085 GB, free: 15.08 MB / 382.1 MB Notification: Performance of SimCode: time 8.32e-07/0.1607, allocations: 4 kB / 0.5085 GB, free: 15.08 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0424/0.2031, allocations: 8.433 MB / 0.5168 GB, free: 6.773 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/11.92, allocations: 18.83 kB / 0.5168 GB, free: 6.758 MB / 382.1 MB " [Timeout remaining time 648] (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: 14.798717251993367] Failed to read output from testmodel.py, exit status != 0: 12.014691213000333 12.029593886 11.908055557 Calling exit ...