Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.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.002016/0.002016, allocations: 108.3 kB / 19.75 MB, free: 1.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.002581/0.002581, allocations: 217.5 kB / 23.03 MB, free: 5.016 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.461/1.461, allocations: 230.6 MB / 256.8 MB, free: 7.949 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.04082/0.04082, allocations: 6.136 MB / 319.4 MB, free: 12.75 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.OneSourceTwoTransfosOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceTwoTransfosOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceTwoTransfosOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceTwoTransfosOneLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 51.91 kB / 444.4 MB, free: 5.074 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1088, allocations: 55.02 MB / 499.4 MB, free: 13.95 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoTransfosOneLoad): time 0.002879/0.1116, allocations: 1.436 MB / 0.4891 GB, free: 12.52 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002192/0.1138, allocations: 1.54 MB / 0.4906 GB, free: 10.96 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.235e-05/0.1139, allocations: 4 kB / 0.4907 GB, free: 10.96 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003683/0.1143, allocations: 131.3 kB / 0.4908 GB, free: 10.83 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003444/0.1146, allocations: 143.1 kB / 0.4909 GB, free: 10.69 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001852/0.1165, allocations: 0.9396 MB / 0.4918 GB, free: 9.75 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003282/0.1168, allocations: 238.8 kB / 0.4921 GB, free: 9.516 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00014/0.117, allocations: 56.48 kB / 0.4921 GB, free: 9.457 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001161/0.1171, allocations: 107.6 kB / 0.4922 GB, free: 9.352 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002051/0.1173, allocations: 107.5 kB / 0.4923 GB, free: 9.246 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.799e-05/0.1173, allocations: 16 kB / 0.4923 GB, free: 9.23 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004/0.1177, allocations: 227.8 kB / 0.4925 GB, free: 9.008 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.082e-05/0.1178, allocations: 51.77 kB / 0.4926 GB, free: 8.957 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001142/0.1179, allocations: 99.52 kB / 0.4927 GB, free: 8.859 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000534/0.1184, allocations: 414.6 kB / 0.4931 GB, free: 8.453 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.1184, allocations: 3.938 kB / 0.4931 GB, free: 8.449 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.1184, allocations: 4 kB / 0.4931 GB, free: 8.445 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.752e-06/0.1184, allocations: 0 / 0.4931 GB, free: 8.445 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.003731/0.1222, allocations: 0.9379 MB / 0.494 GB, free: 7.469 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.1222, allocations: 12.03 kB / 0.494 GB, free: 7.457 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.923e-05/0.1223, allocations: 46.73 kB / 0.4941 GB, free: 7.402 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.166e-05/0.1223, allocations: 28.8 kB / 0.4941 GB, free: 7.375 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003618/0.1227, allocations: 210.7 kB / 0.4943 GB, free: 7.145 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.1227, allocations: 12.7 kB / 0.4943 GB, free: 7.133 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.386e-05/0.1228, allocations: 24.38 kB / 0.4943 GB, free: 7.109 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006278/0.1234, allocations: 461.8 kB / 0.4948 GB, free: 6.609 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.1234, allocations: 3.938 kB / 0.4948 GB, free: 6.605 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.683e-05/0.1234, allocations: 8 kB / 0.4948 GB, free: 6.598 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.054e-06/0.1234, allocations: 4 kB / 0.4948 GB, free: 6.594 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004398/0.1239, allocations: 264.1 kB / 0.495 GB, free: 6.336 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001606/0.1255, allocations: 0.7374 MB / 0.4958 GB, free: 5.555 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006476/0.1261, allocations: 286.5 kB / 0.496 GB, free: 5.266 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002238/0.1264, allocations: 140.8 kB / 0.4962 GB, free: 5.125 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.651e-05/0.1264, allocations: 4 kB / 0.4962 GB, free: 5.121 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.1264, allocations: 38.56 kB / 0.4962 GB, free: 5.074 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 1.533e-06/0.1264, allocations: 0 / 0.4962 GB, free: 5.074 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.003891/0.1303, allocations: 0.9861 MB / 0.4972 GB, free: 4.078 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.444e-05/0.1304, allocations: 110.8 kB / 0.4973 GB, free: 3.945 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002404/0.1306, allocations: 218.6 kB / 0.4975 GB, free: 3.723 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.378e-05/0.1307, allocations: 37.7 kB / 0.4975 GB, free: 3.68 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.74e-05/0.1308, allocations: 132.9 kB / 0.4976 GB, free: 3.547 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.806e-05/0.1309, allocations: 91.22 kB / 0.4977 GB, free: 3.457 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001232/0.131, allocations: 73.64 kB / 0.4978 GB, free: 3.379 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.1311, allocations: 334.8 kB / 0.4981 GB, free: 3.043 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002827/0.1314, allocations: 176.3 kB / 0.4983 GB, free: 2.871 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003545/0.1318, allocations: 265.8 kB / 0.4985 GB, free: 2.59 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005921/0.1324, allocations: 382.8 kB / 0.4989 GB, free: 2.215 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1324, allocations: 0 / 0.4989 GB, free: 2.215 MB / 366.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.00212/0.1345, allocations: 0.7398 MB / 0.4996 GB, free: 1.465 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.1345, allocations: 4 kB / 0.4996 GB, free: 1.461 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.1345, allocations: 0 / 0.4996 GB, free: 1.461 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002103/0.1366, allocations: 424.4 kB / 0.5 GB, free: 1.043 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002634/0.1369, allocations: 59.91 kB / 0.5001 GB, free: 0.9844 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004645/0.1415, allocations: 2.584 MB / 0.5026 GB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002956/0.1418, allocations: 39.77 kB / 0.5027 GB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.235e-05/0.1418, allocations: 12 kB / 0.5027 GB, free: 14.24 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 (33): * Single equations (assignments): 32 * 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 {(4,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001694/0.142, allocations: 137.8 kB / 0.5028 GB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.09e-05/0.1421, allocations: 23.86 kB / 0.5028 GB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002177/0.1443, allocations: 0.691 MB / 0.5035 GB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.151e-05/0.1443, allocations: 4 kB / 0.5035 GB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.1443, allocations: 0 / 0.5035 GB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.1443, allocations: 7.922 kB / 0.5035 GB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004156/0.1447, allocations: 304.6 kB / 0.5038 GB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.1447, allocations: 3.938 kB / 0.5038 GB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001629/0.1449, allocations: 31.98 kB / 0.5038 GB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002057/0.1469, allocations: 420.3 kB / 0.5042 GB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.78e-05/0.147, allocations: 8 kB / 0.5042 GB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004432/0.1514, allocations: 2.538 MB / 0.5067 GB, free: 9.906 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.1514, allocations: 0 / 0.5067 GB, free: 9.906 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002064/0.1535, allocations: 0.7301 MB / 0.5074 GB, free: 9.156 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.704e-05/0.1535, allocations: 31.72 kB / 0.5075 GB, free: 9.125 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.735e-05/0.1536, allocations: 8 kB / 0.5075 GB, free: 9.117 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002772/0.1539, allocations: 23.92 kB / 0.5075 GB, free: 9.094 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.526e-05/0.1539, allocations: 31.89 kB / 0.5075 GB, free: 9.062 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.464e-05/0.154, allocations: 4 kB / 0.5075 GB, free: 9.059 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001814/0.1541, allocations: 158.8 kB / 0.5077 GB, free: 8.902 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1541, allocations: 0 / 0.5077 GB, free: 8.902 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004773/0.1546, allocations: 115.9 kB / 0.5078 GB, free: 8.789 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 (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 {(4,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002488/0.1571, allocations: 1.276 MB / 0.509 GB, free: 7.484 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001551/0.1587, allocations: 0.5959 MB / 0.5096 GB, free: 6.875 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.1587, allocations: 0 / 0.5096 GB, free: 6.875 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001017/0.1597, allocations: 386.4 kB / 0.51 GB, free: 6.484 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003572/0.16, allocations: 28 kB / 0.51 GB, free: 6.457 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006738/0.1668, allocations: 3.501 MB / 0.5134 GB, free: 2.871 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001447/0.1669, allocations: 142.8 kB / 0.5136 GB, free: 2.715 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001234/0.167, allocations: 29.92 kB / 0.5136 GB, free: 2.688 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001311/0.1672, allocations: 79.41 kB / 0.5137 GB, free: 2.609 MB / 382.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1672, allocations: 0 / 0.5137 GB, free: 2.609 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2913/0.4584, allocations: 10.03 MB / 0.5235 GB, free: 30.11 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.9/13.36, allocations: 6.062 kB / 0.5235 GB, free: 30.1 MB / 382.1 MB " [Timeout remaining time 647] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad_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_OneSourceTwoTransfosOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.19867641897872] Failed to read output from testmodel.py, exit status != 0: 13.478138229809701 13.490659583 13.369776038 Calling exit ...