Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceThreeLoads.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.001316/0.001316, 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.001422/0.001422, 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.539/1.539, allocations: 230.6 MB / 253.5 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.03988/0.03988, allocations: 6.137 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.OneSourceThreeLoads,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceThreeLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceThreeLoads,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceThreeLoads",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00159/0.00159, allocations: 50.42 kB / 439.2 MB, free: 40.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1092, allocations: 54.99 MB / 494.2 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceThreeLoads): time 0.002606/0.1118, allocations: 2.189 MB / 496.4 MB, free: 8.289 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002071/0.1139, allocations: 1.719 MB / 498.1 MB, free: 6.555 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001393/0.114, allocations: 4 kB / 498.1 MB, free: 6.551 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004205/0.1144, allocations: 163.1 kB / 498.3 MB, free: 6.391 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003781/0.1148, allocations: 182.8 kB / 498.5 MB, free: 6.211 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001437/0.1162, allocations: 0.9494 MB / 499.4 MB, free: 5.258 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000483/0.1167, allocations: 414 kB / 499.8 MB, free: 4.852 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001758/0.1169, allocations: 95.5 kB / 499.9 MB, free: 4.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001116/0.117, allocations: 175.3 kB / 0.4884 GB, free: 4.578 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002086/0.1172, allocations: 215.1 kB / 0.4886 GB, free: 4.367 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.116e-05/0.1173, allocations: 32 kB / 0.4886 GB, free: 4.336 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003503/0.1176, allocations: 227.8 kB / 0.4888 GB, free: 4.113 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.886e-05/0.1177, allocations: 87.61 kB / 0.4889 GB, free: 4.027 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.1178, allocations: 191 kB / 0.4891 GB, free: 3.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000479/0.1183, allocations: 0.5487 MB / 0.4896 GB, free: 3.289 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.1183, allocations: 0 / 0.4896 GB, free: 3.289 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1183, allocations: 4 kB / 0.4896 GB, free: 3.285 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.1183, allocations: 0 / 0.4896 GB, free: 3.285 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.003538/0.1218, allocations: 1.157 MB / 0.4908 GB, free: 2.074 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.1218, allocations: 12.03 kB / 0.4908 GB, free: 2.062 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.918e-05/0.1219, allocations: 58.73 kB / 0.4908 GB, free: 1.996 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.647e-05/0.122, allocations: 52.64 kB / 0.4909 GB, free: 1.945 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003736/0.1224, allocations: 327.6 kB / 0.4912 GB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/0.1224, allocations: 20.94 kB / 0.4912 GB, free: 1.566 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.566e-05/0.1225, allocations: 36.31 kB / 0.4912 GB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005343/0.123, allocations: 413.3 kB / 0.4916 GB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.123, allocations: 7.938 kB / 0.4916 GB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.603e-05/0.123, allocations: 12 kB / 0.4917 GB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.123, allocations: 8 kB / 0.4917 GB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004773/0.1235, allocations: 414.1 kB / 0.4921 GB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002128/0.1256, allocations: 1.526 MB / 0.4935 GB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001205/0.1269, allocations: 0.5083 MB / 0.494 GB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004082/0.1273, allocations: 245.5 kB / 0.4943 GB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.916e-05/0.1273, allocations: 12.36 kB / 0.4943 GB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.1274, allocations: 38.94 kB / 0.4943 GB, free: 14.22 MB / 366.1 MB Notification: Performance of pre-optimization done (n=46): time 1.914e-06/0.1274, allocations: 0 / 0.4943 GB, free: 14.22 MB / 366.1 MB Notification: Performance of matching and sorting (n=46): time 0.005117/0.1325, allocations: 1.639 MB / 0.4959 GB, free: 12.51 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.95e-05/0.1325, allocations: 55.41 kB / 0.496 GB, free: 12.44 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004951/0.133, allocations: 266.7 kB / 0.4962 GB, free: 12.17 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.135e-05/0.1331, allocations: 37.7 kB / 0.4963 GB, free: 12.13 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001468/0.1333, allocations: 169 kB / 0.4964 GB, free: 11.96 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001842/0.1335, allocations: 166.5 kB / 0.4966 GB, free: 11.8 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002412/0.1337, allocations: 98.23 kB / 0.4967 GB, free: 11.7 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000178/0.1339, allocations: 342.7 kB / 0.497 GB, free: 11.35 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004343/0.1343, allocations: 261 kB / 0.4973 GB, free: 11.1 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005025/0.1348, allocations: 269 kB / 0.4975 GB, free: 10.83 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009611/0.1358, allocations: 0.5859 MB / 0.4981 GB, free: 10.25 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.1358, allocations: 0 / 0.4981 GB, free: 10.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.002599/0.1384, allocations: 1.005 MB / 0.4991 GB, free: 9.223 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.694e-05/0.1384, allocations: 4 kB / 0.4991 GB, free: 9.219 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.1384, allocations: 8 kB / 0.4991 GB, free: 9.211 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002011/0.1404, allocations: 426.1 kB / 0.4995 GB, free: 8.785 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003383/0.1408, allocations: 71.89 kB / 0.4996 GB, free: 8.715 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008461/0.1492, allocations: 6.087 MB / 0.5055 GB, free: 2.215 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004248/0.1497, allocations: 39.72 kB / 0.5055 GB, free: 2.176 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.975e-05/0.1497, allocations: 20 kB / 0.5056 GB, free: 2.156 MB / 366.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 (46): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,4), (2,4), (2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002439/0.1499, allocations: 158.2 kB / 0.5057 GB, free: 1.992 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/0.1501, allocations: 39.77 kB / 0.5057 GB, free: 1.953 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002592/0.1526, allocations: 0.982 MB / 0.5067 GB, free: 0.957 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/0.1527, allocations: 4 kB / 0.5067 GB, free: 0.9531 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.1527, allocations: 0 / 0.5067 GB, free: 0.9531 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.1527, allocations: 7.984 kB / 0.5067 GB, free: 0.9453 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006777/0.1533, allocations: 0.5599 MB / 0.5073 GB, free: 340 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.1533, allocations: 4 kB / 0.5073 GB, free: 336 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002233/0.1536, allocations: 59.91 kB / 0.5073 GB, free: 276 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001923/0.1555, allocations: 422.1 kB / 0.5077 GB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.963e-05/0.1555, allocations: 12 kB / 0.5077 GB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007743/0.1633, allocations: 6.038 MB / 0.5136 GB, free: 9.379 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.1633, allocations: 3.984 kB / 0.5136 GB, free: 9.375 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002522/0.1658, allocations: 1.002 MB / 0.5146 GB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001296/0.1659, allocations: 120.8 kB / 0.5147 GB, free: 8.211 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.22e-05/0.166, allocations: 11.92 kB / 0.5147 GB, free: 8.199 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003849/0.1664, allocations: 27.98 kB / 0.5148 GB, free: 8.172 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/0.1665, allocations: 40.38 kB / 0.5148 GB, free: 8.133 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.414e-05/0.1666, allocations: 19.94 kB / 0.5148 GB, free: 8.113 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002798/0.1668, allocations: 198 kB / 0.515 GB, free: 7.922 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1668, allocations: 3.938 kB / 0.515 GB, free: 7.918 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007269/0.1676, allocations: 163.9 kB / 0.5152 GB, free: 7.758 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 (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,4), (2,4), (2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00279/0.1704, allocations: 1.574 MB / 0.5167 GB, free: 6.148 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002214/0.1726, allocations: 1.033 MB / 0.5177 GB, free: 5.07 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/0.1726, allocations: 4 kB / 0.5177 GB, free: 5.066 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00155/0.1741, allocations: 0.7326 MB / 0.5184 GB, free: 4.293 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004857/0.1746, allocations: 44.55 kB / 0.5185 GB, free: 4.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009056/0.1837, allocations: 4.684 MB / 0.5231 GB, free: 15.47 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005078/0.1842, allocations: 0.7896 MB / 0.5238 GB, free: 14.65 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002028/0.1844, allocations: 50.92 kB / 0.5239 GB, free: 14.6 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001891/0.1846, allocations: 115.4 kB / 0.524 GB, free: 14.48 MB / 398.1 MB Notification: Performance of SimCode: time 1.092e-06/0.1846, allocations: 0 / 0.524 GB, free: 14.48 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05132/0.2359, allocations: 14.46 MB / 0.5381 GB, free: 172 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/12.41, allocations: 5.25 kB / 0.5381 GB, free: 172 kB / 398.1 MB " [Timeout remaining time 647] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLoads.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceThreeLoads.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceThreeLoads.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceThreeLoads.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceThreeLoads_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_OneSourceThreeLoads.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceThreeLoads.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.287817201999133] Failed to read output from testmodel.py, exit status != 0: 12.504373648000183 12.519016602 12.397825495 Calling exit ...