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.00129/0.00129, allocations: 115.5 kB / 19.74 MB, free: 2.152 MB / 14.72 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.001422/0.001422, allocations: 218.9 kB / 23.05 MB, free: 5 MB / 14.72 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 1.48/1.48, allocations: 230.6 MB / 256.8 MB, free: 8.059 MB / 206.1 MB " [Timeout remaining time 178] 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.03913/0.03913, allocations: 6.134 MB / 319.4 MB, free: 13.01 MB / 254.1 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 0.001575/0.001575, allocations: 55.91 kB / 444.5 MB, free: 5.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1086, allocations: 55.03 MB / 499.5 MB, free: 14.33 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork): time 0.004668/0.1132, allocations: 3.245 MB / 0.491 GB, free: 11.08 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003183/0.1164, allocations: 1.921 MB / 0.4929 GB, free: 9.145 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002078/0.1166, allocations: 8 kB / 0.4929 GB, free: 9.137 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005199/0.1171, allocations: 202.8 kB / 0.4931 GB, free: 8.938 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007181/0.1178, allocations: 321.9 kB / 0.4934 GB, free: 8.621 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002723/0.1206, allocations: 1.288 MB / 0.4946 GB, free: 7.332 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009113/0.1215, allocations: 0.6376 MB / 0.4953 GB, free: 6.691 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002818/0.1218, allocations: 147.6 kB / 0.4954 GB, free: 6.543 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000293/0.1221, allocations: 278.9 kB / 0.4957 GB, free: 6.27 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000509/0.1226, allocations: 342.6 kB / 0.496 GB, free: 5.934 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.43e-05/0.1227, allocations: 48 kB / 0.496 GB, free: 5.887 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000564/0.1232, allocations: 299.7 kB / 0.4963 GB, free: 5.594 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001383/0.1234, allocations: 135.5 kB / 0.4965 GB, free: 5.461 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003806/0.1237, allocations: 310.4 kB / 0.4968 GB, free: 5.156 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001197/0.1249, allocations: 0.8211 MB / 0.4976 GB, free: 4.332 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1249, allocations: 0 / 0.4976 GB, free: 4.332 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1249, allocations: 0 / 0.4976 GB, free: 4.332 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.929e-06/0.1249, allocations: 0 / 0.4976 GB, free: 4.332 MB / 366.1 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.007801/0.1327, allocations: 1.819 MB / 0.4993 GB, free: 2.477 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.411e-05/0.1328, allocations: 8.031 kB / 0.4993 GB, free: 2.469 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000126/0.1329, allocations: 90.64 kB / 0.4994 GB, free: 2.371 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001619/0.1331, allocations: 72.52 kB / 0.4995 GB, free: 2.301 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006692/0.1338, allocations: 368.4 kB / 0.4998 GB, free: 1.914 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.01e-05/0.1338, allocations: 41.38 kB / 0.4999 GB, free: 1.875 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.425e-05/0.1339, allocations: 48.38 kB / 0.4999 GB, free: 1.828 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001385/0.1353, allocations: 0.7298 MB / 0.5006 GB, free: 1.082 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.1353, allocations: 3.938 kB / 0.5006 GB, free: 1.078 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.297e-05/0.1354, allocations: 20 kB / 0.5007 GB, free: 1.059 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/0.1354, allocations: 8 kB / 0.5007 GB, free: 1.051 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001254/0.1366, allocations: 0.6833 MB / 0.5013 GB, free: 376 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004261/0.1409, allocations: 2.202 MB / 0.5035 GB, free: 14.04 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001503/0.1424, allocations: 0.7895 MB / 0.5043 GB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007025/0.1431, allocations: 426.7 kB / 0.5047 GB, free: 12.83 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001112/0.1432, allocations: 24.56 kB / 0.5047 GB, free: 12.8 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.065e-05/0.1433, allocations: 43.22 kB / 0.5047 GB, free: 12.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=73): time 3.095e-06/0.1433, allocations: 0 / 0.5047 GB, free: 12.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=73): time 0.01281/0.1561, allocations: 3.113 MB / 0.5078 GB, free: 9.629 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.306e-05/0.1562, allocations: 115.5 kB / 0.5079 GB, free: 9.488 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005522/0.1567, allocations: 373.6 kB / 0.5082 GB, free: 9.121 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000111/0.1568, allocations: 41.7 kB / 0.5083 GB, free: 9.074 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001951/0.157, allocations: 209.6 kB / 0.5085 GB, free: 8.863 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002566/0.1573, allocations: 257.7 kB / 0.5087 GB, free: 8.609 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002945/0.1576, allocations: 158.6 kB / 0.5089 GB, free: 8.445 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002538/0.1578, allocations: 366.8 kB / 0.5092 GB, free: 8.078 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007814/0.1586, allocations: 469.8 kB / 0.5097 GB, free: 7.621 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009617/0.1596, allocations: 0.5325 MB / 0.5102 GB, free: 7.082 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001652/0.1612, allocations: 1.033 MB / 0.5112 GB, free: 6.047 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.1612, allocations: 0 / 0.5112 GB, free: 6.047 MB / 382.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.005904/0.1671, allocations: 1.984 MB / 0.5131 GB, free: 4.051 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.7e-05/0.1671, allocations: 4 kB / 0.5131 GB, free: 4.047 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.1672, allocations: 3.938 kB / 0.5132 GB, free: 4.043 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006165/0.1733, allocations: 1.464 MB / 0.5146 GB, free: 2.574 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005977/0.1739, allocations: 123.9 kB / 0.5147 GB, free: 2.453 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2128/0.3868, allocations: 6.185 MB / 0.5207 GB, free: 28.19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007158/0.3875, allocations: 80.23 kB / 0.5208 GB, free: 28.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.826e-05/0.3875, allocations: 30.77 kB / 0.5208 GB, free: 28.16 MB / 382.1 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.0002887/0.3878, allocations: 186.3 kB / 0.521 GB, free: 28.05 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001228/0.388, allocations: 58.45 kB / 0.5211 GB, free: 28.02 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005596/0.3936, allocations: 1.954 MB / 0.523 GB, free: 27.82 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.6e-05/0.3936, allocations: 13.28 kB / 0.523 GB, free: 27.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.3936, allocations: 0 / 0.523 GB, free: 27.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.643e-05/0.3936, allocations: 5.531 kB / 0.523 GB, free: 27.82 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006688/0.4003, allocations: 2.781 MB / 0.5257 GB, free: 26.63 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.193e-06/0.4003, allocations: 1.062 kB / 0.5257 GB, free: 26.63 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003437/0.4006, allocations: 94.55 kB / 0.5258 GB, free: 26.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005589/0.4062, allocations: 1.285 MB / 0.5271 GB, free: 26.45 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001037/0.4063, allocations: 18.03 kB / 0.5271 GB, free: 26.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01064/0.417, allocations: 6.109 MB / 0.533 GB, free: 22.73 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.417, allocations: 2.75 kB / 0.5331 GB, free: 22.73 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005371/0.4223, allocations: 1.91 MB / 0.5349 GB, free: 21.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001849/0.4225, allocations: 69.12 kB / 0.535 GB, free: 21.89 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/0.4226, allocations: 16.16 kB / 0.535 GB, free: 21.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005756/0.4232, allocations: 50.02 kB / 0.535 GB, free: 21.86 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002899/0.4235, allocations: 65.44 kB / 0.5351 GB, free: 21.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.71e-05/0.4236, allocations: 26.61 kB / 0.5351 GB, free: 21.85 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003194/0.4239, allocations: 257.7 kB / 0.5354 GB, free: 21.71 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4239, allocations: 0 / 0.5354 GB, free: 21.71 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001012/0.4249, allocations: 279.1 kB / 0.5356 GB, free: 21.68 MB / 382.1 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.005348/0.4302, allocations: 2.492 MB / 0.5381 GB, free: 20.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003937/0.4342, allocations: 1.598 MB / 0.5396 GB, free: 19.66 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.491e-06/0.4342, allocations: 1.25 kB / 0.5396 GB, free: 19.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003207/0.4374, allocations: 1.056 MB / 0.5407 GB, free: 19.2 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007526/0.4381, allocations: 64.89 kB / 0.5407 GB, free: 19.16 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01556/0.4537, allocations: 7.756 MB / 0.5483 GB, free: 15.14 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00028/0.454, allocations: 0.8767 MB / 0.5492 GB, free: 14.36 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002992/0.4543, allocations: 86.2 kB / 0.5492 GB, free: 14.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002163/0.4545, allocations: 194.9 kB / 0.5494 GB, free: 14.16 MB / 382.1 MB Notification: Performance of SimCode: time 1.363e-06/0.4545, allocations: 0 / 0.5494 GB, free: 14.16 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0691/0.5236, allocations: 24.63 MB / 0.5735 GB, free: 6.836 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.87/14.39, allocations: 8 kB / 0.5735 GB, free: 6.828 MB / 398.1 MB " [Timeout remaining time 645] (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: 17.1851300529961] Failed to read output from testmodel.py, exit status != 0: 14.520234249997884 14.549911603 14.419709423 Calling exit ...