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.001288/0.001288, allocations: 108.3 kB / 19.75 MB, free: 1.879 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.001559/0.001559, allocations: 222.2 kB / 23.03 MB, free: 5.016 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.516/1.516, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.03824/0.03824, allocations: 6.139 MB / 319.4 MB, free: 12.82 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.001561/0.001561, allocations: 47.92 kB / 444.4 MB, free: 5.172 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1211, allocations: 55.02 MB / 499.5 MB, free: 14.05 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork): time 0.004302/0.1254, allocations: 2.828 MB / 0.4905 GB, free: 11.22 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003078/0.1285, allocations: 1.843 MB / 0.4923 GB, free: 9.359 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002294/0.1287, allocations: 12 kB / 0.4923 GB, free: 9.348 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005465/0.1293, allocations: 202.7 kB / 0.4925 GB, free: 9.148 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007897/0.13, allocations: 321.9 kB / 0.4928 GB, free: 8.832 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002533/0.1326, allocations: 1.176 MB / 0.494 GB, free: 7.656 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008898/0.1335, allocations: 0.6337 MB / 0.4946 GB, free: 7.02 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002707/0.1337, allocations: 127.7 kB / 0.4947 GB, free: 6.891 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003014/0.134, allocations: 278.9 kB / 0.495 GB, free: 6.617 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000433/0.1345, allocations: 310.6 kB / 0.4953 GB, free: 6.312 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.751e-05/0.1346, allocations: 52 kB / 0.4953 GB, free: 6.262 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005785/0.1351, allocations: 283.7 kB / 0.4956 GB, free: 5.984 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000141/0.1353, allocations: 131.5 kB / 0.4957 GB, free: 5.855 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002679/0.1355, allocations: 258.7 kB / 0.496 GB, free: 5.602 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001037/0.1366, allocations: 0.8212 MB / 0.4968 GB, free: 4.777 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.1366, allocations: 0 / 0.4968 GB, free: 4.777 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.1366, allocations: 0 / 0.4968 GB, free: 4.777 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.728e-06/0.1366, allocations: 4 kB / 0.4968 GB, free: 4.773 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.007628/0.1442, allocations: 1.819 MB / 0.4985 GB, free: 2.918 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.594e-05/0.1443, allocations: 8.031 kB / 0.4986 GB, free: 2.91 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001293/0.1444, allocations: 86.7 kB / 0.4986 GB, free: 2.816 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001738/0.1446, allocations: 68.52 kB / 0.4987 GB, free: 2.75 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007048/0.1453, allocations: 372.4 kB / 0.4991 GB, free: 2.359 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.871e-05/0.1453, allocations: 41.38 kB / 0.4991 GB, free: 2.32 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.991e-05/0.1454, allocations: 48.38 kB / 0.4991 GB, free: 2.273 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001485/0.1469, allocations: 1.081 MB / 0.5002 GB, free: 1.086 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.221e-05/0.1469, allocations: 7.938 kB / 0.5002 GB, free: 1.078 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.417e-05/0.147, allocations: 20 kB / 0.5002 GB, free: 1.059 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.333e-05/0.147, allocations: 8 kB / 0.5002 GB, free: 1.051 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001102/0.1481, allocations: 0.6794 MB / 0.5009 GB, free: 384 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003603/0.1517, allocations: 1.671 MB / 0.5025 GB, free: 14.65 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001434/0.1532, allocations: 0.7856 MB / 0.5033 GB, free: 13.86 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000667/0.1538, allocations: 434.7 kB / 0.5037 GB, free: 13.44 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.917e-05/0.1539, allocations: 12.64 kB / 0.5037 GB, free: 13.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.872e-05/0.154, allocations: 47.16 kB / 0.5038 GB, free: 13.37 MB / 382.1 MB Notification: Performance of pre-optimization done (n=73): time 2.815e-06/0.154, allocations: 0 / 0.5038 GB, free: 13.37 MB / 382.1 MB Notification: Performance of matching and sorting (n=73): time 0.01219/0.1662, allocations: 3.113 MB / 0.5068 GB, free: 10.25 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.343e-05/0.1663, allocations: 115.5 kB / 0.5069 GB, free: 10.11 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005605/0.1668, allocations: 369.6 kB / 0.5073 GB, free: 9.742 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001426/0.167, allocations: 45.7 kB / 0.5073 GB, free: 9.691 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001907/0.1671, allocations: 209.6 kB / 0.5075 GB, free: 9.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002649/0.1674, allocations: 265.6 kB / 0.5078 GB, free: 9.219 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002885/0.1677, allocations: 158.6 kB / 0.5079 GB, free: 9.055 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001811/0.1679, allocations: 358.8 kB / 0.5083 GB, free: 8.695 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007486/0.1686, allocations: 469.9 kB / 0.5087 GB, free: 8.238 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008635/0.1695, allocations: 0.5828 MB / 0.5093 GB, free: 7.637 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001698/0.1712, allocations: 1.033 MB / 0.5103 GB, free: 6.602 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.1712, allocations: 0 / 0.5103 GB, free: 6.602 MB / 382.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.005621/0.1768, allocations: 1.98 MB / 0.5122 GB, free: 4.605 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.1768, allocations: 7.938 kB / 0.5122 GB, free: 4.598 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.1769, allocations: 0 / 0.5122 GB, free: 4.598 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005904/0.1828, allocations: 1.456 MB / 0.5137 GB, free: 3.137 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007382/0.1835, allocations: 131.9 kB / 0.5138 GB, free: 3.008 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.209/0.3925, allocations: 6.017 MB / 0.5197 GB, free: 28.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006606/0.3932, allocations: 77.31 kB / 0.5197 GB, free: 28.03 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.186e-05/0.3933, allocations: 31.2 kB / 0.5198 GB, free: 28.03 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.0002375/0.3935, allocations: 192 kB / 0.5199 GB, free: 27.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/0.3936, allocations: 62.94 kB / 0.52 GB, free: 27.88 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005229/0.3988, allocations: 1.948 MB / 0.5219 GB, free: 27.78 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.597e-05/0.3989, allocations: 8.031 kB / 0.5219 GB, free: 27.78 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.3989, allocations: 0.7031 kB / 0.5219 GB, free: 27.78 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.311e-05/0.3989, allocations: 4.266 kB / 0.5219 GB, free: 27.78 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006131/0.405, allocations: 2.596 MB / 0.5245 GB, free: 26.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/0.405, allocations: 0.5156 kB / 0.5245 GB, free: 26.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003717/0.4054, allocations: 96.38 kB / 0.5245 GB, free: 26.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005586/0.411, allocations: 1.281 MB / 0.5258 GB, free: 26.74 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001334/0.4111, allocations: 19.7 kB / 0.5258 GB, free: 26.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01047/0.4216, allocations: 5.946 MB / 0.5316 GB, free: 23.11 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.4216, allocations: 4.109 kB / 0.5316 GB, free: 23.11 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005468/0.427, allocations: 1.912 MB / 0.5335 GB, free: 22.32 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001945/0.4272, allocations: 72.61 kB / 0.5336 GB, free: 22.28 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001107/0.4274, allocations: 16.73 kB / 0.5336 GB, free: 22.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005639/0.4279, allocations: 45.91 kB / 0.5336 GB, free: 22.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003133/0.4282, allocations: 70.09 kB / 0.5337 GB, free: 22.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.211e-05/0.4283, allocations: 27.11 kB / 0.5337 GB, free: 22.23 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003655/0.4287, allocations: 256 kB / 0.534 GB, free: 22.1 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4287, allocations: 0 / 0.534 GB, free: 22.1 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001095/0.4298, allocations: 279.1 kB / 0.5342 GB, free: 22.06 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.005574/0.4353, allocations: 2.497 MB / 0.5367 GB, free: 20.72 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004122/0.4394, allocations: 1.594 MB / 0.5382 GB, free: 20.04 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.4395, allocations: 1.188 kB / 0.5382 GB, free: 20.04 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003119/0.4426, allocations: 1.055 MB / 0.5392 GB, free: 19.58 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006333/0.4432, allocations: 62.36 kB / 0.5393 GB, free: 19.55 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01423/0.4574, allocations: 7.754 MB / 0.5469 GB, free: 15.79 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002643/0.4577, allocations: 280.2 kB / 0.5471 GB, free: 15.68 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002785/0.458, allocations: 88.05 kB / 0.5472 GB, free: 15.65 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002225/0.4582, allocations: 194.6 kB / 0.5474 GB, free: 15.51 MB / 382.1 MB Notification: Performance of SimCode: time 1.533e-06/0.4582, allocations: 0 / 0.5474 GB, free: 15.51 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07515/0.5334, allocations: 24.22 MB / 0.5711 GB, free: 8.695 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.59/14.12, allocations: 7.938 kB / 0.5711 GB, free: 8.691 MB / 398.1 MB " [Timeout remaining time 646] (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.893019841983914] Failed to read output from testmodel.py, exit status != 0: 14.250970023218542 14.268863431 14.128527177 Calling exit ...