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.001335/0.001335, allocations: 112.2 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.00138/0.00138, 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.559/1.559, 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.04356/0.04356, allocations: 6.135 MB / 315.7 MB, free: 1.113 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.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.001506/0.001506, allocations: 50.41 kB / 439.2 MB, free: 40.71 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1041, allocations: 54.98 MB / 494.2 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoTransfosOneLoad): time 0.002218/0.1064, allocations: 1.576 MB / 495.8 MB, free: 8.898 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001795/0.1082, allocations: 1.618 MB / 497.4 MB, free: 7.266 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.984e-05/0.1083, allocations: 4 kB / 497.4 MB, free: 7.262 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003956/0.1086, allocations: 127.3 kB / 497.5 MB, free: 7.137 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003733/0.109, allocations: 139.1 kB / 497.7 MB, free: 7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001498/0.1105, allocations: 1.023 MB / 498.7 MB, free: 5.973 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000404/0.1109, allocations: 246.8 kB / 498.9 MB, free: 5.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000177/0.1111, allocations: 56.55 kB / 499 MB, free: 5.672 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.672e-05/0.1112, allocations: 103.7 kB / 499.1 MB, free: 5.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001846/0.1114, allocations: 131.4 kB / 499.2 MB, free: 5.441 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.402e-05/0.1114, allocations: 20 kB / 499.2 MB, free: 5.422 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004234/0.1118, allocations: 239.8 kB / 499.5 MB, free: 5.188 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.075e-05/0.1119, allocations: 51.77 kB / 499.5 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001011/0.112, allocations: 115.4 kB / 499.6 MB, free: 5.023 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005074/0.1125, allocations: 426.5 kB / 0.4883 GB, free: 4.605 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1125, allocations: 0 / 0.4883 GB, free: 4.605 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1125, allocations: 0 / 0.4883 GB, free: 4.605 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.222e-05/0.1125, allocations: 0 / 0.4883 GB, free: 4.605 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.003605/0.1161, allocations: 1.005 MB / 0.4893 GB, free: 3.543 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.401e-05/0.1162, allocations: 8.031 kB / 0.4893 GB, free: 3.535 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.082e-05/0.1163, allocations: 58.73 kB / 0.4894 GB, free: 3.469 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.574e-05/0.1164, allocations: 28.73 kB / 0.4894 GB, free: 3.441 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002849/0.1166, allocations: 258.8 kB / 0.4897 GB, free: 3.152 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/0.1167, allocations: 16.7 kB / 0.4897 GB, free: 3.137 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.886e-05/0.1167, allocations: 20.38 kB / 0.4897 GB, free: 3.117 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004138/0.1171, allocations: 299.6 kB / 0.49 GB, free: 2.812 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.1171, allocations: 3.938 kB / 0.49 GB, free: 2.809 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.961e-05/0.1172, allocations: 12 kB / 0.49 GB, free: 2.797 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.1172, allocations: 4 kB / 0.49 GB, free: 2.793 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003196/0.1175, allocations: 244.2 kB / 0.4902 GB, free: 2.555 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001378/0.1189, allocations: 0.9557 MB / 0.4912 GB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006161/0.1195, allocations: 286.4 kB / 0.4914 GB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001853/0.1197, allocations: 136.8 kB / 0.4916 GB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.936e-05/0.1197, allocations: 11.98 kB / 0.4916 GB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.1198, allocations: 42.5 kB / 0.4916 GB, free: 1.035 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 2.034e-06/0.1198, allocations: 0 / 0.4916 GB, free: 1.035 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.003671/0.1234, allocations: 1.056 MB / 0.4927 GB, free: 15.95 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.3e-05/0.1235, allocations: 106.8 kB / 0.4928 GB, free: 15.82 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002895/0.1238, allocations: 214.7 kB / 0.493 GB, free: 15.61 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.976e-05/0.1239, allocations: 33.7 kB / 0.493 GB, free: 15.57 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.124, allocations: 128.9 kB / 0.4931 GB, free: 15.43 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001083/0.1241, allocations: 95.2 kB / 0.4932 GB, free: 15.34 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001509/0.1242, allocations: 69.67 kB / 0.4933 GB, free: 15.27 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.1244, allocations: 330.8 kB / 0.4936 GB, free: 14.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002955/0.1247, allocations: 176.2 kB / 0.4938 GB, free: 14.76 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000341/0.125, allocations: 214.4 kB / 0.494 GB, free: 14.54 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006425/0.1257, allocations: 390.7 kB / 0.4943 GB, free: 14.16 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.1257, allocations: 0 / 0.4943 GB, free: 14.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.002173/0.1279, allocations: 0.732 MB / 0.495 GB, free: 13.42 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.1279, allocations: 4 kB / 0.4951 GB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.1279, allocations: 4 kB / 0.4951 GB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002202/0.1301, allocations: 416.4 kB / 0.4955 GB, free: 13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002706/0.1304, allocations: 59.91 kB / 0.4955 GB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004721/0.1351, allocations: 2.741 MB / 0.4982 GB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003041/0.1354, allocations: 35.77 kB / 0.4982 GB, free: 10.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.463e-05/0.1354, allocations: 15.98 kB / 0.4982 GB, free: 10.02 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 (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.0001769/0.1356, allocations: 142.4 kB / 0.4984 GB, free: 9.867 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.933e-05/0.1357, allocations: 27.8 kB / 0.4984 GB, free: 9.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00219/0.1379, allocations: 0.6755 MB / 0.4991 GB, free: 9.156 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.1379, allocations: 8 kB / 0.4991 GB, free: 9.148 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/0.1379, allocations: 4 kB / 0.4991 GB, free: 9.145 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.1379, allocations: 7.922 kB / 0.4991 GB, free: 9.137 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000493/0.1384, allocations: 389.2 kB / 0.4994 GB, free: 8.707 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.1384, allocations: 0 / 0.4994 GB, free: 8.707 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001618/0.1385, allocations: 39.98 kB / 0.4995 GB, free: 8.668 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002157/0.1407, allocations: 424.3 kB / 0.4999 GB, free: 8.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.505e-05/0.1407, allocations: 4 kB / 0.4999 GB, free: 8.246 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004517/0.1452, allocations: 2.692 MB / 0.5025 GB, free: 5.406 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.1452, allocations: 7.984 kB / 0.5025 GB, free: 5.398 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002114/0.1474, allocations: 0.7223 MB / 0.5032 GB, free: 4.656 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.017e-05/0.1474, allocations: 104.9 kB / 0.5033 GB, free: 4.535 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.012e-05/0.1475, allocations: 7.938 kB / 0.5033 GB, free: 4.527 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000294/0.1478, allocations: 23.92 kB / 0.5034 GB, free: 4.504 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.298e-05/0.1478, allocations: 27.97 kB / 0.5034 GB, free: 4.477 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.536e-05/0.1479, allocations: 7.984 kB / 0.5034 GB, free: 4.469 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001814/0.1481, allocations: 158.8 kB / 0.5036 GB, free: 4.312 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1481, allocations: 0 / 0.5036 GB, free: 4.312 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004799/0.1485, allocations: 104 kB / 0.5037 GB, free: 4.211 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 (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.002463/0.151, allocations: 1.303 MB / 0.5049 GB, free: 2.879 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001549/0.1525, allocations: 0.5845 MB / 0.5055 GB, free: 2.281 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.1525, allocations: 4 kB / 0.5055 GB, free: 2.277 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001037/0.1536, allocations: 390.4 kB / 0.5059 GB, free: 1.883 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003406/0.1539, allocations: 25.39 kB / 0.5059 GB, free: 1.859 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006745/0.1607, allocations: 3.486 MB / 0.5093 GB, free: 14.29 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000391/0.1611, allocations: 0.7446 MB / 0.51 GB, free: 13.52 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001267/0.1612, allocations: 33.92 kB / 0.5101 GB, free: 13.49 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001251/0.1613, allocations: 75.34 kB / 0.5101 GB, free: 13.42 MB / 382.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1613, allocations: 0 / 0.5101 GB, free: 13.42 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04196/0.2033, allocations: 9.686 MB / 0.5196 GB, free: 3.852 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/12.07, allocations: 6.328 kB / 0.5196 GB, free: 3.848 MB / 382.1 MB " [Timeout remaining time 648] (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: 14.998789933000808] Failed to read output from testmodel.py, exit status != 0: 12.161211949001881 12.176918415 12.061135257 Calling exit ...