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.001807/0.001807, allocations: 104.3 kB / 19.74 MB, free: 1.906 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.002517/0.002517, allocations: 218.1 kB / 23.03 MB, free: 4.984 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.519/1.519, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.03781/0.03781, allocations: 6.141 MB / 319.4 MB, free: 12.75 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.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.00154/0.00154, allocations: 59.92 kB / 444.4 MB, free: 5.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1158, allocations: 55.02 MB / 499.4 MB, free: 13.97 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceThreeLoads): time 0.003499/0.1193, allocations: 1.938 MB / 0.4896 GB, free: 12.03 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002609/0.1219, allocations: 1.664 MB / 0.4913 GB, free: 10.35 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001224/0.122, allocations: 15.88 kB / 0.4913 GB, free: 10.34 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004232/0.1225, allocations: 147.1 kB / 0.4914 GB, free: 10.19 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005203/0.123, allocations: 178.8 kB / 0.4916 GB, free: 10.02 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001985/0.125, allocations: 0.8895 MB / 0.4925 GB, free: 9.125 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006455/0.1256, allocations: 406.1 kB / 0.4928 GB, free: 8.727 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002045/0.1258, allocations: 83.69 kB / 0.4929 GB, free: 8.641 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001935/0.126, allocations: 175.3 kB / 0.4931 GB, free: 8.469 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002985/0.1263, allocations: 199.1 kB / 0.4933 GB, free: 8.273 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.081e-05/0.1264, allocations: 36 kB / 0.4933 GB, free: 8.238 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004381/0.1268, allocations: 215.8 kB / 0.4935 GB, free: 8.027 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.648e-05/0.1269, allocations: 79.69 kB / 0.4936 GB, free: 7.949 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001623/0.127, allocations: 155.2 kB / 0.4937 GB, free: 7.797 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006876/0.1277, allocations: 0.5527 MB / 0.4943 GB, free: 7.242 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1277, allocations: 0 / 0.4943 GB, free: 7.242 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1277, allocations: 0 / 0.4943 GB, free: 7.242 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.1277, allocations: 0 / 0.4943 GB, free: 7.242 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.003928/0.1317, allocations: 1.078 MB / 0.4953 GB, free: 6.129 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.567e-05/0.1317, allocations: 11.98 kB / 0.4953 GB, free: 6.117 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.526e-05/0.1318, allocations: 66.72 kB / 0.4954 GB, free: 6.043 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000112/0.1319, allocations: 48.66 kB / 0.4955 GB, free: 5.996 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004959/0.1324, allocations: 265.4 kB / 0.4957 GB, free: 5.715 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.624e-05/0.1325, allocations: 21.03 kB / 0.4957 GB, free: 5.691 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.336e-05/0.1325, allocations: 32.38 kB / 0.4958 GB, free: 5.66 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001047/0.1336, allocations: 0.6503 MB / 0.4964 GB, free: 4.953 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.1336, allocations: 3.938 kB / 0.4964 GB, free: 4.949 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.615e-05/0.1336, allocations: 8 kB / 0.4964 GB, free: 4.941 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.1336, allocations: 8 kB / 0.4964 GB, free: 4.934 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008665/0.1345, allocations: 422.4 kB / 0.4968 GB, free: 4.52 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002396/0.1369, allocations: 1.069 MB / 0.4979 GB, free: 3.402 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001201/0.1381, allocations: 0.5201 MB / 0.4984 GB, free: 2.875 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003967/0.1385, allocations: 245.5 kB / 0.4986 GB, free: 2.633 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.745e-05/0.1386, allocations: 12.38 kB / 0.4986 GB, free: 2.621 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.085e-05/0.1386, allocations: 50.81 kB / 0.4987 GB, free: 2.562 MB / 366.1 MB Notification: Performance of pre-optimization done (n=46): time 2.354e-06/0.1386, allocations: 0 / 0.4987 GB, free: 2.562 MB / 366.1 MB Notification: Performance of matching and sorting (n=46): time 0.004776/0.1434, allocations: 1.413 MB / 0.5 GB, free: 1.133 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/0.1434, allocations: 55.41 kB / 0.5001 GB, free: 1.066 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003779/0.1438, allocations: 269.8 kB / 0.5004 GB, free: 0.793 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.348e-05/0.1439, allocations: 37.7 kB / 0.5004 GB, free: 0.75 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/0.144, allocations: 161.1 kB / 0.5005 GB, free: 0.5898 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001534/0.1442, allocations: 166.6 kB / 0.5007 GB, free: 436 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001626/0.1443, allocations: 90.17 kB / 0.5008 GB, free: 340 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002292/0.1446, allocations: 350.7 kB / 0.5011 GB, free: 15.98 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004343/0.145, allocations: 272.9 kB / 0.5014 GB, free: 15.71 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004179/0.1454, allocations: 268.4 kB / 0.5016 GB, free: 15.45 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009299/0.1463, allocations: 0.5848 MB / 0.5022 GB, free: 14.86 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.1463, allocations: 0 / 0.5022 GB, free: 14.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.002481/0.1488, allocations: 1.015 MB / 0.5032 GB, free: 13.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.1488, allocations: 7.938 kB / 0.5032 GB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.1489, allocations: 0 / 0.5032 GB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00194/0.1508, allocations: 422.1 kB / 0.5036 GB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003146/0.1511, allocations: 71.91 kB / 0.5037 GB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007779/0.1589, allocations: 5.715 MB / 0.5093 GB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004256/0.1593, allocations: 39.67 kB / 0.5093 GB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.675e-05/0.1594, allocations: 19.98 kB / 0.5093 GB, free: 7.223 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 (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.0002571/0.1596, allocations: 157.8 kB / 0.5095 GB, free: 7.059 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.1597, allocations: 43.7 kB / 0.5095 GB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002553/0.1623, allocations: 0.9822 MB / 0.5105 GB, free: 6.012 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/0.1623, allocations: 11.98 kB / 0.5105 GB, free: 6 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.1623, allocations: 0 / 0.5105 GB, free: 6 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.1623, allocations: 4 kB / 0.5105 GB, free: 5.996 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006411/0.1629, allocations: 444.7 kB / 0.5109 GB, free: 5.516 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.1629, allocations: 0 / 0.5109 GB, free: 5.516 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002208/0.1632, allocations: 63.84 kB / 0.511 GB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001812/0.165, allocations: 422.1 kB / 0.5114 GB, free: 5.031 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.553e-05/0.165, allocations: 8 kB / 0.5114 GB, free: 5.023 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2194/0.3844, allocations: 5.653 MB / 0.5169 GB, free: 28.8 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.3844, allocations: 2.656 kB / 0.5169 GB, free: 28.8 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002117/0.3865, allocations: 1.006 MB / 0.5179 GB, free: 28.64 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.807e-05/0.3866, allocations: 46.28 kB / 0.5179 GB, free: 28.64 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.989e-05/0.3867, allocations: 6.688 kB / 0.5179 GB, free: 28.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003574/0.387, allocations: 28.91 kB / 0.518 GB, free: 28.64 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/0.3871, allocations: 44.25 kB / 0.518 GB, free: 28.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.425e-05/0.3872, allocations: 14.83 kB / 0.518 GB, free: 28.64 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002147/0.3874, allocations: 196.9 kB / 0.5182 GB, free: 28.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3874, allocations: 0.8125 kB / 0.5182 GB, free: 28.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005807/0.388, allocations: 164.9 kB / 0.5184 GB, free: 28.57 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.002319/0.3903, allocations: 1.574 MB / 0.5199 GB, free: 27.87 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001901/0.3922, allocations: 1.047 MB / 0.5209 GB, free: 27.53 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.3922, allocations: 3.25 kB / 0.5209 GB, free: 27.53 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001276/0.3935, allocations: 0.7384 MB / 0.5216 GB, free: 27.18 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004546/0.3939, allocations: 52.17 kB / 0.5217 GB, free: 27.17 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007934/0.4019, allocations: 4.699 MB / 0.5263 GB, free: 25.53 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002362/0.4021, allocations: 197.4 kB / 0.5265 GB, free: 25.44 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002063/0.4023, allocations: 50.38 kB / 0.5265 GB, free: 25.44 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001596/0.4025, allocations: 116.6 kB / 0.5266 GB, free: 25.36 MB / 382.1 MB Notification: Performance of SimCode: time 9.31e-07/0.4025, allocations: 0 / 0.5266 GB, free: 25.36 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05226/0.4547, allocations: 14.14 MB / 0.5404 GB, free: 20.84 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.19/13.64, allocations: 5.359 kB / 0.5404 GB, free: 20.84 MB / 382.1 MB " [Timeout remaining time 646] (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: 16.390104284044355] Failed to read output from testmodel.py, exit status != 0: 13.770263453945518 13.78880144 13.657533471 Calling exit ...