Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneProdLoadOneLineOneLineOneLoad.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.001341/0.001341, 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.001579/0.001579, allocations: 219.1 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.462/1.462, allocations: 230.6 MB / 256.8 MB, free: 8.016 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.03619/0.03619, allocations: 6.147 MB / 319.4 MB, free: 12.8 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.OneProdLoadOneLineOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneProdLoadOneLineOneLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneProdLoadOneLineOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneProdLoadOneLineOneLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001574/0.001574, allocations: 51.91 kB / 444.4 MB, free: 5.172 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1053, allocations: 55.02 MB / 499.4 MB, free: 14.05 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneProdLoadOneLineOneLineOneLoad): time 0.002695/0.108, allocations: 1.397 MB / 0.4891 GB, free: 12.65 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002169/0.1102, allocations: 1.548 MB / 0.4906 GB, free: 11.09 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.351e-05/0.1103, allocations: 4 kB / 0.4906 GB, free: 11.09 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003543/0.1106, allocations: 119.3 kB / 0.4907 GB, free: 10.97 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002834/0.1109, allocations: 111.3 kB / 0.4908 GB, free: 10.86 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001811/0.1127, allocations: 0.9126 MB / 0.4917 GB, free: 9.945 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003771/0.1131, allocations: 246.8 kB / 0.492 GB, free: 9.703 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001533/0.1133, allocations: 52.5 kB / 0.492 GB, free: 9.648 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001172/0.1134, allocations: 103.6 kB / 0.4921 GB, free: 9.547 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002093/0.1136, allocations: 111.5 kB / 0.4922 GB, free: 9.438 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.918e-05/0.1136, allocations: 23.94 kB / 0.4922 GB, free: 9.414 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004467/0.1141, allocations: 231.7 kB / 0.4925 GB, free: 9.188 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.346e-05/0.1141, allocations: 47.83 kB / 0.4925 GB, free: 9.141 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001047/0.1142, allocations: 99.53 kB / 0.4926 GB, free: 9.043 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005767/0.1148, allocations: 418.7 kB / 0.493 GB, free: 8.633 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1148, allocations: 0 / 0.493 GB, free: 8.633 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1148, allocations: 0 / 0.493 GB, free: 8.633 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.1148, allocations: 3.938 kB / 0.493 GB, free: 8.629 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.003196/0.118, allocations: 0.8323 MB / 0.4938 GB, free: 7.762 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.1181, allocations: 12.02 kB / 0.4938 GB, free: 7.75 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.749e-05/0.1181, allocations: 58.72 kB / 0.4939 GB, free: 7.684 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.099e-05/0.1182, allocations: 24.8 kB / 0.4939 GB, free: 7.66 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003259/0.1185, allocations: 202.1 kB / 0.4941 GB, free: 7.438 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.493e-05/0.1186, allocations: 16.16 kB / 0.4941 GB, free: 7.422 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.578e-05/0.1186, allocations: 28.38 kB / 0.4942 GB, free: 7.395 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005689/0.1192, allocations: 428.3 kB / 0.4946 GB, free: 6.934 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/0.1192, allocations: 7.938 kB / 0.4946 GB, free: 6.926 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.634e-05/0.1192, allocations: 4 kB / 0.4946 GB, free: 6.922 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.1192, allocations: 4 kB / 0.4946 GB, free: 6.918 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004529/0.1197, allocations: 295.7 kB / 0.4949 GB, free: 6.629 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001468/0.1211, allocations: 0.7296 MB / 0.4956 GB, free: 5.855 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000559/0.1217, allocations: 318.4 kB / 0.4959 GB, free: 5.535 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000264/0.122, allocations: 169.3 kB / 0.496 GB, free: 5.367 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.396e-05/0.122, allocations: 4 kB / 0.496 GB, free: 5.363 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/0.1221, allocations: 46.56 kB / 0.4961 GB, free: 5.309 MB / 366.1 MB Notification: Performance of pre-optimization done (n=30): time 1.653e-06/0.1221, allocations: 0 / 0.4961 GB, free: 5.309 MB / 366.1 MB Notification: Performance of matching and sorting (n=30): time 0.0086/0.1307, allocations: 1.496 MB / 0.4975 GB, free: 3.801 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.286e-05/0.1307, allocations: 55.41 kB / 0.4976 GB, free: 3.734 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002686/0.131, allocations: 175 kB / 0.4978 GB, free: 3.555 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.92e-05/0.1311, allocations: 33.7 kB / 0.4978 GB, free: 3.516 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.532e-05/0.1312, allocations: 121 kB / 0.4979 GB, free: 3.395 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001224/0.1313, allocations: 107.1 kB / 0.498 GB, free: 3.289 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001306/0.1314, allocations: 65.69 kB / 0.4981 GB, free: 3.219 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.1316, allocations: 330.8 kB / 0.4984 GB, free: 2.887 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000317/0.1319, allocations: 168 kB / 0.4986 GB, free: 2.723 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002928/0.1322, allocations: 180.3 kB / 0.4987 GB, free: 2.547 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006191/0.1328, allocations: 392.6 kB / 0.4991 GB, free: 2.16 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.1328, allocations: 0 / 0.4991 GB, free: 2.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.00504/0.1378, allocations: 1.009 MB / 0.5001 GB, free: 1.141 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.904e-05/0.1379, allocations: 4 kB / 0.5001 GB, free: 1.137 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.1379, allocations: 7.969 kB / 0.5001 GB, free: 1.129 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005492/0.1434, allocations: 0.7226 MB / 0.5008 GB, free: 412 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002292/0.1436, allocations: 39.92 kB / 0.5008 GB, free: 372 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007835/0.1514, allocations: 3.468 MB / 0.5042 GB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000271/0.1517, allocations: 23.84 kB / 0.5042 GB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.039e-05/0.1517, allocations: 8 kB / 0.5043 GB, free: 12.76 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 (25): * Single equations (assignments): 24 * 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 {(8,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001681/0.1519, allocations: 133.8 kB / 0.5044 GB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.033e-05/0.152, allocations: 27.8 kB / 0.5044 GB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005125/0.1571, allocations: 1.036 MB / 0.5054 GB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.1571, allocations: 7.938 kB / 0.5054 GB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.1571, allocations: 0 / 0.5054 GB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.1571, allocations: 0 / 0.5054 GB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004797/0.1576, allocations: 332.5 kB / 0.5057 GB, free: 11.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.1576, allocations: 0 / 0.5057 GB, free: 11.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001345/0.1577, allocations: 39.92 kB / 0.5058 GB, free: 11.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005362/0.1631, allocations: 0.7187 MB / 0.5065 GB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.84e-05/0.1631, allocations: 8 kB / 0.5065 GB, free: 10.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007264/0.1704, allocations: 3.403 MB / 0.5098 GB, free: 6.883 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.1704, allocations: 0 / 0.5098 GB, free: 6.883 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005114/0.1755, allocations: 1.069 MB / 0.5109 GB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.099e-05/0.1756, allocations: 19.8 kB / 0.5109 GB, free: 5.773 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.853e-05/0.1756, allocations: 12 kB / 0.5109 GB, free: 5.762 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002735/0.1759, allocations: 23.2 kB / 0.5109 GB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/0.176, allocations: 31.94 kB / 0.5109 GB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.178e-05/0.1761, allocations: 12 kB / 0.511 GB, free: 5.699 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001424/0.1762, allocations: 131.2 kB / 0.5111 GB, free: 5.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1762, allocations: 0 / 0.5111 GB, free: 5.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005471/0.1768, allocations: 119.9 kB / 0.5112 GB, free: 5.453 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 (23): * Single equations (assignments): 22 * 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 {(8,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005521/0.1823, allocations: 1.635 MB / 0.5128 GB, free: 3.789 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001852/0.1841, allocations: 0.7128 MB / 0.5135 GB, free: 3.062 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.1841, allocations: 4 kB / 0.5135 GB, free: 3.059 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00132/0.1854, allocations: 0.5022 MB / 0.514 GB, free: 2.543 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003598/0.1858, allocations: 27.98 kB / 0.514 GB, free: 2.516 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2095/0.3953, allocations: 3.993 MB / 0.5179 GB, free: 29.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001195/0.3954, allocations: 137.6 kB / 0.518 GB, free: 29.35 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001216/0.3955, allocations: 27.44 kB / 0.5181 GB, free: 29.34 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.66e-05/0.3956, allocations: 67.12 kB / 0.5181 GB, free: 29.34 MB / 382.1 MB Notification: Performance of SimCode: time 7.31e-07/0.3956, allocations: 0 / 0.5181 GB, free: 29.34 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04783/0.4434, allocations: 12.44 MB / 0.5303 GB, free: 26.46 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.27/13.71, allocations: 14.39 kB / 0.5303 GB, free: 26.45 MB / 382.1 MB " [Timeout remaining time 646] (rm -f PowerSysPro_PowerSysPro.Examples.OneProdLoadOneLineOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneProdLoadOneLineOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneProdLoadOneLineOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneProdLoadOneLineOneLineOneLoad.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneProdLoadOneLineOneLineOneLoad_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_OneProdLoadOneLineOneLineOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneProdLoadOneLineOneLineOneLoad.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.40912800701335] Failed to read output from testmodel.py, exit status != 0: 13.839729462750256 13.852899919 13.735704079 Calling exit ...