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.00129/0.00129, 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.001513/0.001513, allocations: 217.3 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.503/1.503, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.03714/0.03714, allocations: 6.134 MB / 319.4 MB, free: 12.73 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.MediumNetworks.Network,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_MediumNetworks_Network",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.MediumNetworks.Network,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_MediumNetworks_Network",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001591/0.001591, allocations: 47.92 kB / 444.4 MB, free: 5.062 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1109, allocations: 55.03 MB / 499.5 MB, free: 13.93 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.Network): time 0.004772/0.1157, allocations: 3.245 MB / 0.4909 GB, free: 10.68 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003179/0.1188, allocations: 1.941 MB / 0.4928 GB, free: 8.723 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002165/0.1191, allocations: 12 kB / 0.4928 GB, free: 8.711 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005338/0.1196, allocations: 218.6 kB / 0.493 GB, free: 8.496 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008174/0.1204, allocations: 373.7 kB / 0.4934 GB, free: 8.129 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002547/0.123, allocations: 1.218 MB / 0.4946 GB, free: 6.91 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001047/0.124, allocations: 0.7658 MB / 0.4953 GB, free: 6.141 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002967/0.1243, allocations: 154.1 kB / 0.4955 GB, free: 5.984 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003675/0.1247, allocations: 338.7 kB / 0.4958 GB, free: 5.652 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005549/0.1252, allocations: 366.3 kB / 0.4962 GB, free: 5.293 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001112/0.1253, allocations: 64 kB / 0.4962 GB, free: 5.23 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005994/0.1259, allocations: 291.7 kB / 0.4965 GB, free: 4.945 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001593/0.1261, allocations: 163.4 kB / 0.4967 GB, free: 4.785 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003192/0.1264, allocations: 302.5 kB / 0.4969 GB, free: 4.488 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001143/0.1276, allocations: 0.9379 MB / 0.4979 GB, free: 3.547 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1276, allocations: 3.938 kB / 0.4979 GB, free: 3.543 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.1276, allocations: 0 / 0.4979 GB, free: 3.543 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.333e-05/0.1276, allocations: 4 kB / 0.4979 GB, free: 3.539 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.00864/0.1362, allocations: 2.072 MB / 0.4999 GB, free: 1.43 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.1363, allocations: 12.03 kB / 0.4999 GB, free: 1.418 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001395/0.1364, allocations: 94.7 kB / 0.5 GB, free: 1.316 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001793/0.1366, allocations: 80.47 kB / 0.5001 GB, free: 1.238 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00076/0.1373, allocations: 424.2 kB / 0.5005 GB, free: 0.7969 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.034e-05/0.1374, allocations: 45.38 kB / 0.5005 GB, free: 0.7539 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001167/0.1375, allocations: 60.38 kB / 0.5006 GB, free: 0.6953 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001785/0.1393, allocations: 1.278 MB / 0.5018 GB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.924e-05/0.1393, allocations: 7.938 kB / 0.5018 GB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.926e-05/0.1394, allocations: 20 kB / 0.5018 GB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.973e-05/0.1394, allocations: 15.98 kB / 0.5019 GB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001323/0.1407, allocations: 0.8121 MB / 0.5027 GB, free: 14.44 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004137/0.1449, allocations: 1.946 MB / 0.5046 GB, free: 12.45 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0017/0.1466, allocations: 0.9727 MB / 0.5055 GB, free: 11.47 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008198/0.1474, allocations: 0.5141 MB / 0.506 GB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001019/0.1475, allocations: 20.98 kB / 0.506 GB, free: 10.94 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.295e-05/0.1475, allocations: 47.56 kB / 0.5061 GB, free: 10.88 MB / 382.1 MB Notification: Performance of pre-optimization done (n=89): time 3.216e-06/0.1475, allocations: 0 / 0.5061 GB, free: 10.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=89): time 0.01566/0.1632, allocations: 3.846 MB / 0.5098 GB, free: 7.027 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.52e-05/0.1633, allocations: 119.7 kB / 0.5099 GB, free: 6.887 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006509/0.164, allocations: 437.7 kB / 0.5104 GB, free: 6.453 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001625/0.1641, allocations: 45.7 kB / 0.5104 GB, free: 6.402 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001879/0.1643, allocations: 229.8 kB / 0.5106 GB, free: 6.172 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003281/0.1646, allocations: 317.2 kB / 0.5109 GB, free: 5.859 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003323/0.165, allocations: 178.6 kB / 0.5111 GB, free: 5.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000206/0.1652, allocations: 374.8 kB / 0.5115 GB, free: 5.305 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009378/0.1661, allocations: 0.5447 MB / 0.512 GB, free: 4.762 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001007/0.1671, allocations: 0.6765 MB / 0.5126 GB, free: 4.062 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001951/0.1691, allocations: 1.228 MB / 0.5138 GB, free: 2.836 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.1691, allocations: 0 / 0.5138 GB, free: 2.836 MB / 382.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.006706/0.1758, allocations: 2.347 MB / 0.5161 GB, free: 484 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.232e-05/0.1758, allocations: 8 kB / 0.5161 GB, free: 476 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.1758, allocations: 0 / 0.5161 GB, free: 476 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.209/0.3848, allocations: 1.681 MB / 0.5178 GB, free: 29.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000635/0.3855, allocations: 146.9 kB / 0.5179 GB, free: 29.42 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01304/0.3985, allocations: 7.04 MB / 0.5248 GB, free: 27.19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008541/0.3994, allocations: 95.94 kB / 0.5249 GB, free: 27.15 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.574e-05/0.3995, allocations: 34.36 kB / 0.5249 GB, free: 27.14 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.000326/0.3998, allocations: 202.5 kB / 0.5251 GB, free: 26.97 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001425/0.3999, allocations: 67.28 kB / 0.5252 GB, free: 26.94 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006298/0.4062, allocations: 2.291 MB / 0.5274 GB, free: 26.09 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.537e-05/0.4062, allocations: 9.781 kB / 0.5274 GB, free: 26.09 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.4062, allocations: 1.031 kB / 0.5274 GB, free: 26.09 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.424e-05/0.4063, allocations: 7.734 kB / 0.5274 GB, free: 26.09 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006906/0.4132, allocations: 3.041 MB / 0.5304 GB, free: 24.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/0.4132, allocations: 0 / 0.5304 GB, free: 24.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003989/0.4136, allocations: 115.7 kB / 0.5305 GB, free: 24.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006613/0.4202, allocations: 1.494 MB / 0.532 GB, free: 24.49 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.861e-05/0.4203, allocations: 27.5 kB / 0.532 GB, free: 24.47 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01278/0.4331, allocations: 6.926 MB / 0.5388 GB, free: 20.28 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.4331, allocations: 0.6094 kB / 0.5388 GB, free: 20.28 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005939/0.439, allocations: 2.244 MB / 0.541 GB, free: 19.36 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001731/0.4392, allocations: 93.64 kB / 0.541 GB, free: 19.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001292/0.4393, allocations: 20.31 kB / 0.5411 GB, free: 19.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006825/0.44, allocations: 53.58 kB / 0.5411 GB, free: 19.29 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002537/0.4402, allocations: 73.53 kB / 0.5412 GB, free: 19.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.678e-05/0.4403, allocations: 32.39 kB / 0.5412 GB, free: 19.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003426/0.4407, allocations: 290.4 kB / 0.5415 GB, free: 19.12 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4407, allocations: 0 / 0.5415 GB, free: 19.12 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001064/0.4417, allocations: 342.3 kB / 0.5418 GB, free: 19.07 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 (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.00597/0.4477, allocations: 2.817 MB / 0.5446 GB, free: 17.61 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004386/0.4521, allocations: 1.871 MB / 0.5464 GB, free: 16.81 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.4521, allocations: 4 kB / 0.5464 GB, free: 16.81 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003208/0.4553, allocations: 1.234 MB / 0.5476 GB, free: 16.29 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007465/0.456, allocations: 77.5 kB / 0.5477 GB, free: 16.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01669/0.4727, allocations: 9.001 MB / 0.5565 GB, free: 7.512 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003036/0.473, allocations: 320.7 kB / 0.5568 GB, free: 7.176 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000399/0.4734, allocations: 88.28 kB / 0.5569 GB, free: 7.09 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003339/0.4738, allocations: 239.3 kB / 0.5571 GB, free: 6.855 MB / 382.1 MB Notification: Performance of SimCode: time 1.623e-06/0.4738, allocations: 0 / 0.5571 GB, free: 6.855 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06605/0.5398, allocations: 28.65 MB / 0.5851 GB, free: 10.46 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.71/14.25, allocations: 7.875 kB / 0.5851 GB, free: 10.45 MB / 414.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 & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network_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_Network.fmu > PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.016661358065903] Failed to read output from testmodel.py, exit status != 0: 14.378164250869304 14.40221118 14.270098126 Calling exit ...