Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.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.001286/0.001286, 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.001286/0.001286, 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.482/1.482, 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.03606/0.03606, allocations: 6.135 MB / 315.7 MB, free: 1.098 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.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002405/0.002405, allocations: 48.45 kB / 439.2 MB, free: 40.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1064, allocations: 54.98 MB / 494.2 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2): time 0.0029/0.1093, allocations: 2.628 MB / 496.9 MB, free: 7.859 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001638/0.111, allocations: 1.676 MB / 498.5 MB, free: 6.168 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001293/0.1111, allocations: 8 kB / 498.5 MB, free: 6.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003419/0.1114, allocations: 170.9 kB / 498.7 MB, free: 5.992 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003698/0.1118, allocations: 226.6 kB / 498.9 MB, free: 5.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001614/0.1134, allocations: 1.214 MB / 0.4884 GB, free: 4.551 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003674/0.1138, allocations: 457.8 kB / 0.4889 GB, free: 4.102 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001797/0.114, allocations: 114 kB / 0.489 GB, free: 3.984 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/0.1141, allocations: 191.3 kB / 0.4891 GB, free: 3.797 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002127/0.1143, allocations: 231 kB / 0.4894 GB, free: 3.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.538e-05/0.1143, allocations: 36 kB / 0.4894 GB, free: 3.535 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003827/0.1147, allocations: 283.7 kB / 0.4897 GB, free: 3.258 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.959e-05/0.1148, allocations: 91.67 kB / 0.4898 GB, free: 3.168 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001256/0.1149, allocations: 218.9 kB / 0.49 GB, free: 2.953 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005525/0.1155, allocations: 0.6344 MB / 0.4906 GB, free: 2.316 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1155, allocations: 0 / 0.4906 GB, free: 2.316 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1155, allocations: 4 kB / 0.4906 GB, free: 2.312 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.1155, allocations: 0 / 0.4906 GB, free: 2.312 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.004795/0.1203, allocations: 1.426 MB / 0.492 GB, free: 0.8359 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.1203, allocations: 8.031 kB / 0.492 GB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.344e-05/0.1204, allocations: 74.72 kB / 0.4921 GB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.573e-05/0.1205, allocations: 48.66 kB / 0.4921 GB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003266/0.1208, allocations: 331.6 kB / 0.4924 GB, free: 344 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.1208, allocations: 33.02 kB / 0.4925 GB, free: 312 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.896e-05/0.1209, allocations: 40.38 kB / 0.4925 GB, free: 272 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007586/0.1216, allocations: 0.5137 MB / 0.493 GB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.1216, allocations: 0 / 0.493 GB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.933e-05/0.1217, allocations: 16 kB / 0.493 GB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/0.1217, allocations: 8 kB / 0.493 GB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007487/0.1225, allocations: 450.4 kB / 0.4934 GB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002842/0.1253, allocations: 1.496 MB / 0.4949 GB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/0.1263, allocations: 0.523 MB / 0.4954 GB, free: 13.16 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003955/0.1267, allocations: 232.8 kB / 0.4956 GB, free: 12.93 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.582e-05/0.1268, allocations: 19.92 kB / 0.4957 GB, free: 12.91 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.687e-05/0.1268, allocations: 42.55 kB / 0.4957 GB, free: 12.86 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 2.264e-06/0.1268, allocations: 3.938 kB / 0.4957 GB, free: 12.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=43): time 0.007184/0.134, allocations: 1.807 MB / 0.4975 GB, free: 11.02 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.201e-05/0.1341, allocations: 106.8 kB / 0.4976 GB, free: 10.89 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003401/0.1345, allocations: 274.6 kB / 0.4978 GB, free: 10.61 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.089e-05/0.1345, allocations: 37.7 kB / 0.4979 GB, free: 10.57 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000145/0.1347, allocations: 184.9 kB / 0.498 GB, free: 10.38 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001432/0.1348, allocations: 146.6 kB / 0.4982 GB, free: 10.24 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002026/0.135, allocations: 110.2 kB / 0.4983 GB, free: 10.12 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.1352, allocations: 346.8 kB / 0.4986 GB, free: 9.777 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004685/0.1356, allocations: 281 kB / 0.4989 GB, free: 9.5 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005132/0.1362, allocations: 336.6 kB / 0.4992 GB, free: 9.164 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001036/0.1372, allocations: 0.6295 MB / 0.4998 GB, free: 8.531 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1372, allocations: 0 / 0.4998 GB, free: 8.531 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003626/0.1408, allocations: 1.229 MB / 0.501 GB, free: 7.293 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.1408, allocations: 4 kB / 0.501 GB, free: 7.289 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.1408, allocations: 0 / 0.501 GB, free: 7.289 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003775/0.1446, allocations: 0.7724 MB / 0.5018 GB, free: 6.516 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003911/0.145, allocations: 91.88 kB / 0.5019 GB, free: 6.426 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007988/0.153, allocations: 4.059 MB / 0.5058 GB, free: 2.227 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004723/0.1535, allocations: 55.61 kB / 0.5059 GB, free: 2.172 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-05/0.1535, allocations: 16 kB / 0.5059 GB, free: 2.156 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 (51): * Single equations (assignments): 50 * 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 {(8,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002409/0.1538, allocations: 171.4 kB / 0.5061 GB, free: 1.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.449e-05/0.1539, allocations: 35.77 kB / 0.5061 GB, free: 1.945 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00374/0.1576, allocations: 1.179 MB / 0.5073 GB, free: 0.7578 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.1576, allocations: 7.984 kB / 0.5073 GB, free: 0.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-06/0.1576, allocations: 0 / 0.5073 GB, free: 0.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.1576, allocations: 3.984 kB / 0.5073 GB, free: 0.7461 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004231/0.1618, allocations: 1.775 MB / 0.509 GB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.1619, allocations: 3.938 kB / 0.509 GB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002408/0.1621, allocations: 55.92 kB / 0.5091 GB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003671/0.1658, allocations: 0.7522 MB / 0.5098 GB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.926e-05/0.1658, allocations: 8 kB / 0.5098 GB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007698/0.1735, allocations: 4.022 MB / 0.5137 GB, free: 9.93 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/0.1735, allocations: 3.938 kB / 0.5137 GB, free: 9.926 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003551/0.1771, allocations: 1.188 MB / 0.5149 GB, free: 8.719 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001253/0.1772, allocations: 116.8 kB / 0.515 GB, free: 8.586 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.295e-05/0.1773, allocations: 15.94 kB / 0.515 GB, free: 8.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003811/0.1776, allocations: 29.39 kB / 0.515 GB, free: 8.543 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001449/0.1778, allocations: 40.38 kB / 0.5151 GB, free: 8.504 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.164e-05/0.1778, allocations: 12 kB / 0.5151 GB, free: 8.492 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002336/0.1781, allocations: 190 kB / 0.5153 GB, free: 8.309 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1781, allocations: 0 / 0.5153 GB, free: 8.309 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006854/0.1787, allocations: 191.8 kB / 0.5155 GB, free: 8.121 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 (35): * Single equations (assignments): 34 * 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 {(8,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003855/0.1826, allocations: 1.757 MB / 0.5172 GB, free: 6.336 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002641/0.1852, allocations: 0.9685 MB / 0.5181 GB, free: 5.348 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.1852, allocations: 0 / 0.5181 GB, free: 5.348 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001905/0.1872, allocations: 0.6297 MB / 0.5187 GB, free: 4.707 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004542/0.1876, allocations: 36.89 kB / 0.5188 GB, free: 4.668 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01099/0.1986, allocations: 5.095 MB / 0.5237 GB, free: 15.48 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00048/0.1991, allocations: 0.8128 MB / 0.5245 GB, free: 14.63 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001931/0.1993, allocations: 54.92 kB / 0.5246 GB, free: 14.58 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002116/0.1995, allocations: 139.3 kB / 0.5247 GB, free: 14.45 MB / 398.1 MB Notification: Performance of SimCode: time 1.032e-06/0.1995, allocations: 0 / 0.5247 GB, free: 14.45 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04734/0.2468, allocations: 15.08 MB / 0.5395 GB, free: 15.6 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.13/12.38, allocations: 10.23 kB / 0.5395 GB, free: 15.59 MB / 414.1 MB " [Timeout remaining time 648] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2_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_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.089828430995112] Failed to read output from testmodel.py, exit status != 0: 12.481347888999153 12.498061421 12.379179002 Calling exit ...