Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.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.0008454/0.0008454, allocations: 76.55 kB / 19.97 MB, free: 4.594 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.001055/0.001055, allocations: 174.3 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.9138/0.9138, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.0305/0.0305, allocations: 4.467 MB / 264.5 MB, free: 8.762 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.OneSourceOneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfo",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 389.6 MB, free: 7.391 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.434e-05/1.558e-05, allocations: 2.281 kB / 389.6 MB, free: 7.387 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfo): time 0.001438/0.001454, allocations: 0.984 MB / 390.6 MB, free: 6.406 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001466/0.00292, allocations: 1.45 MB / 392 MB, free: 4.941 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.49e-05/0.002975, allocations: 4 kB / 392 MB, free: 4.938 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002787/0.003254, allocations: 103.4 kB / 392.1 MB, free: 4.836 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000211/0.003465, allocations: 83.47 kB / 392.2 MB, free: 4.754 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007969/0.004261, allocations: 0.7933 MB / 393 MB, free: 3.957 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001839/0.004445, allocations: 107.4 kB / 393.1 MB, free: 3.852 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.004547, allocations: 29.16 kB / 393.2 MB, free: 3.82 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.839e-05/0.004606, allocations: 55.89 kB / 393.2 MB, free: 3.766 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.596e-05/0.004662, allocations: 43.88 kB / 393.2 MB, free: 3.723 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.004679, allocations: 11.94 kB / 393.3 MB, free: 3.711 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002959/0.004975, allocations: 207.6 kB / 393.5 MB, free: 3.508 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.248e-05/0.004997, allocations: 27.84 kB / 393.5 MB, free: 3.48 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.257e-05/0.00503, allocations: 31.94 kB / 393.5 MB, free: 3.449 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003079/0.005338, allocations: 311 kB / 393.8 MB, free: 3.145 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.00534, allocations: 0 / 393.8 MB, free: 3.145 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.005341, allocations: 0 / 393.8 MB, free: 3.145 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.005345, allocations: 0 / 393.8 MB, free: 3.145 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001095/0.006439, allocations: 0.5831 MB / 394.4 MB, free: 2.527 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.006472, allocations: 12.03 kB / 394.4 MB, free: 2.516 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.398e-05/0.006506, allocations: 38.75 kB / 394.5 MB, free: 2.469 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.126e-05/0.006537, allocations: 8.891 kB / 394.5 MB, free: 2.461 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/0.006681, allocations: 151.9 kB / 394.6 MB, free: 2.289 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.006692, allocations: 8.375 kB / 394.6 MB, free: 2.281 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.558e-05/0.006708, allocations: 8.375 kB / 394.6 MB, free: 2.273 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002146/0.006922, allocations: 193.5 kB / 394.8 MB, free: 2.066 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.134e-06/0.00693, allocations: 192 / 394.8 MB, free: 2.066 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.006942, allocations: 4.375 kB / 394.8 MB, free: 2.062 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.006948, allocations: 8.125 kB / 394.8 MB, free: 2.055 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001398/0.007088, allocations: 127.9 kB / 395 MB, free: 1.93 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007646/0.007853, allocations: 419.6 kB / 395.4 MB, free: 1.477 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003851/0.008238, allocations: 174.5 kB / 395.5 MB, free: 1.297 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.41e-05/0.008292, allocations: 44.86 kB / 395.6 MB, free: 1.25 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002937/0.008586, allocations: 336.4 kB / 395.9 MB, free: 0.9023 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.737e-05/0.008603, allocations: 30.56 kB / 395.9 MB, free: 0.8633 MB / 314.7 MB Notification: Performance of pre-optimization done (n=10): time 1.022e-06/0.008604, allocations: 3.938 kB / 395.9 MB, free: 0.8594 MB / 314.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004659/0.00907, allocations: 222.3 kB / 396.2 MB, free: 0.6328 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.639e-05/0.009106, allocations: 81.11 kB / 396.2 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.575e-05/0.009202, allocations: 158.4 kB / 396.4 MB, free: 376 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.009215, allocations: 29.7 kB / 396.4 MB, free: 340 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.983e-05/0.009265, allocations: 120 kB / 396.5 MB, free: 216 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.951e-05/0.009284, allocations: 39.62 kB / 396.6 MB, free: 176 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.901e-05/0.009333, allocations: 45.69 kB / 396.6 MB, free: 124 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.945e-05/0.009413, allocations: 322.8 kB / 396.9 MB, free: 15.8 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.567e-05/0.009479, allocations: 67.98 kB / 397 MB, free: 15.73 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.478e-05/0.009573, allocations: 146.6 kB / 397.2 MB, free: 15.56 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001621/0.009735, allocations: 179.2 kB / 397.3 MB, free: 15.37 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.009737, allocations: 0 / 397.3 MB, free: 15.37 MB / 330.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003111/0.01005, allocations: 258.4 kB / 397.6 MB, free: 15.11 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.01006, allocations: 8 kB / 397.6 MB, free: 15.1 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.227e-06/0.01007, allocations: 0 / 397.6 MB, free: 15.1 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002165/0.01028, allocations: 68.86 kB / 397.7 MB, free: 15.03 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.086e-05/0.01036, allocations: 35.92 kB / 397.7 MB, free: 15 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008145/0.01118, allocations: 1.369 MB / 399.1 MB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.609e-05/0.01125, allocations: 23.91 kB / 399.1 MB, free: 13.49 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.01126, allocations: 12.16 kB / 399.1 MB, free: 13.48 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (21): * Single equations (assignments): 20 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.294e-05/0.01134, allocations: 121.8 kB / 399.2 MB, free: 13.35 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.007e-05/0.01136, allocations: 15.89 kB / 399.2 MB, free: 13.34 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002678/0.01163, allocations: 199.1 kB / 399.4 MB, free: 13.13 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.01163, allocations: 0 / 399.4 MB, free: 13.13 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.01163, allocations: 7.938 kB / 399.4 MB, free: 13.12 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.01163, allocations: 0 / 399.4 MB, free: 13.12 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001408/0.01177, allocations: 192.6 kB / 399.6 MB, free: 12.89 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.01177, allocations: 384 / 399.6 MB, free: 12.89 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.146e-05/0.0118, allocations: 12 kB / 399.6 MB, free: 12.88 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001702/0.01198, allocations: 68.73 kB / 399.7 MB, free: 12.81 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.01199, allocations: 4 kB / 399.7 MB, free: 12.8 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007091/0.01269, allocations: 1.361 MB / 401.1 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.0127, allocations: 0 / 401.1 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002473/0.01294, allocations: 268.3 kB / 401.3 MB, free: 11.04 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.361e-05/0.01296, allocations: 23.97 kB / 401.3 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.978e-06/0.01297, allocations: 0 / 401.3 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.054e-05/0.01303, allocations: 8 kB / 401.4 MB, free: 11.01 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.003e-05/0.01305, allocations: 7.984 kB / 401.4 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.01305, allocations: 4 kB / 401.4 MB, free: 11 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.17e-05/0.01311, allocations: 126 kB / 401.5 MB, free: 10.88 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01311, allocations: 0 / 401.5 MB, free: 10.88 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002135/0.01333, allocations: 40 kB / 401.5 MB, free: 10.84 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 (10): * Single equations (assignments): 9 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007837/0.01411, allocations: 0.8146 MB / 402.3 MB, free: 9.996 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003696/0.01448, allocations: 270.6 kB / 402.6 MB, free: 9.719 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.01448, allocations: 4 kB / 402.6 MB, free: 9.715 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001503/0.01463, allocations: 166.7 kB / 402.8 MB, free: 9.539 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001631/0.0148, allocations: 10.66 kB / 402.8 MB, free: 9.531 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001524/0.01632, allocations: 1.944 MB / 404.7 MB, free: 7.469 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.142e-05/0.01638, allocations: 96.66 kB / 404.8 MB, free: 7.352 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.614e-05/0.01643, allocations: 16.95 kB / 404.8 MB, free: 7.332 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.933e-05/0.01648, allocations: 36.48 kB / 404.9 MB, free: 7.297 MB / 330.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01648, allocations: 0 / 404.9 MB, free: 7.297 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01694/0.03342, allocations: 4.288 MB / 409.2 MB, free: 3.145 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.066/7.1, allocations: 4 kB / 409.2 MB, free: 3.141 MB / 330.7 MB " [Timeout remaining time 653] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo_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_OneSourceOneTransfo.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.062546531669796] Failed to read output from testmodel.py, exit status != 0: 7.183178273960948 7.328660275 7.321474306 Calling exit ...