Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneLoad.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.001068/0.001068, 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.001028/0.001028, 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.9443/0.9443, allocations: 177.1 MB / 203.6 MB, free: 5.734 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.02375/0.02375, allocations: 4.465 MB / 264.5 MB, free: 8.766 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.Tests.OneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.876e-06/2.876e-06, allocations: 3.984 kB / 389.6 MB, free: 7.434 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.428e-05/1.715e-05, allocations: 2.281 kB / 389.6 MB, free: 7.43 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneLoad): time 0.001562/0.001579, allocations: 0.9641 MB / 390.5 MB, free: 6.469 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001134/0.002713, allocations: 1.108 MB / 391.7 MB, free: 5.348 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.726e-05/0.00276, allocations: 4 kB / 391.7 MB, free: 5.344 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002307/0.002991, allocations: 59.58 kB / 391.7 MB, free: 5.285 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001563/0.003147, allocations: 43.7 kB / 391.8 MB, free: 5.242 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004391/0.003586, allocations: 270 kB / 392 MB, free: 4.98 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001114/0.003698, allocations: 79.59 kB / 392.1 MB, free: 4.902 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.003813, allocations: 19.98 kB / 392.1 MB, free: 4.883 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.59e-05/0.003869, allocations: 47.89 kB / 392.2 MB, free: 4.836 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/0.003993, allocations: 31.89 kB / 392.2 MB, free: 4.805 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.004011, allocations: 8 kB / 392.2 MB, free: 4.797 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001301/0.004141, allocations: 75.78 kB / 392.3 MB, free: 4.723 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.001e-05/0.004161, allocations: 27.91 kB / 392.3 MB, free: 4.695 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.772e-05/0.004189, allocations: 20 kB / 392.3 MB, free: 4.676 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002033/0.004392, allocations: 147.5 kB / 392.5 MB, free: 4.531 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.004394, allocations: 0 / 392.5 MB, free: 4.531 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.004395, allocations: 0 / 392.5 MB, free: 4.531 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.0044, allocations: 0 / 392.5 MB, free: 4.531 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005586/0.004959, allocations: 349.8 kB / 392.8 MB, free: 4.156 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.004992, allocations: 8.031 kB / 392.8 MB, free: 4.148 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.091e-05/0.005023, allocations: 38.75 kB / 392.9 MB, free: 4.102 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.546e-05/0.005048, allocations: 16.88 kB / 392.9 MB, free: 4.086 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.005151, allocations: 125.6 kB / 393 MB, free: 3.938 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.005161, allocations: 4.375 kB / 393 MB, free: 3.934 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.003e-05/0.005171, allocations: 4.375 kB / 393 MB, free: 3.93 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.005304, allocations: 137.6 kB / 393.1 MB, free: 3.777 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.005311, allocations: 192 / 393.1 MB, free: 3.777 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.238e-06/0.00532, allocations: 384 / 393.1 MB, free: 3.777 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.005326, allocations: 8.125 kB / 393.1 MB, free: 3.77 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.868e-05/0.005394, allocations: 59.91 kB / 393.2 MB, free: 3.711 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000371/0.005766, allocations: 311.7 kB / 393.5 MB, free: 3.363 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001805/0.005946, allocations: 74.5 kB / 393.6 MB, free: 3.281 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.498e-05/0.005971, allocations: 16.98 kB / 393.6 MB, free: 3.262 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.2e-05/0.006033, allocations: 7.984 kB / 393.6 MB, free: 3.254 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.802e-05/0.006051, allocations: 34.56 kB / 393.6 MB, free: 3.211 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 9.11e-07/0.006052, allocations: 0 / 393.6 MB, free: 3.211 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003017/0.006354, allocations: 114.4 kB / 393.8 MB, free: 3.09 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.445e-05/0.006378, allocations: 55.41 kB / 393.8 MB, free: 3.023 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.307e-05/0.006471, allocations: 125.8 kB / 393.9 MB, free: 2.891 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.066e-05/0.006482, allocations: 25.7 kB / 394 MB, free: 2.859 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.32e-05/0.006525, allocations: 104.1 kB / 394.1 MB, free: 2.754 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.225e-05/0.006537, allocations: 19.8 kB / 394.1 MB, free: 2.734 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.667e-05/0.006564, allocations: 17.72 kB / 394.1 MB, free: 2.711 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.052e-05/0.006634, allocations: 318.8 kB / 394.4 MB, free: 2.391 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.718e-05/0.006652, allocations: 8 kB / 394.4 MB, free: 2.383 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.609e-05/0.006668, allocations: 12 kB / 394.4 MB, free: 2.371 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.201e-05/0.00671, allocations: 37.16 kB / 394.5 MB, free: 2.332 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.006712, allocations: 4 kB / 394.5 MB, free: 2.328 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000109/0.006821, allocations: 82.53 kB / 394.5 MB, free: 2.238 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.03e-05/0.006831, allocations: 7.938 kB / 394.6 MB, free: 2.23 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.006837, allocations: 3.938 kB / 394.6 MB, free: 2.227 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001389/0.006976, allocations: 24.84 kB / 394.6 MB, free: 2.199 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.151e-05/0.006998, allocations: 8 kB / 394.6 MB, free: 2.191 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007057/0.007703, allocations: 1.271 MB / 395.9 MB, free: 0.8047 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.425e-05/0.007728, allocations: 7.984 kB / 395.9 MB, free: 0.7969 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.007732, allocations: 0 / 395.9 MB, free: 0.7969 MB / 314.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 (4): * Single equations (assignments): 3 * 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 6.639e-05/0.007799, allocations: 117.8 kB / 396 MB, free: 0.6719 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.587e-05/0.007815, allocations: 7.984 kB / 396 MB, free: 0.6641 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001371/0.007952, allocations: 98.58 kB / 396.1 MB, free: 0.5625 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.71e-07/0.007953, allocations: 128 / 396.1 MB, free: 0.5625 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.452e-06/0.007954, allocations: 4 kB / 396.1 MB, free: 0.5586 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.007958, allocations: 3.938 kB / 396.1 MB, free: 0.5547 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001166/0.008075, allocations: 156.7 kB / 396.2 MB, free: 368 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.008076, allocations: 4.375 kB / 396.3 MB, free: 364 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.473e-05/0.00809, allocations: 8.109 kB / 396.3 MB, free: 356 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.694e-05/0.008167, allocations: 32.78 kB / 396.3 MB, free: 320 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.792e-06/0.008174, allocations: 0 / 396.3 MB, free: 320 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006007/0.008775, allocations: 1.275 MB / 397.6 MB, free: 14.92 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.008776, allocations: 0 / 397.6 MB, free: 14.92 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001316/0.008907, allocations: 184.3 kB / 397.7 MB, free: 14.72 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.887e-06/0.008916, allocations: 11.95 kB / 397.8 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.059e-06/0.008921, allocations: 0 / 397.8 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.976e-05/0.008971, allocations: 7.984 kB / 397.8 MB, free: 14.7 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.749e-05/0.008989, allocations: 8.141 kB / 397.8 MB, free: 14.69 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.008992, allocations: 4 kB / 397.8 MB, free: 14.69 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.122e-05/0.009033, allocations: 99.27 kB / 397.9 MB, free: 14.59 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009033, allocations: 0 / 397.9 MB, free: 14.59 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001684/0.009202, allocations: 16 kB / 397.9 MB, free: 14.57 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 (5): * Single equations (assignments): 4 * 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.0003476/0.00955, allocations: 0.721 MB / 398.6 MB, free: 13.82 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002104/0.00976, allocations: 154.6 kB / 398.8 MB, free: 13.66 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.009762, allocations: 0 / 398.8 MB, free: 13.66 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.012e-05/0.009852, allocations: 138.7 kB / 398.9 MB, free: 13.51 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002033/0.01006, allocations: 16.36 kB / 398.9 MB, free: 13.5 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009814/0.01104, allocations: 1.417 MB / 400.3 MB, free: 11.99 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.191e-05/0.01109, allocations: 79.27 kB / 400.4 MB, free: 11.89 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.957e-05/0.01112, allocations: 7.734 kB / 400.4 MB, free: 11.89 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.535e-05/0.01115, allocations: 24.86 kB / 400.4 MB, free: 11.86 MB / 330.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01115, allocations: 0 / 400.4 MB, free: 11.86 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01599/0.02714, allocations: 3.189 MB / 403.6 MB, free: 8.789 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.958/6.985, allocations: 12.59 kB / 403.6 MB, free: 8.785 MB / 330.7 MB " [Timeout remaining time 653] (rm -f PowerSysPro_PowerSysPro.Tests.OneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneLoad.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Tests.OneLoad_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_Tests_OneLoad.fmu > PowerSysPro_PowerSysPro.Tests.OneLoad.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.98462438955903] Failed to read output from testmodel.py, exit status != 0: 7.068046794272959 7.223189102 7.216891001 Calling exit ...