Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.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.001965/0.001965, allocations: 113.8 kB / 17.88 MB, free: 5.051 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.002255/0.002255, allocations: 213.6 kB / 20.84 MB, free: 2.105 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.506/1.506, allocations: 230.6 MB / 254.2 MB, free: 15.11 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.03923/0.03923, allocations: 6.137 MB / 316.4 MB, free: 1.121 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.MediumNetworks.Network,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_MediumNetworks_Network",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.MediumNetworks.Network,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_MediumNetworks_Network",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 51.42 kB / 440 MB, free: 40.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09303/0.09456, allocations: 54.98 MB / 494.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.Network): time 0.003446/0.098, allocations: 3.747 MB / 498.7 MB, free: 6.742 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002183/0.1002, allocations: 2.007 MB / 0.489 GB, free: 4.719 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001959/0.1004, allocations: 8 kB / 0.489 GB, free: 4.711 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000425/0.1008, allocations: 230.6 kB / 0.4892 GB, free: 4.484 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005712/0.1014, allocations: 373.6 kB / 0.4895 GB, free: 4.117 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001846/0.1032, allocations: 1.315 MB / 0.4908 GB, free: 2.801 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008071/0.104, allocations: 0.7659 MB / 0.4916 GB, free: 2.031 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002756/0.1043, allocations: 165.6 kB / 0.4917 GB, free: 1.859 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000263/0.1046, allocations: 342.7 kB / 0.4921 GB, free: 1.523 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003945/0.105, allocations: 414.2 kB / 0.4924 GB, free: 1.117 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.607e-05/0.105, allocations: 60 kB / 0.4925 GB, free: 1.059 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005301/0.1056, allocations: 303.8 kB / 0.4928 GB, free: 0.7617 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.292e-05/0.1057, allocations: 163.3 kB / 0.4929 GB, free: 0.6016 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002337/0.1059, allocations: 374.1 kB / 0.4933 GB, free: 240 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001182/0.1071, allocations: 0.934 MB / 0.4942 GB, free: 15.3 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.1071, allocations: 4 kB / 0.4942 GB, free: 15.29 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1071, allocations: 0 / 0.4942 GB, free: 15.29 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.275e-05/0.1071, allocations: 0 / 0.4942 GB, free: 15.29 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.008612/0.1157, allocations: 2.151 MB / 0.4963 GB, free: 13.09 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.1158, allocations: 11.97 kB / 0.4963 GB, free: 13.08 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.331e-05/0.1158, allocations: 17.19 kB / 0.4964 GB, free: 13.06 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001289/0.1159, allocations: 90.7 kB / 0.4964 GB, free: 12.96 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001821/0.1161, allocations: 84.42 kB / 0.4965 GB, free: 12.88 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006817/0.1168, allocations: 482 kB / 0.497 GB, free: 12.37 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.197e-05/0.1168, allocations: 49.38 kB / 0.497 GB, free: 12.32 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/0.1169, allocations: 64.36 kB / 0.4971 GB, free: 12.26 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001378/0.1183, allocations: 0.8349 MB / 0.4979 GB, free: 11.41 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.1183, allocations: 0 / 0.4979 GB, free: 11.41 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.751e-05/0.1184, allocations: 24 kB / 0.4979 GB, free: 11.39 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.248e-05/0.1184, allocations: 12 kB / 0.4979 GB, free: 11.38 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001277/0.1197, allocations: 0.7809 MB / 0.4987 GB, free: 10.59 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004402/0.1241, allocations: 2.651 MB / 0.5013 GB, free: 7.789 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001749/0.1258, allocations: 1.258 MB / 0.5025 GB, free: 6.457 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008141/0.1267, allocations: 0.5102 MB / 0.503 GB, free: 5.949 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001103/0.1268, allocations: 24.97 kB / 0.503 GB, free: 5.922 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.583e-05/0.1268, allocations: 55.44 kB / 0.5031 GB, free: 5.859 MB / 366.1 MB Notification: Performance of pre-optimization done (n=89): time 2.284e-06/0.1268, allocations: 0 / 0.5031 GB, free: 5.859 MB / 366.1 MB Notification: Performance of matching and sorting (n=89): time 0.01554/0.1424, allocations: 3.91 MB / 0.5069 GB, free: 1.926 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.588e-05/0.1424, allocations: 115.8 kB / 0.507 GB, free: 1.785 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005865/0.143, allocations: 421.8 kB / 0.5074 GB, free: 1.371 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001265/0.1432, allocations: 45.7 kB / 0.5075 GB, free: 1.32 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001884/0.1434, allocations: 229.8 kB / 0.5077 GB, free: 1.09 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000322/0.1437, allocations: 321.2 kB / 0.508 GB, free: 0.7734 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000358/0.144, allocations: 182.6 kB / 0.5082 GB, free: 0.5859 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001871/0.1442, allocations: 374.8 kB / 0.5085 GB, free: 216 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009325/0.1452, allocations: 0.537 MB / 0.509 GB, free: 15.67 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001003/0.1462, allocations: 0.6146 MB / 0.5096 GB, free: 15.05 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002008/0.1482, allocations: 1.216 MB / 0.5108 GB, free: 13.83 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.1482, allocations: 0 / 0.5108 GB, free: 13.83 MB / 382.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.00674/0.1549, allocations: 2.328 MB / 0.5131 GB, free: 11.49 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.945e-05/0.1549, allocations: 8 kB / 0.5131 GB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.1549, allocations: 3.984 kB / 0.5131 GB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00699/0.1619, allocations: 1.687 MB / 0.5148 GB, free: 9.789 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006753/0.1626, allocations: 147.8 kB / 0.5149 GB, free: 9.645 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01498/0.1776, allocations: 7.346 MB / 0.5221 GB, free: 2.164 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008933/0.1785, allocations: 87.38 kB / 0.5222 GB, free: 2.078 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.251e-05/0.1786, allocations: 39.98 kB / 0.5222 GB, free: 2.039 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 (87): * Single equations (assignments): 86 * 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 {(18,20)} Notification: Performance of prepare postOptimizeDAE: time 0.000366/0.1789, allocations: 202.2 kB / 0.5224 GB, free: 1.832 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001644/0.1791, allocations: 71.52 kB / 0.5225 GB, free: 1.762 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006769/0.1859, allocations: 2.276 MB / 0.5247 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.217e-05/0.1859, allocations: 8 kB / 0.5247 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.1859, allocations: 0 / 0.5247 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.538e-05/0.1859, allocations: 11.95 kB / 0.5247 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007871/0.1938, allocations: 3.257 MB / 0.5279 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.777e-05/0.1938, allocations: 4 kB / 0.5279 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004744/0.1943, allocations: 115.9 kB / 0.528 GB, free: 12.01 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006807/0.2011, allocations: 1.506 MB / 0.5295 GB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001217/0.2012, allocations: 20 kB / 0.5295 GB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01477/0.216, allocations: 7.227 MB / 0.5365 GB, free: 3.105 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.216, allocations: 0 / 0.5365 GB, free: 3.105 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006604/0.2226, allocations: 2.238 MB / 0.5387 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001958/0.2228, allocations: 160.4 kB / 0.5389 GB, free: 0.668 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/0.2229, allocations: 16 kB / 0.5389 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006961/0.2236, allocations: 51.95 kB / 0.539 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002435/0.2238, allocations: 72.89 kB / 0.539 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.82e-05/0.2239, allocations: 32 kB / 0.5391 GB, free: 0.5 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004181/0.2243, allocations: 295.1 kB / 0.5393 GB, free: 216 kB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2243, allocations: 0 / 0.5393 GB, free: 216 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.001015/0.2253, allocations: 335.9 kB / 0.5397 GB, free: 15.88 MB / 414.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 (66): * Single equations (assignments): 65 * 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 {(18,20)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006849/0.2322, allocations: 2.805 MB / 0.5424 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0051/0.2373, allocations: 1.853 MB / 0.5442 GB, free: 11.18 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.2373, allocations: 4.312 kB / 0.5442 GB, free: 11.17 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003607/0.2409, allocations: 1.221 MB / 0.5454 GB, free: 9.945 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007734/0.2417, allocations: 81.83 kB / 0.5455 GB, free: 9.863 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02106/0.2627, allocations: 8.956 MB / 0.5542 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007419/0.2635, allocations: 0.9218 MB / 0.5551 GB, free: 15.85 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003754/0.2639, allocations: 88.84 kB / 0.5552 GB, free: 15.76 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003946/0.2643, allocations: 235.3 kB / 0.5554 GB, free: 15.53 MB / 430.1 MB Notification: Performance of SimCode: time 1.172e-06/0.2643, allocations: 4 kB / 0.5554 GB, free: 15.53 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06109/0.3253, allocations: 28.7 MB / 0.5835 GB, free: 2.988 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.74/14.06, allocations: 18.38 kB / 0.5835 GB, free: 2.977 MB / 446.1 MB " [Timeout remaining time 646] (rm -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_MediumNetworks_Network_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_MediumNetworks_Network.fmu > PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.305683199956547] Failed to read output from testmodel.py, exit status != 0: 14.223380272975191 14.577464379 14.467313762 Calling exit ...