Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.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.001793/0.001793, allocations: 111.3 kB / 17.17 MB, free: 5.887 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.001981/0.001981, allocations: 208 kB / 20.14 MB, free: 2.934 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.489/1.489, 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.03664/0.03664, allocations: 6.132 MB / 315.7 MB, free: 1.152 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.DoubleNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_MediumNetworks_DoubleNetwork",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.MediumNetworks.DoubleNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_MediumNetworks_DoubleNetwork",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001614/0.001614, allocations: 46.42 kB / 439.2 MB, free: 40.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09771/0.09932, allocations: 54.99 MB / 494.2 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.DoubleNetwork): time 0.004393/0.1037, allocations: 5.735 MB / 500 MB, free: 4.711 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003264/0.107, allocations: 2.369 MB / 0.4906 GB, free: 2.324 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004312/0.1074, allocations: 16 kB / 0.4906 GB, free: 2.309 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005982/0.108, allocations: 317.9 kB / 0.4909 GB, free: 1.996 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001115/0.1091, allocations: 0.5822 MB / 0.4914 GB, free: 1.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00224/0.1114, allocations: 1.455 MB / 0.4929 GB, free: 15.96 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001684/0.1131, allocations: 1.26 MB / 0.4941 GB, free: 14.69 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004568/0.1135, allocations: 285 kB / 0.4944 GB, free: 14.39 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005945/0.1141, allocations: 0.5409 MB / 0.4949 GB, free: 13.85 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008243/0.1149, allocations: 0.6807 MB / 0.4956 GB, free: 13.17 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001579/0.1151, allocations: 100 kB / 0.4957 GB, free: 13.07 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007226/0.1158, allocations: 355.8 kB / 0.496 GB, free: 12.72 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002285/0.116, allocations: 258.9 kB / 0.4962 GB, free: 12.47 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005833/0.1166, allocations: 0.5946 MB / 0.4968 GB, free: 11.87 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001709/0.1183, allocations: 1.416 MB / 0.4982 GB, free: 10.45 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.1183, allocations: 0 / 0.4982 GB, free: 10.45 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1183, allocations: 0 / 0.4982 GB, free: 10.45 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.32e-05/0.1183, allocations: 3.938 kB / 0.4982 GB, free: 10.45 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: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.01381/0.1322, allocations: 3.18 MB / 0.5013 GB, free: 7.211 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.1322, allocations: 8.031 kB / 0.5013 GB, free: 7.203 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002058/0.1324, allocations: 135.2 kB / 0.5015 GB, free: 7.062 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002982/0.1327, allocations: 144.1 kB / 0.5016 GB, free: 6.922 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001182/0.1339, allocations: 0.676 MB / 0.5023 GB, free: 6.203 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.501e-05/0.1339, allocations: 74.38 kB / 0.5023 GB, free: 6.133 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001726/0.1341, allocations: 96.38 kB / 0.5024 GB, free: 6.039 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002513/0.1366, allocations: 1.349 MB / 0.5037 GB, free: 4.672 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.841e-05/0.1367, allocations: 3.984 kB / 0.5037 GB, free: 4.668 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001275/0.1368, allocations: 36 kB / 0.5038 GB, free: 4.633 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.351e-05/0.1368, allocations: 20 kB / 0.5038 GB, free: 4.613 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002275/0.1391, allocations: 1.281 MB / 0.505 GB, free: 3.332 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007681/0.1468, allocations: 4.331 MB / 0.5093 GB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003339/0.1501, allocations: 2.928 MB / 0.5121 GB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001367/0.1515, allocations: 0.8248 MB / 0.5129 GB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001693/0.1516, allocations: 41.14 kB / 0.513 GB, free: 10.67 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.841e-05/0.1517, allocations: 64.09 kB / 0.513 GB, free: 10.6 MB / 382.1 MB Notification: Performance of pre-optimization done (n=147): time 3.536e-06/0.1517, allocations: 4 kB / 0.513 GB, free: 10.6 MB / 382.1 MB Notification: Performance of matching and sorting (n=147): time 0.0293/0.181, allocations: 6.968 MB / 0.5198 GB, free: 3.586 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001/0.1811, allocations: 120.1 kB / 0.52 GB, free: 3.445 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009563/0.1821, allocations: 0.6213 MB / 0.5206 GB, free: 2.82 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000244/0.1823, allocations: 69.64 kB / 0.5206 GB, free: 2.746 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002659/0.1826, allocations: 330.8 kB / 0.5209 GB, free: 2.418 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005038/0.1831, allocations: 0.5073 MB / 0.5214 GB, free: 1.906 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005178/0.1836, allocations: 271.6 kB / 0.5217 GB, free: 1.633 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.1838, allocations: 349.9 kB / 0.522 GB, free: 1.285 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001423/0.1852, allocations: 0.859 MB / 0.5229 GB, free: 436 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001576/0.1868, allocations: 0.9729 MB / 0.5238 GB, free: 15.45 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003186/0.1899, allocations: 1.939 MB / 0.5257 GB, free: 13.51 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.19, allocations: 0 / 0.5257 GB, free: 13.51 MB / 398.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.01069/0.2006, allocations: 3.733 MB / 0.5294 GB, free: 9.766 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.2007, allocations: 8 kB / 0.5294 GB, free: 9.758 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.2007, allocations: 0 / 0.5294 GB, free: 9.758 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01188/0.2125, allocations: 3.555 MB / 0.5328 GB, free: 6.195 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001074/0.2136, allocations: 223.7 kB / 0.5331 GB, free: 5.977 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02447/0.2381, allocations: 11.42 MB / 0.5442 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001309/0.2394, allocations: 142.9 kB / 0.5444 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000147/0.2396, allocations: 51.98 kB / 0.5444 GB, free: 10.23 MB / 414.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 (135): * Single equations (assignments): 134 * 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 {(32,32)} Notification: Performance of prepare postOptimizeDAE: time 0.0005317/0.2401, allocations: 264.8 kB / 0.5447 GB, free: 9.965 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000261/0.2403, allocations: 111.3 kB / 0.5448 GB, free: 9.855 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01085/0.2512, allocations: 3.699 MB / 0.5484 GB, free: 6.137 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.02e-05/0.2512, allocations: 19.94 kB / 0.5484 GB, free: 6.117 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.2512, allocations: 4 kB / 0.5484 GB, free: 6.113 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.789e-05/0.2513, allocations: 7.969 kB / 0.5484 GB, free: 6.105 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01289/0.2642, allocations: 5.219 MB / 0.5535 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.318e-05/0.2642, allocations: 0 / 0.5535 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007017/0.2649, allocations: 179.7 kB / 0.5537 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01119/0.2761, allocations: 2.727 MB / 0.5563 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002376/0.2763, allocations: 35.98 kB / 0.5564 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02367/0.3, allocations: 11.26 MB / 0.5674 GB, free: 2.473 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.3, allocations: 0 / 0.5674 GB, free: 2.473 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01049/0.3105, allocations: 3.575 MB / 0.5709 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003523/0.3109, allocations: 200 kB / 0.571 GB, free: 14.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002597/0.3111, allocations: 31.94 kB / 0.5711 GB, free: 14.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001106/0.3122, allocations: 95.8 kB / 0.5712 GB, free: 14.54 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004888/0.3127, allocations: 126.4 kB / 0.5713 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001324/0.3128, allocations: 51.98 kB / 0.5713 GB, free: 14.36 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006704/0.3135, allocations: 423 kB / 0.5717 GB, free: 13.95 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3135, allocations: 0 / 0.5717 GB, free: 13.95 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001567/0.3151, allocations: 0.5271 MB / 0.5723 GB, free: 13.43 MB / 446.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 (106): * Single equations (assignments): 105 * 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 {(32,32)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01074/0.3258, allocations: 4.189 MB / 0.5763 GB, free: 9.203 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008219/0.334, allocations: 3.004 MB / 0.5793 GB, free: 6.191 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.071e-05/0.3341, allocations: 0.6562 kB / 0.5793 GB, free: 6.188 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006183/0.3402, allocations: 1.983 MB / 0.5812 GB, free: 4.188 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001093/0.3413, allocations: 141.9 kB / 0.5814 GB, free: 4.055 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2577/0.599, allocations: 13.92 MB / 0.5949 GB, free: 92.21 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008159/0.5998, allocations: 1.084 MB / 0.596 GB, free: 91.5 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006406/0.6004, allocations: 142.4 kB / 0.5961 GB, free: 91.48 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004873/0.6009, allocations: 398.9 kB / 0.5965 GB, free: 91.19 MB / 446.1 MB Notification: Performance of SimCode: time 1.092e-06/0.6009, allocations: 0 / 0.5965 GB, free: 91.19 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07705/0.678, allocations: 46.12 MB / 0.6415 GB, free: 52.38 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.31/14.99, allocations: 3.75 kB / 0.6416 GB, free: 52.38 MB / 446.1 MB " [Timeout remaining time 645] (rm -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork_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_MediumNetworks_DoubleNetwork.fmu > PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.963344440999208] Failed to read output from testmodel.py, exit status != 0: 15.10758301000169 15.127543247 15.005428036 Calling exit ...