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.001579/0.001579, allocations: 113.8 kB / 17.17 MB, free: 5.855 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.001845/0.001845, allocations: 212 kB / 20.14 MB, free: 2.898 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.5/1.5, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.03676/0.03676, allocations: 6.137 MB / 315.7 MB, free: 1.16 MB / 238.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.001452/0.001452, allocations: 49.8 kB / 439.2 MB, free: 40.98 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08885/0.0903, allocations: 54.99 MB / 494.2 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork): time 0.003087/0.09339, allocations: 3.253 MB / 497.5 MB, free: 7.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00197/0.09536, allocations: 1.91 MB / 499.4 MB, free: 5.414 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001644/0.09552, allocations: 8 kB / 499.4 MB, free: 5.406 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003916/0.09591, allocations: 202.7 kB / 499.6 MB, free: 5.207 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005006/0.09642, allocations: 318 kB / 499.9 MB, free: 4.895 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001768/0.09818, allocations: 1.272 MB / 0.4894 GB, free: 3.621 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005434/0.09873, allocations: 0.6375 MB / 0.4901 GB, free: 2.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002132/0.09894, allocations: 143.1 kB / 0.4902 GB, free: 2.832 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001627/0.0991, allocations: 278.9 kB / 0.4905 GB, free: 2.559 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003059/0.09941, allocations: 338.5 kB / 0.4908 GB, free: 2.227 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.914e-05/0.09947, allocations: 52 kB / 0.4908 GB, free: 2.176 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004192/0.09989, allocations: 307.8 kB / 0.4911 GB, free: 1.875 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.711e-05/0.09995, allocations: 131.5 kB / 0.4913 GB, free: 1.746 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001688/0.1001, allocations: 310.4 kB / 0.4915 GB, free: 1.441 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006418/0.1008, allocations: 0.8211 MB / 0.4923 GB, free: 0.6172 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.1008, allocations: 0 / 0.4923 GB, free: 0.6172 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1008, allocations: 0 / 0.4923 GB, free: 0.6172 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.125e-06/0.1008, allocations: 0 / 0.4923 GB, free: 0.6172 MB / 350.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.007493/0.1083, allocations: 1.894 MB / 0.4942 GB, free: 14.66 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.1083, allocations: 12.03 kB / 0.4942 GB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001303/0.1084, allocations: 82.7 kB / 0.4943 GB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001551/0.1086, allocations: 72.56 kB / 0.4944 GB, free: 14.49 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000621/0.1092, allocations: 426.2 kB / 0.4948 GB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.35e-05/0.1093, allocations: 37.38 kB / 0.4948 GB, free: 14 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/0.1094, allocations: 56.31 kB / 0.4949 GB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001242/0.1106, allocations: 0.7182 MB / 0.4956 GB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.1106, allocations: 3.938 kB / 0.4956 GB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.982e-05/0.1107, allocations: 19.98 kB / 0.4956 GB, free: 13.19 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.1107, allocations: 16 kB / 0.4956 GB, free: 13.18 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001164/0.1119, allocations: 0.6599 MB / 0.4962 GB, free: 12.52 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004074/0.1159, allocations: 2.227 MB / 0.4984 GB, free: 10.16 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001532/0.1175, allocations: 1.008 MB / 0.4994 GB, free: 9.094 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006858/0.1182, allocations: 422.7 kB / 0.4998 GB, free: 8.68 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001049/0.1183, allocations: 16.62 kB / 0.4998 GB, free: 8.664 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.263e-05/0.1183, allocations: 47.22 kB / 0.4999 GB, free: 8.609 MB / 366.1 MB Notification: Performance of pre-optimization done (n=73): time 3.056e-06/0.1183, allocations: 0 / 0.4999 GB, free: 8.609 MB / 366.1 MB Notification: Performance of matching and sorting (n=73): time 0.01265/0.131, allocations: 3.167 MB / 0.503 GB, free: 5.414 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.086e-05/0.1311, allocations: 115.5 kB / 0.5031 GB, free: 5.277 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005271/0.1316, allocations: 377.5 kB / 0.5034 GB, free: 4.902 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000103/0.1317, allocations: 45.7 kB / 0.5035 GB, free: 4.852 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001736/0.1319, allocations: 209.5 kB / 0.5037 GB, free: 4.641 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002469/0.1321, allocations: 257.7 kB / 0.5039 GB, free: 4.387 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002947/0.1324, allocations: 154.6 kB / 0.5041 GB, free: 4.23 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001784/0.1326, allocations: 362.8 kB / 0.5044 GB, free: 3.867 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007542/0.1333, allocations: 465.8 kB / 0.5049 GB, free: 3.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008216/0.1342, allocations: 0.5287 MB / 0.5054 GB, free: 2.875 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001634/0.1358, allocations: 1.017 MB / 0.5064 GB, free: 1.855 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.1358, allocations: 0 / 0.5064 GB, free: 1.855 MB / 366.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.00572/0.1415, allocations: 1.976 MB / 0.5083 GB, free: 15.87 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.1415, allocations: 8 kB / 0.5083 GB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.1415, allocations: 0 / 0.5083 GB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00606/0.1476, allocations: 1.468 MB / 0.5097 GB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005741/0.1482, allocations: 123.8 kB / 0.5099 GB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01269/0.1609, allocations: 6.281 MB / 0.516 GB, free: 7.855 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007164/0.1616, allocations: 87.53 kB / 0.5161 GB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.721e-05/0.1617, allocations: 28 kB / 0.5161 GB, free: 7.742 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.0003306/0.162, allocations: 194.1 kB / 0.5163 GB, free: 7.543 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001375/0.1621, allocations: 59.61 kB / 0.5163 GB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005745/0.1679, allocations: 1.94 MB / 0.5182 GB, free: 5.523 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/0.1679, allocations: 8 kB / 0.5182 GB, free: 5.516 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.1679, allocations: 3.984 kB / 0.5182 GB, free: 5.512 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.1679, allocations: 3.984 kB / 0.5182 GB, free: 5.508 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006938/0.1748, allocations: 2.792 MB / 0.521 GB, free: 2.656 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/0.1748, allocations: 0 / 0.521 GB, free: 2.656 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003845/0.1752, allocations: 95.89 kB / 0.5211 GB, free: 2.562 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00583/0.1811, allocations: 1.285 MB / 0.5223 GB, free: 1.273 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000106/0.1812, allocations: 19.98 kB / 0.5223 GB, free: 1.254 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01249/0.1937, allocations: 6.214 MB / 0.5284 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.1937, allocations: 0 / 0.5284 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005572/0.1992, allocations: 1.902 MB / 0.5303 GB, free: 8.973 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001872/0.1994, allocations: 148.7 kB / 0.5304 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/0.1995, allocations: 12 kB / 0.5304 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005834/0.2001, allocations: 47.95 kB / 0.5305 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002371/0.2003, allocations: 56.92 kB / 0.5305 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.561e-05/0.2004, allocations: 27.98 kB / 0.5305 GB, free: 8.664 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003437/0.2007, allocations: 263.1 kB / 0.5308 GB, free: 8.41 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2007, allocations: 0 / 0.5308 GB, free: 8.41 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008592/0.2016, allocations: 279.9 kB / 0.5311 GB, free: 8.137 MB / 398.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.005899/0.2075, allocations: 2.469 MB / 0.5335 GB, free: 5.637 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004388/0.2119, allocations: 1.577 MB / 0.535 GB, free: 4.051 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.2119, allocations: 4 kB / 0.535 GB, free: 4.047 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003093/0.215, allocations: 1.052 MB / 0.536 GB, free: 2.984 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006083/0.2156, allocations: 65.48 kB / 0.5361 GB, free: 2.922 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01696/0.2326, allocations: 7.718 MB / 0.5436 GB, free: 11.11 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005288/0.2331, allocations: 0.8777 MB / 0.5445 GB, free: 10.2 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002863/0.2334, allocations: 72.36 kB / 0.5446 GB, free: 10.12 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003052/0.2337, allocations: 199.4 kB / 0.5448 GB, free: 9.93 MB / 414.1 MB Notification: Performance of SimCode: time 1.253e-06/0.2337, allocations: 0 / 0.5448 GB, free: 9.93 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07689/0.3106, allocations: 23.92 MB / 0.5681 GB, free: 2.168 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.88/13.19, allocations: 5.391 kB / 0.5681 GB, free: 2.168 MB / 430.1 MB " [Timeout remaining time 647] (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: 16.092208810994634] Failed to read output from testmodel.py, exit status != 0: 13.297750223006005 13.31351217 13.209696753 Calling exit ...