Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.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.001244/0.001244, allocations: 76.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.001268/0.001268, allocations: 177.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.9319/0.9319, allocations: 177.1 MB / 203.6 MB, free: 5.711 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.02346/0.02346, allocations: 4.467 MB / 264.5 MB, free: 8.746 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.OneSourceOneLineOneLoadOneBank,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoadOneBank",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoadOneBank",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 389.6 MB, free: 7.398 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.054e-05/2.274e-05, allocations: 8.953 kB / 389.6 MB, free: 7.391 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank): time 0.001857/0.00188, allocations: 1.271 MB / 390.9 MB, free: 6.121 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001639/0.003518, allocations: 1.512 MB / 392.4 MB, free: 4.594 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.351e-05/0.003592, allocations: 4 kB / 392.4 MB, free: 4.59 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002871/0.003879, allocations: 107.3 kB / 392.5 MB, free: 4.484 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002069/0.004086, allocations: 99.31 kB / 392.6 MB, free: 4.387 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009994/0.005085, allocations: 0.8244 MB / 393.4 MB, free: 3.559 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003127/0.005398, allocations: 195 kB / 393.6 MB, free: 3.367 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001528/0.005551, allocations: 37.78 kB / 393.6 MB, free: 3.324 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001229/0.005674, allocations: 115.7 kB / 393.8 MB, free: 3.211 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001417/0.005816, allocations: 71.78 kB / 393.8 MB, free: 3.141 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.583e-05/0.005841, allocations: 20 kB / 393.8 MB, free: 3.121 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003047/0.006146, allocations: 207.6 kB / 394.1 MB, free: 2.918 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.637e-05/0.006172, allocations: 31.84 kB / 394.1 MB, free: 2.887 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.103e-05/0.006233, allocations: 63.83 kB / 394.1 MB, free: 2.824 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003521/0.006586, allocations: 374.8 kB / 394.5 MB, free: 2.457 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.006588, allocations: 0 / 394.5 MB, free: 2.457 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.006589, allocations: 0 / 394.5 MB, free: 2.457 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.006594, allocations: 0 / 394.5 MB, free: 2.457 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001115/0.007709, allocations: 0.6104 MB / 395.1 MB, free: 1.809 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.007755, allocations: 8.031 kB / 395.1 MB, free: 1.801 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.794e-05/0.007802, allocations: 50.67 kB / 395.2 MB, free: 1.742 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.764e-05/0.00785, allocations: 28.8 kB / 395.2 MB, free: 1.715 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001971/0.008047, allocations: 169.6 kB / 395.4 MB, free: 1.523 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.008061, allocations: 16.59 kB / 395.4 MB, free: 1.508 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.828e-05/0.008079, allocations: 12.38 kB / 395.4 MB, free: 1.496 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002959/0.008375, allocations: 298.3 kB / 395.7 MB, free: 1.184 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.008383, allocations: 192 / 395.7 MB, free: 1.184 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.698e-05/0.0084, allocations: 4.375 kB / 395.7 MB, free: 1.18 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.008407, allocations: 8.125 kB / 395.7 MB, free: 1.172 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000199/0.008606, allocations: 208.8 kB / 395.9 MB, free: 0.9688 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007198/0.009326, allocations: 0.6089 MB / 396.5 MB, free: 324 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003798/0.009706, allocations: 282.3 kB / 396.8 MB, free: 32 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001349/0.009841, allocations: 121.3 kB / 396.9 MB, free: 15.91 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.994e-05/0.00988, allocations: 15.78 kB / 396.9 MB, free: 15.89 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/0.009901, allocations: 34.56 kB / 397 MB, free: 15.85 MB / 330.7 MB Notification: Performance of pre-optimization done (n=23): time 1.643e-06/0.009903, allocations: 4 kB / 397 MB, free: 15.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=23): time 0.001142/0.01104, allocations: 0.6471 MB / 397.6 MB, free: 15.19 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.124e-05/0.01108, allocations: 55.41 kB / 397.7 MB, free: 15.12 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.01121, allocations: 175 kB / 397.8 MB, free: 14.94 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.01123, allocations: 37.69 kB / 397.9 MB, free: 14.9 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.707e-05/0.01128, allocations: 120.5 kB / 398 MB, free: 14.78 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.778e-05/0.01132, allocations: 83.28 kB / 398.1 MB, free: 14.7 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.01e-05/0.01138, allocations: 57.69 kB / 398.1 MB, free: 14.64 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.95e-05/0.01145, allocations: 322.8 kB / 398.4 MB, free: 14.31 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001208/0.01157, allocations: 127.9 kB / 398.6 MB, free: 14.19 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001143/0.01169, allocations: 132 kB / 398.7 MB, free: 14.06 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002559/0.01194, allocations: 277.9 kB / 399 MB, free: 13.79 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.01194, allocations: 3.938 kB / 399 MB, free: 13.78 MB / 330.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005579/0.0125, allocations: 474 kB / 399.4 MB, free: 13.31 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.01252, allocations: 4 kB / 399.4 MB, free: 13.3 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.01252, allocations: 0 / 399.4 MB, free: 13.3 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004285/0.01295, allocations: 188.6 kB / 399.6 MB, free: 13.12 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.088e-05/0.01303, allocations: 39.98 kB / 399.7 MB, free: 13.08 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001912/0.01494, allocations: 2.205 MB / 401.9 MB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.882e-05/0.01503, allocations: 27.78 kB / 401.9 MB, free: 10.74 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.419e-05/0.01505, allocations: 8 kB / 401.9 MB, free: 10.73 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 (23): * Single equations (assignments): 22 * 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 {(3,7)} Notification: Performance of prepare postOptimizeDAE: time 9.906e-05/0.01514, allocations: 141.7 kB / 402 MB, free: 10.58 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.806e-05/0.01517, allocations: 15.91 kB / 402.1 MB, free: 10.57 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006235/0.0158, allocations: 464.6 kB / 402.5 MB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-06/0.0158, allocations: 4 kB / 402.5 MB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-06/0.0158, allocations: 0 / 402.5 MB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.0158, allocations: 0 / 402.5 MB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008363/0.01664, allocations: 0.7757 MB / 403.3 MB, free: 9.27 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.01664, allocations: 0 / 403.3 MB, free: 9.27 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.86e-05/0.01669, allocations: 31.92 kB / 403.3 MB, free: 9.238 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003629/0.01705, allocations: 168.7 kB / 403.5 MB, free: 9.07 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.01707, allocations: 4 kB / 403.5 MB, free: 9.066 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001651/0.01872, allocations: 2.205 MB / 405.7 MB, free: 6.754 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01872, allocations: 0 / 405.7 MB, free: 6.754 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005653/0.01928, allocations: 0.5164 MB / 406.2 MB, free: 6.219 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.748e-05/0.0193, allocations: 15.84 kB / 406.2 MB, free: 6.203 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/0.01932, allocations: 11.94 kB / 406.2 MB, free: 6.191 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.894e-05/0.01941, allocations: 11.98 kB / 406.3 MB, free: 6.18 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.096e-05/0.01946, allocations: 19.97 kB / 406.3 MB, free: 6.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.01947, allocations: 8 kB / 406.3 MB, free: 6.152 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.412e-05/0.01955, allocations: 139.2 kB / 406.4 MB, free: 6.016 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01955, allocations: 0 / 406.4 MB, free: 6.016 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002581/0.01981, allocations: 79.94 kB / 406.5 MB, free: 5.938 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 (16): * Single equations (assignments): 15 * 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 {(3,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008402/0.02065, allocations: 1.069 MB / 407.6 MB, free: 4.836 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006058/0.02126, allocations: 478.4 kB / 408 MB, free: 4.355 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.02126, allocations: 3.938 kB / 408 MB, free: 4.352 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003229/0.02158, allocations: 326.4 kB / 408.4 MB, free: 4.02 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002219/0.02181, allocations: 27.88 kB / 408.4 MB, free: 3.992 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002539/0.02434, allocations: 2.74 MB / 411.1 MB, free: 1.164 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.671e-05/0.02444, allocations: 117.1 kB / 411.2 MB, free: 1.031 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.393e-05/0.02451, allocations: 21.62 kB / 411.3 MB, free: 1.008 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.053e-05/0.02458, allocations: 56.48 kB / 411.3 MB, free: 0.9531 MB / 330.7 MB Notification: Performance of SimCode: time 5.61e-07/0.02458, allocations: 192 / 411.3 MB, free: 0.9531 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1718/0.1964, allocations: 7.333 MB / 418.6 MB, free: 32.36 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.786/7.982, allocations: 5.078 kB / 418.6 MB, free: 32.36 MB / 330.7 MB " [Timeout remaining time 652] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank_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_OneSourceOneLineOneLoadOneBank.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.834899017587304] Failed to read output from testmodel.py, exit status != 0: 8.074218848720193 8.082428497 8.074288946 Calling exit ...