Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.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.0006705/0.0006705, allocations: 80.53 kB / 19.97 MB, free: 4.59 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.0007828/0.0007828, allocations: 173.9 kB / 23.25 MB, free: 1.309 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.9375/0.9375, allocations: 177.1 MB / 203.5 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.02658/0.02658, allocations: 4.467 MB / 264.5 MB, free: 8.75 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.ExampleWithFMUs.MVLVNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetwork",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetwork",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.42e-07/9.42e-07, allocations: 0 / 389.6 MB, free: 7.387 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.514e-05/1.608e-05, allocations: 2.281 kB / 389.6 MB, free: 7.383 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork): time 0.002565/0.002581, allocations: 2.839 MB / 392.5 MB, free: 4.539 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003192/0.005773, allocations: 1.843 MB / 394.3 MB, free: 2.68 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000221/0.005994, allocations: 8 kB / 394.3 MB, free: 2.672 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003564/0.00635, allocations: 202.6 kB / 394.5 MB, free: 2.473 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005889/0.006939, allocations: 333.6 kB / 394.8 MB, free: 2.145 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001371/0.008311, allocations: 1.182 MB / 396 MB, free: 0.9609 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009118/0.009222, allocations: 0.6683 MB / 396.7 MB, free: 296 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001944/0.009417, allocations: 135.7 kB / 396.8 MB, free: 160 kB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003518/0.009769, allocations: 387.2 kB / 397.2 MB, free: 15.77 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002381/0.01001, allocations: 259.2 kB / 397.4 MB, free: 15.52 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.038e-05/0.01006, allocations: 52 kB / 397.5 MB, free: 15.47 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004394/0.0105, allocations: 283.5 kB / 397.8 MB, free: 15.19 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.376e-05/0.01057, allocations: 139.4 kB / 397.9 MB, free: 15.05 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001413/0.01071, allocations: 211.4 kB / 398.1 MB, free: 14.85 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008369/0.01155, allocations: 0.8413 MB / 399 MB, free: 14 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.01155, allocations: 3.984 kB / 399 MB, free: 14 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.123e-06/0.01155, allocations: 0 / 399 MB, free: 14 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.874e-06/0.01156, allocations: 0 / 399 MB, free: 14 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.003755/0.01532, allocations: 1.819 MB / 400.8 MB, free: 12.14 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.01535, allocations: 8.031 kB / 400.8 MB, free: 12.14 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.272e-05/0.01544, allocations: 78.72 kB / 400.9 MB, free: 12.05 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001277/0.01557, allocations: 84.44 kB / 400.9 MB, free: 11.97 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004031/0.01598, allocations: 359.8 kB / 401.3 MB, free: 11.59 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/0.016, allocations: 37.38 kB / 401.3 MB, free: 11.55 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.697e-05/0.01605, allocations: 52.38 kB / 401.4 MB, free: 11.5 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008614/0.01692, allocations: 1.093 MB / 402.5 MB, free: 10.31 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.01692, allocations: 192 / 402.5 MB, free: 10.31 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.847e-05/0.01696, allocations: 16.38 kB / 402.5 MB, free: 10.29 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.01697, allocations: 16.12 kB / 402.5 MB, free: 10.28 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006606/0.01763, allocations: 0.6755 MB / 403.2 MB, free: 9.602 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001882/0.01951, allocations: 1.671 MB / 404.9 MB, free: 7.879 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008137/0.02033, allocations: 0.7933 MB / 405.6 MB, free: 7.082 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004103/0.02074, allocations: 426.7 kB / 406.1 MB, free: 6.664 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.548e-05/0.02079, allocations: 12.64 kB / 406.1 MB, free: 6.652 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.02082, allocations: 43.22 kB / 406.1 MB, free: 6.598 MB / 330.7 MB Notification: Performance of pre-optimization done (n=73): time 1.453e-06/0.02082, allocations: 8 kB / 406.1 MB, free: 6.59 MB / 330.7 MB Notification: Performance of matching and sorting (n=73): time 0.006006/0.02683, allocations: 3.101 MB / 409.2 MB, free: 3.477 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.031e-05/0.02691, allocations: 111.5 kB / 409.3 MB, free: 3.34 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003146/0.02722, allocations: 385.4 kB / 409.7 MB, free: 2.957 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.314e-05/0.02727, allocations: 45.7 kB / 409.8 MB, free: 2.906 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.02738, allocations: 209.5 kB / 410 MB, free: 2.699 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001382/0.02752, allocations: 257.7 kB / 410.2 MB, free: 2.445 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001835/0.0277, allocations: 154.6 kB / 410.4 MB, free: 2.285 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.02781, allocations: 362.8 kB / 410.7 MB, free: 1.922 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004596/0.02827, allocations: 465.9 kB / 411.2 MB, free: 1.469 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005478/0.02881, allocations: 0.5867 MB / 411.8 MB, free: 0.8633 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1755/0.2043, allocations: 1.031 MB / 412.8 MB, free: 33.11 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.668e-06/0.2043, allocations: 0 / 412.8 MB, free: 33.11 MB / 330.7 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.003547/0.2079, allocations: 1.983 MB / 414.8 MB, free: 32.74 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.2079, allocations: 5.25 kB / 414.8 MB, free: 32.74 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.2079, allocations: 0 / 414.8 MB, free: 32.74 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003186/0.2111, allocations: 1.463 MB / 416.2 MB, free: 32.55 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000293/0.2114, allocations: 126.2 kB / 416.4 MB, free: 32.54 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006539/0.2179, allocations: 6.01 MB / 422.4 MB, free: 28.93 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003317/0.2183, allocations: 79.62 kB / 422.5 MB, free: 28.89 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.528e-05/0.2183, allocations: 34.23 kB / 422.5 MB, free: 28.88 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 (75): * Single equations (assignments): 74 * 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 {(16,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0001894/0.2185, allocations: 190.3 kB / 422.7 MB, free: 28.71 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.982e-05/0.2186, allocations: 61.69 kB / 422.7 MB, free: 28.68 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00307/0.2217, allocations: 1.953 MB / 424.7 MB, free: 27.92 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/0.2217, allocations: 8.406 kB / 424.7 MB, free: 27.92 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.2217, allocations: 4.031 kB / 424.7 MB, free: 27.92 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-06/0.2217, allocations: 5.109 kB / 424.7 MB, free: 27.92 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003488/0.2252, allocations: 2.596 MB / 427.3 MB, free: 26.75 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.2252, allocations: 0 / 427.3 MB, free: 26.75 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001698/0.2253, allocations: 96.33 kB / 427.4 MB, free: 26.73 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002688/0.228, allocations: 1.283 MB / 428.7 MB, free: 26.52 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.646e-05/0.2281, allocations: 19.97 kB / 428.7 MB, free: 26.51 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006157/0.2342, allocations: 5.935 MB / 434.6 MB, free: 22.85 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.2342, allocations: 2.297 kB / 434.6 MB, free: 22.85 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002481/0.2367, allocations: 1.913 MB / 436.5 MB, free: 21.86 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.709e-05/0.2368, allocations: 66 kB / 436.6 MB, free: 21.83 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.834e-05/0.2368, allocations: 19.78 kB / 436.6 MB, free: 21.82 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002554/0.2371, allocations: 50.3 kB / 436.7 MB, free: 21.77 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.2372, allocations: 64.88 kB / 436.7 MB, free: 21.7 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.274e-05/0.2372, allocations: 31.98 kB / 436.8 MB, free: 21.67 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001636/0.2374, allocations: 255.2 kB / 437 MB, free: 21.43 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2374, allocations: 0 / 437 MB, free: 21.43 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005358/0.2379, allocations: 279.9 kB / 437.3 MB, free: 21.16 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 (56): * Single equations (assignments): 55 * 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 {(16,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002614/0.2405, allocations: 2.492 MB / 439.8 MB, free: 18.64 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001948/0.2425, allocations: 1.586 MB / 441.4 MB, free: 17.05 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2425, allocations: 4 kB / 441.4 MB, free: 17.04 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001281/0.2437, allocations: 1.054 MB / 442.4 MB, free: 15.99 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000355/0.2441, allocations: 68.64 kB / 442.5 MB, free: 15.93 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007945/0.252, allocations: 7.773 MB / 450.3 MB, free: 8.078 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001398/0.2522, allocations: 278 kB / 450.5 MB, free: 7.781 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001539/0.2523, allocations: 80.34 kB / 450.6 MB, free: 7.699 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001558/0.2525, allocations: 196.4 kB / 450.8 MB, free: 7.508 MB / 330.7 MB Notification: Performance of SimCode: time 8.42e-07/0.2525, allocations: 0 / 450.8 MB, free: 7.508 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03224/0.2847, allocations: 24.4 MB / 475.2 MB, free: 15.34 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.255/8.54, allocations: 0 / 475.2 MB, free: 15.34 MB / 362.7 MB " [Timeout remaining time 651] (rm -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork_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_ExampleWithFMUs_MVLVNetwork.fmu > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.444204200990498] Failed to read output from testmodel.py, exit status != 0: 8.638784029521048 8.649930836 8.63676778 Calling exit ...