Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.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.001232/0.001232, allocations: 72.55 kB / 19.96 MB, free: 4.598 MB / 18.57 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.0009387/0.0009387, allocations: 173.9 kB / 23.25 MB, free: 1.312 MB / 18.57 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 0.9521/0.9521, allocations: 177.1 MB / 203.6 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.02318/0.02318, allocations: 4.465 MB / 264.4 MB, free: 8.754 MB / 250.7 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.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.973e-06/1.973e-06, allocations: 3.938 kB / 389.6 MB, free: 7.398 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.044e-05/2.241e-05, allocations: 4.953 kB / 389.6 MB, free: 7.395 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad): time 0.00225/0.002273, allocations: 2.003 MB / 391.6 MB, free: 5.391 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001824/0.004097, allocations: 1.66 MB / 393.3 MB, free: 3.715 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001146/0.004211, allocations: 8 kB / 393.3 MB, free: 3.707 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003536/0.004565, allocations: 155 kB / 393.4 MB, free: 3.555 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003891/0.004954, allocations: 218.4 kB / 393.6 MB, free: 3.34 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001153/0.006107, allocations: 1.109 MB / 394.7 MB, free: 2.227 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004176/0.006525, allocations: 421.7 kB / 395.2 MB, free: 1.812 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001561/0.006681, allocations: 79.62 kB / 395.2 MB, free: 1.73 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001892/0.00687, allocations: 235.5 kB / 395.5 MB, free: 1.5 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000188/0.007058, allocations: 159.5 kB / 395.6 MB, free: 1.344 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.756e-05/0.007095, allocations: 32 kB / 395.7 MB, free: 1.312 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003873/0.007483, allocations: 259.6 kB / 395.9 MB, free: 1.059 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.949e-05/0.007532, allocations: 87.61 kB / 396 MB, free: 0.9727 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 9.117e-05/0.007623, allocations: 131.6 kB / 396.1 MB, free: 0.8438 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005532/0.008177, allocations: 0.6037 MB / 396.7 MB, free: 244 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.008179, allocations: 0 / 396.7 MB, free: 244 kB / 314.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.00818, allocations: 0 / 396.7 MB, free: 244 kB / 314.7 MB Notification: Performance of Transformations before backend: time 5.511e-06/0.008186, allocations: 0 / 396.7 MB, free: 244 kB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.002675/0.01086, allocations: 1.304 MB / 398 MB, free: 14.9 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.955e-05/0.01092, allocations: 16.03 kB / 398 MB, free: 14.88 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.509e-05/0.01099, allocations: 58.73 kB / 398.1 MB, free: 14.82 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.504e-05/0.01107, allocations: 44.66 kB / 398.1 MB, free: 14.77 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002857/0.01136, allocations: 264.7 kB / 398.4 MB, free: 14.49 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/0.01138, allocations: 25.03 kB / 398.4 MB, free: 14.46 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.952e-05/0.01142, allocations: 32.38 kB / 398.5 MB, free: 14.43 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005528/0.01197, allocations: 0.6719 MB / 399.1 MB, free: 13.7 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.01198, allocations: 4.125 kB / 399.1 MB, free: 13.69 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.925e-05/0.01201, allocations: 12.38 kB / 399.2 MB, free: 13.68 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.01201, allocations: 7.938 kB / 399.2 MB, free: 13.67 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004311/0.01244, allocations: 446.4 kB / 399.6 MB, free: 13.23 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001467/0.01391, allocations: 1.115 MB / 400.7 MB, free: 12.08 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000561/0.01447, allocations: 498.1 kB / 401.2 MB, free: 11.58 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002379/0.01471, allocations: 248.8 kB / 401.4 MB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.179e-05/0.01476, allocations: 11.94 kB / 401.5 MB, free: 11.32 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/0.01478, allocations: 38.56 kB / 401.5 MB, free: 11.28 MB / 330.7 MB Notification: Performance of pre-optimization done (n=43): time 1.723e-06/0.01478, allocations: 0 / 401.5 MB, free: 11.28 MB / 330.7 MB Notification: Performance of matching and sorting (n=43): time 0.003503/0.01829, allocations: 1.774 MB / 403.3 MB, free: 9.492 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.801e-05/0.01834, allocations: 110.8 kB / 403.4 MB, free: 9.359 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002111/0.01856, allocations: 273.8 kB / 403.6 MB, free: 9.086 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.753e-05/0.01859, allocations: 41.64 kB / 403.7 MB, free: 9.039 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.968e-05/0.01869, allocations: 157.1 kB / 403.8 MB, free: 8.879 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001185/0.01881, allocations: 158.6 kB / 404 MB, free: 8.723 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001193/0.01893, allocations: 102.3 kB / 404.1 MB, free: 8.613 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.379e-05/0.01901, allocations: 342.8 kB / 404.4 MB, free: 8.27 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002957/0.01931, allocations: 297.2 kB / 404.7 MB, free: 7.98 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004055/0.01972, allocations: 413.1 kB / 405.1 MB, free: 7.555 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006539/0.02037, allocations: 0.6546 MB / 405.8 MB, free: 6.902 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.02037, allocations: 0 / 405.8 MB, free: 6.902 MB / 330.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002105/0.02248, allocations: 1.259 MB / 407 MB, free: 5.633 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.567e-05/0.0225, allocations: 4 kB / 407 MB, free: 5.629 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.02251, allocations: 4 kB / 407 MB, free: 5.625 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001864/0.02438, allocations: 0.7764 MB / 407.8 MB, free: 4.848 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002393/0.02461, allocations: 87.89 kB / 407.9 MB, free: 4.762 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004846/0.02946, allocations: 3.989 MB / 411.9 MB, free: 0.668 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002825/0.02974, allocations: 59.55 kB / 411.9 MB, free: 0.6094 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.397e-05/0.02978, allocations: 20 kB / 412 MB, free: 0.5898 MB / 330.7 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.0001613/0.02994, allocations: 161.7 kB / 412.1 MB, free: 432 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.369e-05/0.02999, allocations: 31.81 kB / 412.2 MB, free: 400 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1466/0.1766, allocations: 1.207 MB / 413.4 MB, free: 33.66 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.842e-05/0.1766, allocations: 7.953 kB / 413.4 MB, free: 33.66 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.1766, allocations: 1.062 kB / 413.4 MB, free: 33.66 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.1766, allocations: 2.672 kB / 413.4 MB, free: 33.66 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000475/0.1771, allocations: 428.1 kB / 413.8 MB, free: 33.5 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.1771, allocations: 0 / 413.8 MB, free: 33.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001582/0.1773, allocations: 61.58 kB / 413.9 MB, free: 33.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002382/0.1796, allocations: 0.7484 MB / 414.6 MB, free: 33.49 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.066e-05/0.1797, allocations: 11.92 kB / 414.6 MB, free: 33.49 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004802/0.1845, allocations: 3.935 MB / 418.5 MB, free: 31 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.1845, allocations: 4.641 kB / 418.5 MB, free: 31 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002132/0.1866, allocations: 1.227 MB / 419.8 MB, free: 30.47 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.442e-05/0.1867, allocations: 40.08 kB / 419.8 MB, free: 30.45 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.621e-05/0.1867, allocations: 13.03 kB / 419.8 MB, free: 30.44 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002459/0.187, allocations: 24.22 kB / 419.9 MB, free: 30.43 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/0.1871, allocations: 40.12 kB / 419.9 MB, free: 30.43 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.63e-05/0.1872, allocations: 14.61 kB / 419.9 MB, free: 30.43 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001683/0.1873, allocations: 191.1 kB / 420.1 MB, free: 30.32 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1873, allocations: 4 kB / 420.1 MB, free: 30.32 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000598/0.1879, allocations: 177.7 kB / 420.3 MB, free: 30.29 MB / 330.7 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 (36): * Single equations (assignments): 35 * 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.002538/0.1905, allocations: 1.783 MB / 422.1 MB, free: 29.21 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001813/0.1923, allocations: 0.9933 MB / 423 MB, free: 28.78 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.209e-06/0.1923, allocations: 2.031 kB / 423 MB, free: 28.78 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001082/0.1934, allocations: 0.6513 MB / 423.7 MB, free: 28.47 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003606/0.1937, allocations: 38.61 kB / 423.7 MB, free: 28.45 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007082/0.2008, allocations: 5.175 MB / 428.9 MB, free: 25.69 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00019/0.201, allocations: 194.9 kB / 429.1 MB, free: 25.59 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001801/0.2012, allocations: 55.61 kB / 429.2 MB, free: 25.59 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001356/0.2013, allocations: 124.6 kB / 429.3 MB, free: 25.5 MB / 330.7 MB Notification: Performance of SimCode: time 1.973e-06/0.2013, allocations: 0 / 429.3 MB, free: 25.5 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02915/0.2305, allocations: 15.73 MB / 445 MB, free: 13.91 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.05/8.281, allocations: 11.92 kB / 445 MB, free: 13.9 MB / 330.7 MB " [Timeout remaining time 652] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad_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_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.135668659582734] Failed to read output from testmodel.py, exit status != 0: 8.378492575138807 8.387735165 8.378097046 Calling exit ...