Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.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.0009575/0.0009575, 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.001142/0.001142, 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.943/0.943, allocations: 177.1 MB / 203.5 MB, free: 5.719 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.02598/0.02598, allocations: 4.465 MB / 264.4 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.ExampleWithFMUs.MVPartOfMVLVNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVPartOfMVLVNetwork",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVPartOfMVLVNetwork",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 389.6 MB, free: 7.379 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.175e-05/2.361e-05, allocations: 2.281 kB / 389.6 MB, free: 7.375 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork): time 0.002476/0.0025, allocations: 1.875 MB / 391.5 MB, free: 5.5 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002121/0.00462, allocations: 1.516 MB / 393 MB, free: 3.969 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001202/0.004741, allocations: 4 kB / 393 MB, free: 3.965 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003918/0.005132, allocations: 135.1 kB / 393.1 MB, free: 3.832 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004013/0.005534, allocations: 170.8 kB / 393.3 MB, free: 3.664 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001211/0.006745, allocations: 0.9723 MB / 394.3 MB, free: 2.688 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003906/0.007135, allocations: 314.4 kB / 394.6 MB, free: 2.379 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001699/0.007305, allocations: 76.66 kB / 394.7 MB, free: 2.305 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001646/0.00747, allocations: 187.5 kB / 394.8 MB, free: 2.121 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001172/0.007587, allocations: 111.6 kB / 395 MB, free: 2.012 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.425e-05/0.007621, allocations: 24 kB / 395 MB, free: 1.988 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004822/0.008103, allocations: 247.6 kB / 395.2 MB, free: 1.746 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.812e-05/0.008162, allocations: 59.77 kB / 395.3 MB, free: 1.688 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 8.504e-05/0.008247, allocations: 99.75 kB / 395.4 MB, free: 1.59 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005373/0.008784, allocations: 0.514 MB / 395.9 MB, free: 1.074 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.008789, allocations: 4 kB / 395.9 MB, free: 1.07 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.00879, allocations: 0 / 395.9 MB, free: 1.07 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.008796, allocations: 0 / 395.9 MB, free: 1.07 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.002228/0.01102, allocations: 1.07 MB / 397 MB, free: 15.96 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/0.01107, allocations: 16.03 kB / 397 MB, free: 15.95 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.447e-05/0.01117, allocations: 67.17 kB / 397 MB, free: 15.88 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.092e-05/0.01123, allocations: 32.75 kB / 397.1 MB, free: 15.84 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002396/0.01147, allocations: 221.2 kB / 397.3 MB, free: 15.6 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.01149, allocations: 24.88 kB / 397.3 MB, free: 15.58 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.681e-05/0.01152, allocations: 28.38 kB / 397.3 MB, free: 15.55 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004954/0.01202, allocations: 0.5045 MB / 397.9 MB, free: 15 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.01203, allocations: 192 / 397.9 MB, free: 15 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.759e-05/0.01206, allocations: 12.31 kB / 397.9 MB, free: 14.99 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.01207, allocations: 12.12 kB / 397.9 MB, free: 14.98 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003671/0.01243, allocations: 325.9 kB / 398.2 MB, free: 14.66 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001376/0.01381, allocations: 0.8998 MB / 399.1 MB, free: 13.71 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006771/0.01449, allocations: 362.7 kB / 399.4 MB, free: 13.35 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001986/0.01468, allocations: 176.8 kB / 399.6 MB, free: 13.18 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.401e-05/0.01474, allocations: 4 kB / 399.6 MB, free: 13.17 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.01476, allocations: 34.56 kB / 399.7 MB, free: 13.13 MB / 330.7 MB Notification: Performance of pre-optimization done (n=29): time 1.283e-06/0.01476, allocations: 0 / 399.7 MB, free: 13.13 MB / 330.7 MB Notification: Performance of matching and sorting (n=29): time 0.002585/0.01735, allocations: 1.1 MB / 400.8 MB, free: 12.02 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.746e-05/0.01742, allocations: 106.8 kB / 400.9 MB, free: 11.89 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002002/0.01762, allocations: 224 kB / 401.1 MB, free: 11.65 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.866e-05/0.01766, allocations: 37.64 kB / 401.1 MB, free: 11.61 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.183e-05/0.01775, allocations: 160.7 kB / 401.3 MB, free: 11.45 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.57e-05/0.01781, allocations: 107.1 kB / 401.4 MB, free: 11.34 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.01792, allocations: 86.12 kB / 401.5 MB, free: 11.25 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.968e-05/0.01801, allocations: 334.8 kB / 401.8 MB, free: 10.91 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002301/0.01824, allocations: 212.9 kB / 402 MB, free: 10.71 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002694/0.01851, allocations: 308.2 kB / 402.3 MB, free: 10.38 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005011/0.01901, allocations: 474.1 kB / 402.8 MB, free: 9.914 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.01901, allocations: 0 / 402.8 MB, free: 9.914 MB / 330.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.00129/0.0203, allocations: 0.8423 MB / 403.6 MB, free: 9.055 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.02032, allocations: 4 kB / 403.6 MB, free: 9.051 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/0.02033, allocations: 4 kB / 403.6 MB, free: 9.047 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001141/0.02147, allocations: 441.2 kB / 404 MB, free: 8.609 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001777/0.02165, allocations: 71.89 kB / 404.1 MB, free: 8.539 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003774/0.02542, allocations: 3.884 MB / 408 MB, free: 4.426 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002337/0.02566, allocations: 39.67 kB / 408 MB, free: 4.387 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.513e-05/0.02568, allocations: 15.98 kB / 408.1 MB, free: 4.371 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001676/0.02585, allocations: 153.7 kB / 408.2 MB, free: 4.211 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.236e-05/0.02589, allocations: 27.95 kB / 408.2 MB, free: 4.184 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001287/0.02718, allocations: 0.779 MB / 409 MB, free: 3.391 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.02718, allocations: 4 kB / 409 MB, free: 3.387 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.02719, allocations: 7.984 kB / 409 MB, free: 3.379 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.02719, allocations: 0 / 409 MB, free: 3.379 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003028/0.0275, allocations: 332.5 kB / 409.3 MB, free: 3.012 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.768e-06/0.0275, allocations: 3.938 kB / 409.3 MB, free: 3.008 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.571e-05/0.0276, allocations: 43.92 kB / 409.4 MB, free: 2.965 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001054/0.02865, allocations: 437.2 kB / 409.8 MB, free: 2.531 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.337e-05/0.02867, allocations: 8 kB / 409.8 MB, free: 2.523 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1667/0.1953, allocations: 3.867 MB / 413.7 MB, free: 31.84 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.1953, allocations: 0 / 413.7 MB, free: 31.84 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001353/0.1967, allocations: 0.8192 MB / 414.5 MB, free: 31.69 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.105e-05/0.1967, allocations: 28.81 kB / 414.5 MB, free: 31.69 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.172e-05/0.1968, allocations: 7.547 kB / 414.5 MB, free: 31.69 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000147/0.1969, allocations: 17.02 kB / 414.6 MB, free: 31.69 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.058e-05/0.197, allocations: 29.83 kB / 414.6 MB, free: 31.69 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.221e-05/0.197, allocations: 12.62 kB / 414.6 MB, free: 31.69 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001143/0.1971, allocations: 156.2 kB / 414.8 MB, free: 31.61 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1971, allocations: 0 / 414.8 MB, free: 31.61 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004268/0.1976, allocations: 135.4 kB / 414.9 MB, free: 31.61 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 (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001701/0.1993, allocations: 1.624 MB / 416.5 MB, free: 30.73 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001132/0.2004, allocations: 0.7699 MB / 417.3 MB, free: 30.32 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2004, allocations: 1 kB / 417.3 MB, free: 30.32 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006745/0.2011, allocations: 0.543 MB / 417.8 MB, free: 30 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002293/0.2013, allocations: 24.06 kB / 417.9 MB, free: 29.98 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00422/0.2055, allocations: 3.863 MB / 421.7 MB, free: 27.71 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000135/0.2057, allocations: 160.4 kB / 421.9 MB, free: 27.64 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 9.628e-05/0.2058, allocations: 35.17 kB / 421.9 MB, free: 27.63 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.76e-05/0.2059, allocations: 94.53 kB / 422 MB, free: 27.57 MB / 330.7 MB Notification: Performance of SimCode: time 9.81e-07/0.2059, allocations: 0 / 422 MB, free: 27.57 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03169/0.2375, allocations: 10.72 MB / 432.7 MB, free: 23.87 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.158/7.395, allocations: 9.844 kB / 432.7 MB, free: 23.86 MB / 330.7 MB " [Timeout remaining time 653] (rm -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork_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_MVPartOfMVLVNetwork.fmu > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.302551570348442] Failed to read output from testmodel.py, exit status != 0: 7.480727997608483 7.493300073 7.482242695 Calling exit ...