Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.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.001332/0.001332, allocations: 118 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.001612/0.001612, allocations: 221.3 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.588/1.588, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.04078/0.04078, allocations: 6.132 MB / 319.4 MB, free: 12.95 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.MVLVNetworkWithBuses,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetworkWithBuses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetworkWithBuses",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002256/0.002256, allocations: 47.92 kB / 444.5 MB, free: 5.359 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1229, allocations: 55.02 MB / 499.5 MB, free: 14.24 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses): time 0.00547/0.1283, allocations: 3.651 MB / 0.4914 GB, free: 10.59 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003584/0.1319, allocations: 1.87 MB / 0.4932 GB, free: 8.699 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005594/0.1325, allocations: 12 kB / 0.4932 GB, free: 8.688 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007622/0.1332, allocations: 210.7 kB / 0.4934 GB, free: 8.48 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001225/0.1345, allocations: 321.8 kB / 0.4937 GB, free: 8.164 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002978/0.1374, allocations: 1.305 MB / 0.495 GB, free: 6.859 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001311/0.1387, allocations: 0.6882 MB / 0.4957 GB, free: 6.168 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004113/0.1392, allocations: 162.1 kB / 0.4958 GB, free: 6.004 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005339/0.1397, allocations: 302.9 kB / 0.4961 GB, free: 5.707 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006726/0.1404, allocations: 366.4 kB / 0.4965 GB, free: 5.348 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001544/0.1405, allocations: 60 kB / 0.4965 GB, free: 5.289 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008634/0.1414, allocations: 299.8 kB / 0.4968 GB, free: 4.996 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001657/0.1415, allocations: 151.4 kB / 0.497 GB, free: 4.848 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004818/0.142, allocations: 342.2 kB / 0.4973 GB, free: 4.512 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001638/0.1437, allocations: 0.8677 MB / 0.4981 GB, free: 3.641 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.1437, allocations: 4 kB / 0.4981 GB, free: 3.637 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1437, allocations: 0 / 0.4981 GB, free: 3.637 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.692e-05/0.1437, allocations: 0 / 0.4981 GB, free: 3.637 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.008416/0.1521, allocations: 1.862 MB / 0.5 GB, free: 1.738 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.566e-05/0.1522, allocations: 12.03 kB / 0.5 GB, free: 1.727 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002143/0.1524, allocations: 94.7 kB / 0.5001 GB, free: 1.625 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002637/0.1527, allocations: 76.47 kB / 0.5001 GB, free: 1.551 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008593/0.1535, allocations: 380.4 kB / 0.5005 GB, free: 1.152 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.903e-05/0.1536, allocations: 45.36 kB / 0.5005 GB, free: 1.109 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/0.1537, allocations: 56.38 kB / 0.5006 GB, free: 1.055 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001426/0.1551, allocations: 0.7689 MB / 0.5013 GB, free: 276 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/0.1551, allocations: 3.938 kB / 0.5013 GB, free: 272 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.706e-05/0.1552, allocations: 27.94 kB / 0.5014 GB, free: 244 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.302e-05/0.1552, allocations: 12 kB / 0.5014 GB, free: 232 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00132/0.1565, allocations: 0.7107 MB / 0.5021 GB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004537/0.1611, allocations: 2.297 MB / 0.5043 GB, free: 13.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001418/0.1625, allocations: 0.7693 MB / 0.5051 GB, free: 12.32 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006862/0.1632, allocations: 418.7 kB / 0.5055 GB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001224/0.1633, allocations: 20.62 kB / 0.5055 GB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.276e-05/0.1633, allocations: 47.22 kB / 0.5055 GB, free: 11.83 MB / 382.1 MB Notification: Performance of pre-optimization done (n=73): time 3.156e-06/0.1633, allocations: 0 / 0.5055 GB, free: 11.83 MB / 382.1 MB Notification: Performance of matching and sorting (n=73): time 0.01472/0.1781, allocations: 3.343 MB / 0.5088 GB, free: 8.477 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.292e-05/0.1782, allocations: 111.5 kB / 0.5089 GB, free: 8.344 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006698/0.1788, allocations: 385.5 kB / 0.5093 GB, free: 7.965 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00014/0.179, allocations: 41.7 kB / 0.5093 GB, free: 7.918 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002141/0.1792, allocations: 221.5 kB / 0.5095 GB, free: 7.695 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002961/0.1795, allocations: 261.7 kB / 0.5098 GB, free: 7.438 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003157/0.1798, allocations: 158.6 kB / 0.5099 GB, free: 7.273 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002106/0.18, allocations: 366.7 kB / 0.5103 GB, free: 6.906 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007879/0.1808, allocations: 449.9 kB / 0.5107 GB, free: 6.469 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008822/0.1817, allocations: 0.5131 MB / 0.5112 GB, free: 5.949 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001686/0.1834, allocations: 0.9939 MB / 0.5122 GB, free: 4.953 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.1834, allocations: 0 / 0.5122 GB, free: 4.953 MB / 382.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.006026/0.1894, allocations: 1.949 MB / 0.5141 GB, free: 2.992 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.814e-05/0.1894, allocations: 11.94 kB / 0.5141 GB, free: 2.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.1894, allocations: 0 / 0.5141 GB, free: 2.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006099/0.1955, allocations: 1.445 MB / 0.5155 GB, free: 1.531 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006104/0.1961, allocations: 127.9 kB / 0.5156 GB, free: 1.406 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2302/0.4263, allocations: 5.86 MB / 0.5213 GB, free: 28.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006855/0.427, allocations: 80.05 kB / 0.5214 GB, free: 28.06 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.499e-05/0.4271, allocations: 34.89 kB / 0.5215 GB, free: 28.06 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.000268/0.4273, allocations: 190.4 kB / 0.5216 GB, free: 27.95 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001125/0.4274, allocations: 59.27 kB / 0.5217 GB, free: 27.92 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005641/0.4331, allocations: 1.888 MB / 0.5235 GB, free: 27.37 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-05/0.4331, allocations: 8.688 kB / 0.5235 GB, free: 27.37 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.4331, allocations: 0 / 0.5235 GB, free: 27.37 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.581e-05/0.4331, allocations: 4.031 kB / 0.5236 GB, free: 27.37 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006425/0.4395, allocations: 2.704 MB / 0.5262 GB, free: 26.22 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.4396, allocations: 3.906 kB / 0.5262 GB, free: 26.22 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003456/0.4399, allocations: 90.33 kB / 0.5263 GB, free: 26.22 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005745/0.4456, allocations: 1.281 MB / 0.5275 GB, free: 26.05 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001179/0.4458, allocations: 18.03 kB / 0.5276 GB, free: 26.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01189/0.4576, allocations: 5.778 MB / 0.5332 GB, free: 22.55 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.4576, allocations: 1.844 kB / 0.5332 GB, free: 22.55 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005612/0.4633, allocations: 1.864 MB / 0.535 GB, free: 21.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001803/0.4634, allocations: 72.8 kB / 0.5351 GB, free: 21.73 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/0.4636, allocations: 16.88 kB / 0.5351 GB, free: 21.72 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005539/0.4641, allocations: 44.45 kB / 0.5351 GB, free: 21.71 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003349/0.4644, allocations: 69.34 kB / 0.5352 GB, free: 21.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.74e-05/0.4645, allocations: 24.8 kB / 0.5352 GB, free: 21.69 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003525/0.4649, allocations: 259.5 kB / 0.5355 GB, free: 21.55 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4649, allocations: 0 / 0.5355 GB, free: 21.55 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001062/0.4659, allocations: 295.2 kB / 0.5358 GB, free: 21.51 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 (55): * Single equations (assignments): 54 * 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.005284/0.4712, allocations: 2.439 MB / 0.5381 GB, free: 20.2 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00382/0.475, allocations: 1.553 MB / 0.5397 GB, free: 19.55 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-05/0.475, allocations: 5.078 kB / 0.5397 GB, free: 19.54 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002841/0.4779, allocations: 1.023 MB / 0.5407 GB, free: 19.11 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006427/0.4785, allocations: 76.09 kB / 0.5407 GB, free: 19.07 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01469/0.4932, allocations: 7.676 MB / 0.5482 GB, free: 15.1 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/0.4935, allocations: 0.8901 MB / 0.5491 GB, free: 14.32 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002803/0.4938, allocations: 78.91 kB / 0.5492 GB, free: 14.29 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002344/0.4941, allocations: 216.6 kB / 0.5494 GB, free: 14.11 MB / 382.1 MB Notification: Performance of SimCode: time 1.032e-06/0.4941, allocations: 0 / 0.5494 GB, free: 14.11 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05754/0.5516, allocations: 24.07 MB / 0.5729 GB, free: 7.297 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.83/14.39, allocations: 2.406 kB / 0.5729 GB, free: 7.297 MB / 398.1 MB " [Timeout remaining time 645] (rm -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetworkWithBuses_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetworkWithBuses.fmu > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.207590710138902] Failed to read output from testmodel.py, exit status != 0: 14.516759193968028 14.543140999 14.394597094 Calling exit ...