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.001243/0.001243, 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.001409/0.001409, 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.523/1.523, 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.04807/0.04807, allocations: 6.127 MB / 315.7 MB, free: 1.203 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.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.001523/0.001523, allocations: 49.48 kB / 439.2 MB, free: 40.69 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08871/0.09024, allocations: 54.98 MB / 494.2 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneProdLoadOneLineOneLineOneLoad): time 0.002149/0.09239, allocations: 1.541 MB / 495.8 MB, free: 8.965 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001443/0.09383, allocations: 1.622 MB / 497.4 MB, free: 7.328 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.535e-05/0.0939, allocations: 7.938 kB / 497.4 MB, free: 7.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002951/0.0942, allocations: 127.3 kB / 497.5 MB, free: 7.195 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000219/0.09442, allocations: 111.3 kB / 497.6 MB, free: 7.086 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001295/0.09571, allocations: 0.9882 MB / 498.6 MB, free: 6.094 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002607/0.09597, allocations: 242.9 kB / 498.8 MB, free: 5.855 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.0961, allocations: 64.52 kB / 498.9 MB, free: 5.789 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.545e-05/0.09618, allocations: 99.64 kB / 499 MB, free: 5.691 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001487/0.09633, allocations: 131.5 kB / 499.1 MB, free: 5.562 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.718e-05/0.09635, allocations: 20 kB / 499.2 MB, free: 5.543 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003036/0.09666, allocations: 239.8 kB / 499.4 MB, free: 5.309 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.284e-05/0.09669, allocations: 51.77 kB / 499.4 MB, free: 5.258 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.667e-05/0.09677, allocations: 119.5 kB / 499.6 MB, free: 5.141 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003951/0.09716, allocations: 430.5 kB / 500 MB, free: 4.719 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.09716, allocations: 0 / 500 MB, free: 4.719 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.09717, allocations: 0 / 500 MB, free: 4.719 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.001e-05/0.09718, allocations: 0 / 500 MB, free: 4.719 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0029/0.1001, allocations: 0.9076 MB / 0.4891 GB, free: 3.758 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.1001, allocations: 8.031 kB / 0.4892 GB, free: 3.75 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.083e-05/0.1002, allocations: 54.73 kB / 0.4892 GB, free: 3.688 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.477e-05/0.1002, allocations: 28.75 kB / 0.4892 GB, free: 3.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002402/0.1005, allocations: 252.6 kB / 0.4895 GB, free: 3.375 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.064e-05/0.1005, allocations: 28.14 kB / 0.4895 GB, free: 3.348 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.829e-05/0.1005, allocations: 16.38 kB / 0.4895 GB, free: 3.332 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003836/0.1009, allocations: 278.1 kB / 0.4898 GB, free: 3.055 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.1009, allocations: 7.875 kB / 0.4898 GB, free: 3.047 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.811e-05/0.101, allocations: 4 kB / 0.4898 GB, free: 3.043 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.101, allocations: 4 kB / 0.4898 GB, free: 3.039 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003722/0.1013, allocations: 291.4 kB / 0.4901 GB, free: 2.754 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00121/0.1025, allocations: 1.141 MB / 0.4912 GB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004422/0.103, allocations: 322.4 kB / 0.4915 GB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002068/0.1032, allocations: 165.3 kB / 0.4917 GB, free: 1 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.387e-05/0.1032, allocations: 11.97 kB / 0.4917 GB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.476e-05/0.1033, allocations: 42.56 kB / 0.4917 GB, free: 0.9375 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 1.353e-06/0.1033, allocations: 0 / 0.4917 GB, free: 0.9375 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.008669/0.1119, allocations: 1.556 MB / 0.4932 GB, free: 15.35 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.166e-05/0.112, allocations: 59.39 kB / 0.4933 GB, free: 15.28 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00021/0.1122, allocations: 165.2 kB / 0.4934 GB, free: 15.11 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.58e-05/0.1122, allocations: 33.7 kB / 0.4935 GB, free: 15.07 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.632e-05/0.1123, allocations: 121 kB / 0.4936 GB, free: 14.95 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001164/0.1124, allocations: 107 kB / 0.4937 GB, free: 14.84 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001338/0.1126, allocations: 65.69 kB / 0.4937 GB, free: 14.77 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.1127, allocations: 330.8 kB / 0.4941 GB, free: 14.44 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003223/0.1131, allocations: 171.9 kB / 0.4942 GB, free: 14.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000309/0.1134, allocations: 179.9 kB / 0.4944 GB, free: 14.1 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006596/0.114, allocations: 393.6 kB / 0.4948 GB, free: 13.71 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.114, allocations: 0 / 0.4948 GB, free: 13.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.005364/0.1194, allocations: 0.9928 MB / 0.4957 GB, free: 12.71 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.1194, allocations: 4 kB / 0.4957 GB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.1194, allocations: 3.984 kB / 0.4958 GB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005795/0.1252, allocations: 0.7302 MB / 0.4965 GB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001955/0.1254, allocations: 39.98 kB / 0.4965 GB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008284/0.1337, allocations: 3.653 MB / 0.5001 GB, free: 8.145 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003015/0.134, allocations: 23.78 kB / 0.5001 GB, free: 8.121 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.82e-05/0.134, allocations: 12 kB / 0.5001 GB, free: 8.109 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 (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.0002241/0.1343, allocations: 141.8 kB / 0.5002 GB, free: 7.961 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.623e-05/0.1343, allocations: 23.8 kB / 0.5003 GB, free: 7.938 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005427/0.1398, allocations: 1.015 MB / 0.5013 GB, free: 6.914 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/0.1398, allocations: 8 kB / 0.5013 GB, free: 6.906 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.1398, allocations: 0 / 0.5013 GB, free: 6.906 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.859e-06/0.1398, allocations: 7.984 kB / 0.5013 GB, free: 6.898 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005416/0.1403, allocations: 429.2 kB / 0.5017 GB, free: 6.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.1403, allocations: 0 / 0.5017 GB, free: 6.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001405/0.1405, allocations: 39.92 kB / 0.5017 GB, free: 6.391 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00572/0.1462, allocations: 0.7148 MB / 0.5024 GB, free: 5.672 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.294e-05/0.1462, allocations: 12 kB / 0.5024 GB, free: 5.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007743/0.154, allocations: 3.592 MB / 0.5059 GB, free: 1.926 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.154, allocations: 0 / 0.5059 GB, free: 1.926 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005285/0.1593, allocations: 1.057 MB / 0.507 GB, free: 0.8477 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.167e-05/0.1594, allocations: 104.8 kB / 0.5071 GB, free: 0.7266 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.531e-05/0.1594, allocations: 12 kB / 0.5071 GB, free: 0.7148 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002865/0.1597, allocations: 19.98 kB / 0.5071 GB, free: 0.6953 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/0.1598, allocations: 27.95 kB / 0.5071 GB, free: 0.668 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.433e-05/0.1598, allocations: 12 kB / 0.5071 GB, free: 0.6562 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001418/0.16, allocations: 128.3 kB / 0.5073 GB, free: 0.5312 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.16, allocations: 0 / 0.5073 GB, free: 0.5312 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005517/0.1605, allocations: 123.9 kB / 0.5074 GB, free: 420 kB / 366.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.005649/0.1662, allocations: 1.622 MB / 0.509 GB, free: 14.76 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001888/0.1681, allocations: 0.7206 MB / 0.5097 GB, free: 14.02 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.1681, allocations: 0 / 0.5097 GB, free: 14.02 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001331/0.1694, allocations: 0.4982 MB / 0.5102 GB, free: 13.51 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003646/0.1698, allocations: 35.92 kB / 0.5102 GB, free: 13.48 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01309/0.1829, allocations: 3.995 MB / 0.5141 GB, free: 9.402 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004658/0.1833, allocations: 0.745 MB / 0.5148 GB, free: 8.633 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001402/0.1835, allocations: 33.92 kB / 0.5148 GB, free: 8.598 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001227/0.1836, allocations: 71.41 kB / 0.5149 GB, free: 8.527 MB / 382.1 MB Notification: Performance of SimCode: time 1.252e-06/0.1836, allocations: 0 / 0.5149 GB, free: 8.527 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0442/0.2278, allocations: 11.99 MB / 0.5266 GB, free: 12.68 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.13/12.36, allocations: 5.719 kB / 0.5266 GB, free: 12.68 MB / 398.1 MB " [Timeout remaining time 648] (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: 15.261583690997213] Failed to read output from testmodel.py, exit status != 0: 12.455602690999513 12.478179682 12.377929609 Calling exit ...